added using separate constants for tiles in EM engine caves and game logic
[rocksndiamonds.git] / src / game_em / export.h
index 66dd13347f4e3a9c3318d51858bdd48baddc3e5f..b769d9dc10fba0cf64c3d5cc0b7fada874369aa7 100644 (file)
@@ -36,14 +36,16 @@ 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_old_explosions;
 };
 
 struct LevelInfo_EM
@@ -119,4 +121,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