mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
add jukeboxscript enum
This commit is contained in:
parent
9a3df8d9f8
commit
b43c91d7df
@ -25,6 +25,90 @@ class JukeBox : public LegoWorld {
|
|||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1005d810
|
// SYNTHETIC: LEGO1 0x1005d810
|
||||||
// JukeBox::`scalar deleting destructor'
|
// JukeBox::`scalar deleting destructor'
|
||||||
|
public:
|
||||||
|
enum JukeBoxScript {
|
||||||
|
e_mamaPapaBrickolini,
|
||||||
|
e_jailUnused,
|
||||||
|
e_act2Cave,
|
||||||
|
e_bricksterChase,
|
||||||
|
e_brickHunt,
|
||||||
|
e_residentialArea,
|
||||||
|
e_beachBlvd,
|
||||||
|
e_cave,
|
||||||
|
e_centralRoads,
|
||||||
|
e_jail,
|
||||||
|
e_hospital,
|
||||||
|
e_informationCenter,
|
||||||
|
e_policeStation,
|
||||||
|
e_park,
|
||||||
|
e_centralNorthRoad,
|
||||||
|
e_garageArea,
|
||||||
|
e_raceTrack,
|
||||||
|
e_beach,
|
||||||
|
e_quietChirping,
|
||||||
|
e_jetskiRace,
|
||||||
|
e_act3Pursuit,
|
||||||
|
|
||||||
|
e_legoRadioReminder1,
|
||||||
|
e_legoRadioJingle1,
|
||||||
|
e_legoRadioJingle2,
|
||||||
|
e_legoRadioJingle3,
|
||||||
|
e_legoRadioJingle4,
|
||||||
|
e_legoRadioReminder2,
|
||||||
|
|
||||||
|
e_legoRadioRacingAd,
|
||||||
|
|
||||||
|
e_legoRadioNews1,
|
||||||
|
e_legoRadioNews2,
|
||||||
|
|
||||||
|
e_legoRadioPizzaAd1,
|
||||||
|
|
||||||
|
e_legoRadioBricksterPSA,
|
||||||
|
|
||||||
|
e_legoRadioSports1,
|
||||||
|
|
||||||
|
e_legoRadioIntermission1,
|
||||||
|
e_legoRadioIntermission2,
|
||||||
|
|
||||||
|
e_legoRadioPizzaAd2,
|
||||||
|
|
||||||
|
e_legoRadioWeatherReport,
|
||||||
|
|
||||||
|
e_legoRadioSports2,
|
||||||
|
|
||||||
|
e_legoRadioPizzaAd3,
|
||||||
|
|
||||||
|
e_legoRadioIntermission3,
|
||||||
|
|
||||||
|
e_legoRadioSuperStoreAd,
|
||||||
|
|
||||||
|
e_legoRadioLuckyYou,
|
||||||
|
e_legoRadioJazzInterlude,
|
||||||
|
e_legoRadioPianoInterlude1,
|
||||||
|
e_legoRadioPoliceStation,
|
||||||
|
e_legoRadioPianoInterlude2,
|
||||||
|
e_legoRadioCredits,
|
||||||
|
|
||||||
|
e_helicopterBuild,
|
||||||
|
e_padding1,
|
||||||
|
e_duneBuggyBuild,
|
||||||
|
e_padding2,
|
||||||
|
e_jetskiBuild,
|
||||||
|
e_padding3,
|
||||||
|
e_raceCarBuild,
|
||||||
|
e_padding4,
|
||||||
|
|
||||||
|
e_jukeBoxMamaPapaBrickolini,
|
||||||
|
e_jukeBoxBrickByBrick,
|
||||||
|
e_jukeBoxTheBrickster,
|
||||||
|
e_jukeBoxBuildMeABridgeToday,
|
||||||
|
e_jukeBoxBaroqueInBrick,
|
||||||
|
e_jukeBoxMantaRay,
|
||||||
|
|
||||||
|
e_observationDeck,
|
||||||
|
e_elevator,
|
||||||
|
e_pizzaMission,
|
||||||
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
undefined m_unk0xf8[4]; // 0xf8
|
undefined m_unk0xf8[4]; // 0xf8
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
#include "infocenter.h"
|
#include "infocenter.h"
|
||||||
|
|
||||||
#include "infocenterstate.h"
|
#include "infocenterstate.h"
|
||||||
|
#include "jukebox.h"
|
||||||
#include "legocontrolmanager.h"
|
#include "legocontrolmanager.h"
|
||||||
#include "legogamestate.h"
|
#include "legogamestate.h"
|
||||||
#include "legoinputmanager.h"
|
#include "legoinputmanager.h"
|
||||||
@ -165,7 +166,7 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!m_unk0x1d4) {
|
if (!m_unk0x1d4) {
|
||||||
PlayMusic(11);
|
PlayMusic(JukeBox::e_informationCenter);
|
||||||
GameState()->FUN_10039780(m_unk0xfc);
|
GameState()->FUN_10039780(m_unk0xfc);
|
||||||
|
|
||||||
switch (m_unk0xfc) {
|
switch (m_unk0xfc) {
|
||||||
@ -279,7 +280,7 @@ MxLong Infocenter::HandleEndAction(MxParam& p_param)
|
|||||||
m_currentInfomainScript != 41 && m_currentInfomainScript != 42 && m_currentInfomainScript != 43 &&
|
m_currentInfomainScript != 41 && m_currentInfomainScript != 42 && m_currentInfomainScript != 43 &&
|
||||||
m_currentInfomainScript != 44) {
|
m_currentInfomainScript != 44) {
|
||||||
m_infoManDialogueTimer = 1;
|
m_infoManDialogueTimer = 1;
|
||||||
PlayMusic(11);
|
PlayMusic(JukeBox::e_informationCenter);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_infocenterState->SetUnknown0x74(2);
|
m_infocenterState->SetUnknown0x74(2);
|
||||||
@ -323,15 +324,15 @@ void Infocenter::VTable0x50()
|
|||||||
}
|
}
|
||||||
|
|
||||||
PlayAction(c_letsGetStartedDialogue);
|
PlayAction(c_letsGetStartedDialogue);
|
||||||
PlayMusic(11);
|
PlayMusic(JukeBox::e_informationCenter);
|
||||||
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
PlayMusic(11);
|
PlayMusic(JukeBox::e_informationCenter);
|
||||||
// TODO
|
// TODO
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
PlayMusic(11);
|
PlayMusic(JukeBox::e_informationCenter);
|
||||||
PlayAction(c_exitConfirmationDialogue);
|
PlayAction(c_exitConfirmationDialogue);
|
||||||
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
||||||
return;
|
return;
|
||||||
@ -341,7 +342,7 @@ void Infocenter::VTable0x50()
|
|||||||
}
|
}
|
||||||
|
|
||||||
PlayAction(c_clickOnInfomanDialogue);
|
PlayAction(c_clickOnInfomanDialogue);
|
||||||
PlayMusic(11);
|
PlayMusic(JukeBox::e_informationCenter);
|
||||||
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user