rnd-20041017-1-src
[rocksndiamonds.git] / src / game_em / main_em.h
index 38320ef693fc0637e9a89d959767fb41e01d9ebf..abf566f03ac92dacba42f7605b98ac7f4dad3bfd 100644 (file)
@@ -449,9 +449,9 @@ enum
   SAMPLE_acid,         /* acid splashes */
   SAMPLE_ball,         /* ball places something */
   SAMPLE_grow,         /* growing wall grows */
-  SAMPLE_wonder,       /* wonderwall moves (is active) */
-  SAMPLE_door,         /* player goes thru door */
-  SAMPLE_exit,         /* player goes in exit */
+  SAMPLE_wonder,       /* wonderwall is active */
+  SAMPLE_door,         /* player goes thru door (gate) */
+  SAMPLE_exit,         /* player goes into exit */
   SAMPLE_dynamite,     /* player places dynamite */
   SAMPLE_tick,         /* dynamite ticks */
   SAMPLE_press,                /* player presses wheel/wind/switch */
@@ -560,8 +560,23 @@ struct PLAYER
   unsigned joy_spin:1;
 };
 
+
+/* ------------------------------------------------------------------------- */
+/* definitions and structures for use by the main game functions             */
+/* ------------------------------------------------------------------------- */
+
+/* values for native Emerald Mine game version */
+#define FILE_VERSION_EM_V3     3
+#define FILE_VERSION_EM_V4     4
+#define FILE_VERSION_EM_V5     5
+#define FILE_VERSION_EM_V6     6
+
+#define FILE_VERSION_EM_ACTUAL FILE_VERSION_EM_V6
+
 struct LevelInfo_EM
 {
+  int file_version;
+
   struct LEVEL *lev;
   struct PLAYER *ply1, *ply2;