fixed bug in single button handling causing broken tapes (EM engine)
[rocksndiamonds.git] / src / game_em / export.h
index 0968f1d64b12491809da4b153c0309f22d79519c..365cafe863a6b2bcc29b0166838a25d429a65bb7 100644 (file)
@@ -666,6 +666,9 @@ struct GameInfo_EM
 {
   boolean any_player_moving;
   boolean any_player_snapping;
+
+  boolean use_single_button;
+
   int last_moving_player;
   int last_player_direction[MAX_PLAYERS];
 };
@@ -678,6 +681,9 @@ struct LevelInfo_EM
 
   struct LEVEL *lev;
   struct PLAYER *ply[MAX_PLAYERS];
+
+  /* used for runtime values */
+  struct GameInfo_EM *game_em;
 };
 
 struct GraphicInfo_EM
@@ -721,6 +727,7 @@ struct EngineSnapshotInfo_EM
 /* ------------------------------------------------------------------------- */
 
 extern struct GlobalInfo_EM global_em_info;
+extern struct GameInfo_EM game_em;
 extern struct LevelInfo_EM native_em_level;
 extern struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8];
 extern struct GraphicInfo_EM graphic_info_em_player[MAX_PLAYERS][SPR_MAX][8];