Implement/match Isle::Enable (#681)

* Implement/match Isle::Enable

* Fix order
This commit is contained in:
Christian Semmler
2024-03-16 14:20:44 -04:00
committed by GitHub
parent 70e8796af3
commit 0a4db65b24
24 changed files with 553 additions and 91 deletions

View File

@@ -60,6 +60,12 @@ MxU32 Ambulance::VTable0xcc()
return 0;
}
// STUB: LEGO1 0x10036e60
void Ambulance::FUN_10036e60()
{
// TODO
}
// STUB: LEGO1 0x10036e90
void Ambulance::VTable0xe4()
{

View File

@@ -114,7 +114,7 @@ MxU32 Helicopter::VTable0xcc()
m_script = *g_isleScript;
AnimationManager()->FUN_10064670(FALSE);
VTable0xe8(0x29, TRUE, 7);
((Isle*) CurrentWorld())->SetUnknown13c(0x3c);
((Isle*) CurrentWorld())->SetUnknown13c(LegoGameState::e_unk60);
FUN_10015820(TRUE, 0);
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, TRUE);
SetUnknownDC(4);
@@ -229,7 +229,7 @@ MxU32 Helicopter::VTable0xd4(LegoControlManagerEvent& p_param)
break;
case 0x1c:
if (GameState()->GetCurrentAct() == LegoGameState::e_act1) {
((Isle*) CurrentWorld())->SetUnknown13c(2);
((Isle*) CurrentWorld())->SetUnknown13c(LegoGameState::e_infomain);
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
VTable0xe4();
}

View File

@@ -36,7 +36,7 @@ MxLong JukeBoxEntity::Notify(MxParam& p_param)
CurrentActor()->VTable0xe4();
}
((Isle*) FindWorld(*g_isleScript, 0))->SetUnknown13c(0x35);
((Isle*) FindWorld(*g_isleScript, 0))->SetUnknown13c(LegoGameState::e_jukeboxw);
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
return 1;
}

View File

@@ -69,3 +69,9 @@ MxU32 TowTrack::VTable0xd4(LegoControlManagerEvent& p_param)
// TODO
return 0;
}
// STUB: LEGO1 0x1004dab0
void TowTrack::FUN_1004dab0()
{
// TODO
}