rnd-20060812-2-src
[rocksndiamonds.git] / src / game.h
index dadb6735f86859b5aaa45d834090444c74254c80..1718f8357a61448cb2cb43868cb55521741c5b5a 100644 (file)
 #define MAX_NUM_KEYS           8
 
 
+struct GamePanelInfo
+{
+  struct XY level;
+  struct XY gems;
+  struct XY inventory;
+  struct XY keys;
+  struct XY score;
+  struct XY time;
+};
+
 struct GameInfo
 {
+  /* values for control panel */
+  struct GamePanelInfo panel;
+
   /* values for engine initialization */
   int default_push_delay_fixed;
   int default_push_delay_random;
@@ -29,8 +42,8 @@ struct GameInfo
   /* constant within running game */
   int engine_version;
   int emulation;
-  int initial_move_delay;
-  int initial_move_delay_value;
+  int initial_move_delay[MAX_PLAYERS];
+  int initial_move_delay_value[MAX_PLAYERS];
   int initial_push_delay_value;
 
   /* flags to handle bugs in and changes between different engine versions */
@@ -109,10 +122,14 @@ struct PlayerInfo
 
   boolean can_fall_into_acid;
 
+  boolean gravity;
+
   boolean LevelSolved, GameOver;
 
   int last_move_dir;
 
+  boolean is_active;
+
   boolean is_waiting;
   boolean is_moving;
   boolean is_auto_moving;