mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
fixes
This commit is contained in:
parent
526318a057
commit
3a25e1ee6b
@ -14,10 +14,10 @@
|
|||||||
#include "mxtransitionmanager.h"
|
#include "mxtransitionmanager.h"
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x100f7698
|
// GLOBAL: LEGO1 0x100f7698
|
||||||
const char* g_2x4red = "2x4red";
|
const char* g_object2x4red = "2x4red";
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x100f76a4
|
// GLOBAL: LEGO1 0x100f76a4
|
||||||
const char* g_2x4grn = "2x4grn";
|
const char* g_object2x4grn = "2x4grn";
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(Infocenter, 0x1d8)
|
DECOMP_SIZE_ASSERT(Infocenter, 0x1d8)
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ MxLong Infocenter::Notify(MxParam& p_param)
|
|||||||
case c_notificationEndAction:
|
case c_notificationEndAction:
|
||||||
return HandleEndAction(p_param);
|
return HandleEndAction(p_param);
|
||||||
case c_notificationKeyPress:
|
case c_notificationKeyPress:
|
||||||
return (MxU8)HandleKeyPress(((LegoEventNotificationParam&) p_param).GetKey());
|
return (MxU8) HandleKeyPress(((LegoEventNotificationParam&) p_param).GetKey());
|
||||||
case c_notificationButtonUp:
|
case c_notificationButtonUp:
|
||||||
return HandleButtonUp(
|
return HandleButtonUp(
|
||||||
((LegoEventNotificationParam&) p_param).GetX(),
|
((LegoEventNotificationParam&) p_param).GetX(),
|
||||||
@ -228,8 +228,8 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
|||||||
m_currentCutScene = -1;
|
m_currentCutScene = -1;
|
||||||
return 1;
|
return 1;
|
||||||
case 2:
|
case 2:
|
||||||
FUN_10015860(g_2x4red, 0);
|
FUN_10015860(g_object2x4red, 0);
|
||||||
FUN_10015860(g_2x4grn, 0);
|
FUN_10015860(g_object2x4grn, 0);
|
||||||
BackgroundAudioManager()->RaiseVolume();
|
BackgroundAudioManager()->RaiseVolume();
|
||||||
return 1;
|
return 1;
|
||||||
case 4:
|
case 4:
|
||||||
@ -270,7 +270,7 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006f4e0
|
// STUB: LEGO1 0x1006f4e0
|
||||||
void Infocenter::VTable0x50()
|
void Infocenter::VTable0x50()
|
||||||
{
|
{
|
||||||
m_unk0x1d0 = 0;
|
m_unk0x1d0 = 0;
|
||||||
@ -283,7 +283,7 @@ void Infocenter::VTable0x50()
|
|||||||
|
|
||||||
switch (GameState()->GetUnknown10()) {
|
switch (GameState()->GetUnknown10()) {
|
||||||
case 0:
|
case 0:
|
||||||
// bg->Enable(1);
|
//bg->Enable(1); // TODO: Uncomment once LegoWorld::FindPresenter and LegoWorld::VTable0x58 are implemented.
|
||||||
InitializeBitmaps();
|
InitializeBitmaps();
|
||||||
switch (m_infocenterState->GetUnknown0x74()) {
|
switch (m_infocenterState->GetUnknown0x74()) {
|
||||||
case 3:
|
case 3:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user