mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-14 08:37:38 +00:00
WIP
This commit is contained in:
parent
eaa99c9d06
commit
2de23b94ad
@ -100,7 +100,7 @@ class Act1State : public LegoState {
|
||||
undefined m_unk0x012; // 0x012
|
||||
MxS32 m_unk0x014; // 0x014
|
||||
MxU32 m_unk0x018; // 0x018
|
||||
MxU16 m_elevFloor; // 0x01c
|
||||
MxS16 m_elevFloor; // 0x01c
|
||||
undefined m_unk0x01e; // 0x01e
|
||||
MxBool m_unk0x01f; // 0x01f
|
||||
MxBool m_planeActive; // 0x020
|
||||
|
||||
@ -194,10 +194,7 @@ void Isle::ReadyWorld()
|
||||
// FUNCTION: LEGO1 0x10031030
|
||||
MxLong Isle::HandleClick(LegoControlManagerEvent& p_param)
|
||||
{
|
||||
if (p_param.GetUnknown0x28() != 1) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (p_param.GetUnknown0x28() == 1) {
|
||||
MxDSAction action;
|
||||
|
||||
switch (p_param.GetClickedObjectId()) {
|
||||
@ -231,6 +228,7 @@ MxLong Isle::HandleClick(LegoControlManagerEvent& p_param)
|
||||
break;
|
||||
case Act1State::c_floor2:
|
||||
InvokeAction(Extra::e_start, *g_isleScript, IsleScript::c_Floor2, NULL);
|
||||
m_act1state->m_unk0x01e = 1;
|
||||
break;
|
||||
case Act1State::c_floor3:
|
||||
InvokeAction(Extra::e_start, *g_isleScript, IsleScript::c_Elev3_2_Ride, NULL);
|
||||
@ -362,6 +360,7 @@ MxLong Isle::HandleClick(LegoControlManagerEvent& p_param)
|
||||
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user