minor comments changes
[rocksndiamonds.git] / src / game_em / export.h
index 7379479f29c5a26f6b5d46c62bd3a9bef08d559c..66dd13347f4e3a9c3318d51858bdd48baddc3e5f 100644 (file)
@@ -6,6 +6,7 @@
 // ============================================================================
 
 #include "emerald.h"
+#include "cave.h"
 
 
 // ----------------------------------------------------------------------------
@@ -27,6 +28,8 @@ struct GlobalInfo_EM
 
 struct GameInfo_EM
 {
+  unsigned int random;
+
   boolean level_solved;
   boolean game_over;
 
@@ -39,7 +42,7 @@ struct GameInfo_EM
   int last_moving_player;
   int last_player_direction[MAX_PLAYERS];
 
-  struct LEVEL *lev;
+  struct LOGIC *lev;
   struct PLAYER *ply[MAX_PLAYERS];
 };
 
@@ -47,9 +50,7 @@ struct LevelInfo_EM
 {
   int file_version;
 
-  short cave[CAVE_WIDTH][CAVE_HEIGHT];
-
-  struct LEVEL *cav;
+  struct CAVE *cav;
 };
 
 struct GraphicInfo_EM
@@ -74,12 +75,12 @@ struct GraphicInfo_EM
 struct EngineSnapshotInfo_EM
 {
   struct GameInfo_EM game_em;
-  unsigned int RandomEM;
-  struct LEVEL lev;
+  struct LOGIC lev;
   struct PLAYER ply[MAX_PLAYERS];
+
+  int frame;
   int screen_x;
   int screen_y;
-  int frame;
 };