X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.h;h=5b3c02d6c7174b82b79cdf877ec62fcff614cfe9;hb=2fe72b13a82860dfcffd9eb1eded086734023715;hp=553ec4b7498b516879a041fafb2f736e304189f7;hpb=64e7c54dce6ea8c063f04198c64c5057d751c928;p=rocksndiamonds.git diff --git a/src/game.h b/src/game.h index 553ec4b7..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; @@ -347,7 +350,8 @@ struct PlayerInfo int health_final; int gems_still_needed; - int sokobanfields_still_needed; + int sokoban_fields_still_needed; + int sokoban_objects_still_needed; int lights_still_needed; int players_still_needed; int friends_still_needed;