X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame.h;h=5b3c02d6c7174b82b79cdf877ec62fcff614cfe9;hp=5ef27e78085b46d12c8cad88fee58027b47a6b78;hb=10a305960c9cc79afceb6c15c410796776bfe58b;hpb=99261bc36a147246e39cdc6d5ce9b098257c4d1b diff --git a/src/game.h b/src/game.h index 5ef27e78..5b3c02d6 100644 --- a/src/game.h +++ b/src/game.h @@ -221,6 +221,18 @@ struct GameInfo // values for game engine snapshot control struct GameSnapshotInfo snapshot; + + // values for handling states for solved level + boolean LevelSolved; + + boolean LevelSolved_GameWon; + boolean LevelSolved_GameEnd; + boolean LevelSolved_SaveTape; + boolean LevelSolved_SaveScore; + + int LevelSolved_CountingTime; + int LevelSolved_CountingScore; + int LevelSolved_CountingHealth; }; struct PlayerInfo @@ -268,16 +280,7 @@ struct PlayerInfo boolean gravity; - boolean LevelSolved, GameOver; - - boolean LevelSolved_GameWon; - boolean LevelSolved_GameEnd; - boolean LevelSolved_SaveTape; - boolean LevelSolved_SaveScore; - - int LevelSolved_CountingTime; - int LevelSolved_CountingScore; - int LevelSolved_CountingHealth; + boolean GameOver; int last_move_dir;