fixed playfield graphics for BD runtime elements in level editor
[rocksndiamonds.git] / src / game.h
index 4141b3bcfdf05735a29550560ab3cb400179bbda..c5eba4f155939e7296315d0bee1acc780b9b6287 100644 (file)
@@ -52,7 +52,7 @@ struct GamePanelInfo
 {
   struct TextPosInfo level_number;
   struct TextPosInfo gems;
-  struct TextPosInfo gems_total;
+  struct TextPosInfo gems_needed;
   struct TextPosInfo gems_collected;
   struct TextPosInfo gems_score;
   struct TextPosInfo inventory_count;
@@ -216,7 +216,6 @@ struct GameInfo
   int wind_direction;
 
   boolean explosions_delayed;
-  boolean envelope_active;
   boolean no_level_time_limit; // (variable only in very special case)
   boolean time_limit;          // forced by levelset config or setup option
 
@@ -258,6 +257,8 @@ struct GameInfo
 
   // values for special request dialog control
   boolean request_active;
+  boolean envelope_active;
+  boolean any_door_active;
 
   // values for special game control
   int centered_player_nr;
@@ -448,6 +449,7 @@ void DrawDynamite(int, int);
 void StartGameActions(boolean, boolean, int);
 
 void GameActions(void);
+void GameActions_BD_Main(void);
 void GameActions_EM_Main(void);
 void GameActions_SP_Main(void);
 void GameActions_MM_Main(void);
@@ -472,9 +474,11 @@ void RequestQuitGame(boolean);
 
 boolean CheckRestartGame(void);
 boolean checkGameRunning(void);
+boolean checkGamePlaying(void);
 boolean checkGameSolved(void);
 boolean checkGameFailed(void);
 boolean checkGameEnded(void);
+boolean checkRequestActive(void);
 
 unsigned int InitEngineRandom_RND(int);
 unsigned int RND(int);