mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 17:34:05 +00:00
Add LegoGameState::Area enum (#552)
* Add area enum * Fix * Fix * Fix * empty
This commit is contained in:
committed by
GitHub
parent
0463d48540
commit
c8930815c5
@@ -13,7 +13,7 @@ DECOMP_SIZE_ASSERT(Police, 0x110)
|
||||
Police::Police()
|
||||
{
|
||||
m_policeState = NULL;
|
||||
m_transitionDestination = 0;
|
||||
m_transitionDestination = LegoGameState::e_noArea;
|
||||
NotificationManager()->Register(this);
|
||||
}
|
||||
|
||||
@@ -54,8 +54,8 @@ MxResult Police::Create(MxDSAction& p_dsAction)
|
||||
}
|
||||
|
||||
m_policeState = policeState;
|
||||
GameState()->SetCurrentArea(0x22);
|
||||
GameState()->StopArea();
|
||||
GameState()->SetCurrentArea(LegoGameState::e_police);
|
||||
GameState()->StopArea(LegoGameState::e_previousArea);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -151,6 +151,6 @@ void Police::Enable(MxBool p_enable)
|
||||
MxBool Police::VTable0x64()
|
||||
{
|
||||
DeleteObjects(&m_atom, 500, 510);
|
||||
m_transitionDestination = 2;
|
||||
m_transitionDestination = LegoGameState::e_infomain;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user