fixed bug with player moving when releasing one of several pressed snap keys
[rocksndiamonds.git] / src / game.h
index 195f4202a1dce1a8cb858b142f8f3b2dd15c94eb..0319a8df9594e7c3aad85dec2ce7683730c1f74e 100644 (file)
@@ -243,6 +243,7 @@ struct GameInfo
 
   // values for handling states for solved level and game over
   boolean LevelSolved;
+  boolean GamePlayed;
   boolean GameOver;
 
   boolean LevelSolved_GameWon;
@@ -280,6 +281,7 @@ struct PlayerInfo
                                   devices when in single player mode */
   byte programmed_action;      /* action forced by game itself (like moving
                                   through doors); overrides other actions */
+  byte snap_action;            // action from TAS snap keys
 
   struct MouseActionInfo mouse_action;          // (used by MM engine only)
   struct MouseActionInfo effective_mouse_action; // (used by MM engine only)