mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Finish LegoVariables class (#698)
* Finish LegoVariables class * Update legonavcontroller.cpp * Update legobackgroundcolor.cpp * Match functions, style, refactor visible * Use MxBool * Merge/fix --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -296,8 +296,8 @@ MxLong Infocenter::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
m_currentCutscene = e_noIntro;
|
||||
return 1;
|
||||
case 2:
|
||||
SetROIUnknown0x0c(g_object2x4red, 0);
|
||||
SetROIUnknown0x0c(g_object2x4grn, 0);
|
||||
SetROIVisible(g_object2x4red, FALSE);
|
||||
SetROIVisible(g_object2x4grn, FALSE);
|
||||
BackgroundAudioManager()->RaiseVolume();
|
||||
return 1;
|
||||
case 4:
|
||||
@@ -329,7 +329,7 @@ MxLong Infocenter::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||
}
|
||||
|
||||
m_infocenterState->SetUnknown0x74(2);
|
||||
SetROIUnknown0x0c("infoman", 1);
|
||||
SetROIVisible("infoman", TRUE);
|
||||
return 1;
|
||||
case 12:
|
||||
if (action->GetObjectId() == m_currentInfomainScript) {
|
||||
@@ -1067,15 +1067,15 @@ MxLong Infocenter::HandleNotification0(MxNotificationParam& p_param)
|
||||
}
|
||||
|
||||
PlayAction(objectId);
|
||||
SetROIUnknown0x0c(g_object2x4red, 0);
|
||||
SetROIUnknown0x0c(g_object2x4grn, 0);
|
||||
SetROIVisible(g_object2x4red, FALSE);
|
||||
SetROIVisible(g_object2x4grn, FALSE);
|
||||
return 1;
|
||||
}
|
||||
case 6:
|
||||
if (m_infocenterState->GetUnknown0x74() == 8) {
|
||||
StopCurrentAction();
|
||||
SetROIUnknown0x0c(g_object2x4red, 0);
|
||||
SetROIUnknown0x0c(g_object2x4grn, 0);
|
||||
SetROIVisible(g_object2x4red, FALSE);
|
||||
SetROIVisible(g_object2x4grn, FALSE);
|
||||
m_infocenterState->SetUnknown0x74(2);
|
||||
PlayAction(InfomainScript::c_iicb28in_RunAnim);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user