mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Remove ResetHub; as it's almost certainly going to be made obsolete with the new scripts and save game rework.
This commit is contained in:
parent
25e92b6dbd
commit
9df901ec1f
3 changed files with 5 additions and 8 deletions
|
@ -86,15 +86,13 @@ e.g. `myLevel.laraType = LaraType.DIVESUIT`
|
|||
@mem laraType*/
|
||||
"laraType", &GameScriptLevel::LaraType,
|
||||
|
||||
/// (bool) todo
|
||||
/// (bool) If true, an occasional screen shake effect (as seen in TRC's Sinking Submarine) will
|
||||
// happen throughout the level.
|
||||
//@mem rumble
|
||||
"rumble", &GameScriptLevel::Rumble,
|
||||
|
||||
/// (bool) todo
|
||||
//@mem resetHub
|
||||
"resetHub", &GameScriptLevel::ResetHub,
|
||||
|
||||
/// (Mirror) todo
|
||||
/// (Mirror) object holding the location and size of the room's mirror, if present.
|
||||
// __(not yet implemented)__
|
||||
//@mem mirror
|
||||
"mirror", &GameScriptLevel::Mirror,
|
||||
|
||||
|
|
|
@ -53,7 +53,6 @@ struct GameScriptLevel
|
|||
GameScriptColor Fog{ 0, 0, 0 };
|
||||
bool Storm{ false };
|
||||
WEATHER_TYPE Weather{ WEATHER_TYPE::NORMAL };
|
||||
bool ResetHub{ false };
|
||||
bool Rumble{ false };
|
||||
LARA_TYPE LaraType{ LARA_TYPE::NORMAL };
|
||||
GameScriptMirror Mirror;
|
||||
|
|
|
@ -1073,7 +1073,7 @@ unsigned CALLBACK LoadLevel(void* data)
|
|||
Wibble = 0;
|
||||
TorchRoom = -1;
|
||||
InitialiseGameFlags();
|
||||
InitialiseLara(!(InitialiseGame || CurrentLevel == 1 || level->ResetHub));
|
||||
InitialiseLara(!(InitialiseGame || CurrentLevel == 1));
|
||||
GetCarriedItems();
|
||||
GetAIPickups();
|
||||
Lara.Vehicle = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue