rnd-20070409-1-src
[rocksndiamonds.git] / src / game.h
index ace61a5b14884658f9253b36bca9b5b43510c819..5b2b46a95d8b6a0eaf901672efff41d0dada1cc0 100644 (file)
@@ -26,6 +26,7 @@
 #define NUM_BELT_PARTS         3
 
 #define NUM_PANEL_INVENTORY    8
+#define NUM_PANEL_ELEMENTS     8
 #define NUM_PANEL_CE_SCORE     8
 
 #if 1
@@ -73,6 +74,7 @@ struct GamePanelInfo
   struct TextPosInfo magic_wall;
   struct TextPosInfo magic_wall_time;
   struct TextPosInfo gravity_state;
+  struct TextPosInfo element[NUM_PANEL_ELEMENTS];
   struct TextPosInfo ce_score[NUM_PANEL_CE_SCORE];
   struct TextPosInfo ce_score_element[NUM_PANEL_CE_SCORE];
   struct TextPosInfo player_name;
@@ -212,6 +214,8 @@ struct PlayerInfo
   boolean LevelSolved_PanelOff;
   boolean LevelSolved_SaveTape;
   boolean LevelSolved_SaveScore;
+  int LevelSolved_CountingTime;
+  int LevelSolved_CountingScore;
 
   int last_move_dir;
 
@@ -339,5 +343,6 @@ boolean CheckEngineSnapshot();
 void CreateGameButtons();
 void FreeGameButtons();
 void UnmapGameButtons();
+void RedrawGameButtons();
 
 #endif