mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 02:23:56 +00:00
Name all referenced areas (#1747)
This commit is contained in:
parent
1132fd541f
commit
a6ee94b680
@ -107,21 +107,21 @@ class LegoGameState {
|
|||||||
e_jetskibuild,
|
e_jetskibuild,
|
||||||
e_racecarbuild,
|
e_racecarbuild,
|
||||||
e_helicopterSpawn,
|
e_helicopterSpawn,
|
||||||
e_unk41,
|
e_helicopterLanded,
|
||||||
e_unk42,
|
e_helicopterTakenOff,
|
||||||
e_dunebuggySpawn,
|
e_dunebuggySpawn,
|
||||||
e_racecarSpawn,
|
e_racecarSpawn,
|
||||||
e_jetskiSpawn,
|
e_jetskiSpawn,
|
||||||
e_act2main,
|
e_act2main,
|
||||||
e_act3script,
|
e_act3script,
|
||||||
e_unk48,
|
e_helicopterLandedAct3,
|
||||||
e_unk49,
|
e_helicopterTakenOffAct3,
|
||||||
e_unk50,
|
e_pepperSpawnAct2,
|
||||||
e_unk51,
|
e_unk51,
|
||||||
e_towTrackHookedUp,
|
e_towTrackHookedUp,
|
||||||
e_jukeboxw,
|
e_jukeboxw,
|
||||||
e_jukeboxExterior,
|
e_jukeboxExterior,
|
||||||
e_unk55,
|
e_helicopterExited,
|
||||||
e_histbook,
|
e_histbook,
|
||||||
e_bike,
|
e_bike,
|
||||||
e_dunecar,
|
e_dunecar,
|
||||||
|
|||||||
@ -95,7 +95,7 @@ void Helicopter::Exit()
|
|||||||
if (UserActor() && UserActor()->IsA("IslePathActor")) {
|
if (UserActor() && UserActor()->IsA("IslePathActor")) {
|
||||||
((IslePathActor*) UserActor())
|
((IslePathActor*) UserActor())
|
||||||
->SpawnPlayer(
|
->SpawnPlayer(
|
||||||
LegoGameState::e_unk55,
|
LegoGameState::e_helicopterExited,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
@ -143,7 +143,7 @@ MxLong Helicopter::HandleClick()
|
|||||||
m_script = *g_isleScript;
|
m_script = *g_isleScript;
|
||||||
AnimationManager()->FUN_10064670(NULL);
|
AnimationManager()->FUN_10064670(NULL);
|
||||||
SpawnPlayer(
|
SpawnPlayer(
|
||||||
LegoGameState::e_unk41,
|
LegoGameState::e_helicopterLanded,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
@ -320,14 +320,14 @@ MxLong Helicopter::HandleEndAnim(LegoEndAnimNotificationParam& p_param)
|
|||||||
assert(act1State);
|
assert(act1State);
|
||||||
act1State->m_state = Act1State::e_helicopter;
|
act1State->m_state = Act1State::e_helicopter;
|
||||||
SpawnPlayer(
|
SpawnPlayer(
|
||||||
LegoGameState::e_unk42,
|
LegoGameState::e_helicopterTakenOff,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SpawnPlayer(
|
SpawnPlayer(
|
||||||
LegoGameState::e_unk49,
|
LegoGameState::e_helicopterTakenOffAct3,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
@ -361,14 +361,14 @@ MxLong Helicopter::HandleEndAnim(LegoEndAnimNotificationParam& p_param)
|
|||||||
assert(act1State);
|
assert(act1State);
|
||||||
act1State->m_state = Act1State::e_none;
|
act1State->m_state = Act1State::e_none;
|
||||||
SpawnPlayer(
|
SpawnPlayer(
|
||||||
LegoGameState::e_unk41,
|
LegoGameState::e_helicopterLanded,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SpawnPlayer(
|
SpawnPlayer(
|
||||||
LegoGameState::e_unk48,
|
LegoGameState::e_helicopterLandedAct3,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
|
|||||||
@ -367,7 +367,7 @@ void IslePathActor::RegisterSpawnLocations()
|
|||||||
JukeboxScript::c_noneJukebox
|
JukeboxScript::c_noneJukebox
|
||||||
);
|
);
|
||||||
g_spawnLocations[17] = SpawnLocation(
|
g_spawnLocations[17] = SpawnLocation(
|
||||||
LegoGameState::e_unk41,
|
LegoGameState::e_helicopterLanded,
|
||||||
g_isleScript,
|
g_isleScript,
|
||||||
0,
|
0,
|
||||||
"edg02_51",
|
"edg02_51",
|
||||||
@ -415,7 +415,7 @@ void IslePathActor::RegisterSpawnLocations()
|
|||||||
JukeboxScript::c_noneJukebox
|
JukeboxScript::c_noneJukebox
|
||||||
);
|
);
|
||||||
g_spawnLocations[21] = SpawnLocation(
|
g_spawnLocations[21] = SpawnLocation(
|
||||||
LegoGameState::e_unk42,
|
LegoGameState::e_helicopterTakenOff,
|
||||||
g_isleScript,
|
g_isleScript,
|
||||||
0,
|
0,
|
||||||
"inv_05",
|
"inv_05",
|
||||||
@ -427,7 +427,7 @@ void IslePathActor::RegisterSpawnLocations()
|
|||||||
JukeboxScript::c_noneJukebox
|
JukeboxScript::c_noneJukebox
|
||||||
);
|
);
|
||||||
g_spawnLocations[22] = SpawnLocation(
|
g_spawnLocations[22] = SpawnLocation(
|
||||||
LegoGameState::e_unk48,
|
LegoGameState::e_helicopterLandedAct3,
|
||||||
g_act3Script,
|
g_act3Script,
|
||||||
0,
|
0,
|
||||||
"edg02_51",
|
"edg02_51",
|
||||||
@ -439,7 +439,7 @@ void IslePathActor::RegisterSpawnLocations()
|
|||||||
JukeboxScript::c_noneJukebox
|
JukeboxScript::c_noneJukebox
|
||||||
);
|
);
|
||||||
g_spawnLocations[23] = SpawnLocation(
|
g_spawnLocations[23] = SpawnLocation(
|
||||||
LegoGameState::e_unk49,
|
LegoGameState::e_helicopterTakenOffAct3,
|
||||||
g_act3Script,
|
g_act3Script,
|
||||||
0,
|
0,
|
||||||
"inv_05",
|
"inv_05",
|
||||||
@ -451,7 +451,7 @@ void IslePathActor::RegisterSpawnLocations()
|
|||||||
JukeboxScript::c_noneJukebox
|
JukeboxScript::c_noneJukebox
|
||||||
);
|
);
|
||||||
g_spawnLocations[24] = SpawnLocation(
|
g_spawnLocations[24] = SpawnLocation(
|
||||||
LegoGameState::e_unk50,
|
LegoGameState::e_pepperSpawnAct2,
|
||||||
g_act2mainScript,
|
g_act2mainScript,
|
||||||
0,
|
0,
|
||||||
"EDG02_51",
|
"EDG02_51",
|
||||||
@ -499,7 +499,7 @@ void IslePathActor::RegisterSpawnLocations()
|
|||||||
JukeboxScript::c_noneJukebox
|
JukeboxScript::c_noneJukebox
|
||||||
);
|
);
|
||||||
g_spawnLocations[28] = SpawnLocation(
|
g_spawnLocations[28] = SpawnLocation(
|
||||||
LegoGameState::e_unk55,
|
LegoGameState::e_helicopterExited,
|
||||||
g_isleScript,
|
g_isleScript,
|
||||||
0,
|
0,
|
||||||
"edg02_50",
|
"edg02_50",
|
||||||
|
|||||||
@ -488,7 +488,7 @@ void LegoAct2::ReadyWorld()
|
|||||||
m_pepper = FindROI("pepper");
|
m_pepper = FindROI("pepper");
|
||||||
IslePathActor* pepper = (IslePathActor*) m_pepper->GetEntity();
|
IslePathActor* pepper = (IslePathActor*) m_pepper->GetEntity();
|
||||||
pepper->SpawnPlayer(
|
pepper->SpawnPlayer(
|
||||||
LegoGameState::e_unk50,
|
LegoGameState::e_pepperSpawnAct2,
|
||||||
TRUE,
|
TRUE,
|
||||||
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
IslePathActor::c_spawnBit1 | IslePathActor::c_playMusic | IslePathActor::c_spawnBit3
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user