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