added using played time for high score calculation
[rocksndiamonds.git] / src / game.h
index 831678704133e0dcff79080e0ef31649d097c418..13bfdbc10000f13be3ae08863bee87e6b3b13b17 100644 (file)
@@ -156,6 +156,7 @@ struct GameInfo
   boolean use_native_emc_graphics_engine;
   boolean use_native_sp_graphics_engine;
   boolean use_masked_pushing;
+  boolean use_masked_elements;
   int forced_scroll_delay_value;
   int scroll_delay_value;
   int tile_size;
@@ -198,6 +199,9 @@ struct GameInfo
   boolean envelope_active;
   boolean no_time_limit;       // (variable only in very special case)
 
+  int time_final;              // time (in seconds) or steps left or played
+  int score_time_final;                // time (in frames) or steps played
+
   int score;
   int score_final;
 
@@ -401,6 +405,7 @@ int GetElementFromGroupElement(int);
 
 int getPlayerInventorySize(int);
 
+void UpdateGameDoorValues(void);
 void DrawGameDoorValues(void);
 
 void UpdateAndDisplayGameControlValues(void);