removed unused function parameters
[rocksndiamonds.git] / src / game_em / export.h
index 66dd13347f4e3a9c3318d51858bdd48baddc3e5f..409a04e43525f8fccdf877aaeb304fe50857e626 100644 (file)
@@ -36,14 +36,21 @@ struct GameInfo_EM
   boolean any_player_moving;
   boolean any_player_snapping;
 
-  boolean use_single_button;
-  boolean use_snap_key_bug;
-
   int last_moving_player;
   int last_player_direction[MAX_PLAYERS];
 
   struct LOGIC *lev;
   struct PLAYER *ply[MAX_PLAYERS];
+
+  // flags to handle bugs in and changes between different engine versions
+  boolean use_single_button;
+  boolean use_snap_key_bug;
+  boolean use_random_bug;
+  boolean use_old_explosions;
+  boolean use_old_android;
+  boolean use_old_push_elements;
+  boolean use_old_push_into_acid;
+  boolean use_wrap_around;
 };
 
 struct LevelInfo_EM
@@ -91,7 +98,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_object[GAME_TILE_MAX][8];
 extern struct GraphicInfo_EM graphic_info_em_player[MAX_PLAYERS][PLY_MAX][8];
 extern struct EngineSnapshotInfo_EM engine_snapshot_em;
 
@@ -101,7 +108,7 @@ void em_close_all(void);
 void InitGfxBuffers_EM(void);
 
 void InitGameEngine_EM(void);
-void GameActions_EM(byte *, boolean);
+void GameActions_EM(byte[MAX_PLAYERS]);
 
 unsigned int InitEngineRandom_EM(int);
 
@@ -119,4 +126,7 @@ void SaveEngineSnapshotValues_EM(void);
 
 boolean checkIfAllPlayersFitToScreen(void);
 
+int map_em_element_C_to_X(int);
+int map_em_element_X_to_C(int);
+
 #endif // EXPORT_H