|
|
@ -184,6 +184,7 @@ private: |
|
|
|
bool displayHud=true; |
|
|
|
bool displayHud=true; |
|
|
|
float vignetteDisplayTime=0.f; |
|
|
|
float vignetteDisplayTime=0.f; |
|
|
|
bool savingFile=false; |
|
|
|
bool savingFile=false; |
|
|
|
|
|
|
|
bool prevStageCompleted=false; |
|
|
|
|
|
|
|
|
|
|
|
void ValidateGameStatus(); |
|
|
|
void ValidateGameStatus(); |
|
|
|
void _PrepareLevel(MapName map,MusicChange changeMusic); |
|
|
|
void _PrepareLevel(MapName map,MusicChange changeMusic); |
|
|
@ -325,6 +326,9 @@ public: |
|
|
|
void GlobalGameUpdates(); |
|
|
|
void GlobalGameUpdates(); |
|
|
|
const bool QuitRequested()const; |
|
|
|
const bool QuitRequested()const; |
|
|
|
void SetQuitAllowed(bool quittingAllowed); //Locks the game from quitting during sensitive operations such as file saving/loading.
|
|
|
|
void SetQuitAllowed(bool quittingAllowed); //Locks the game from quitting during sensitive operations such as file saving/loading.
|
|
|
|
|
|
|
|
const bool PreviousStageCompleted()const; |
|
|
|
|
|
|
|
void SetCompletedStageFlag(); |
|
|
|
|
|
|
|
void ResetCompletedStageFlag(); |
|
|
|
|
|
|
|
|
|
|
|
struct TileGroupData{ |
|
|
|
struct TileGroupData{ |
|
|
|
vi2d tilePos; |
|
|
|
vi2d tilePos; |
|
|
|