mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
Refactor JukeBox, add enum for music (#988)
* Refactor JukeBox, add enum for music * add BETA annotation * Fix BETA annotation * Fix BETA annotation * Fix
This commit is contained in:
committed by
GitHub
parent
828b35e9d2
commit
73bb37596e
@@ -124,7 +124,7 @@ LegoGameState::LegoGameState()
|
||||
m_actorId = 0;
|
||||
m_savePath = NULL;
|
||||
m_stateArray = NULL;
|
||||
m_unk0x41c = JukeboxScript::c_noneJukebox;
|
||||
m_jukeboxMusic = JukeboxScript::c_noneJukebox;
|
||||
m_currentArea = e_undefined;
|
||||
m_previousArea = e_undefined;
|
||||
m_unk0x42c = e_undefined;
|
||||
@@ -982,7 +982,7 @@ void LegoGameState::SwitchArea(Area p_area)
|
||||
VideoManager()->SetUnk0x554(TRUE);
|
||||
InvokeAction(Extra::ActionType::e_opendisk, *g_jukeboxwScript, JukeboxwScript::c__StartUp, NULL);
|
||||
break;
|
||||
case e_unk54:
|
||||
case e_jukeboxExterior:
|
||||
LoadIsle();
|
||||
break;
|
||||
case e_histbook:
|
||||
|
||||
@@ -437,7 +437,7 @@ MxBool RemoveFromWorld(MxAtomId& p_entityAtom, MxS32 p_entityId, MxAtomId& p_wor
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1003ef00
|
||||
void FUN_1003ef00(MxBool p_enable)
|
||||
void EnableAnimations(MxBool p_enable)
|
||||
{
|
||||
if (p_enable) {
|
||||
AnimationManager()->Resume();
|
||||
|
||||
Reference in New Issue
Block a user