added loading high scores from score server
[rocksndiamonds.git] / src / game.h
index 5739ecf0668eb82c770c3c568264b5a86cd47fa6..653a6454722ac39dfc79b2cb22c8184ed095bda2 100644 (file)
@@ -199,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;
 
@@ -414,6 +417,8 @@ void UpdateEngineValues(int, int, int, int);
 void GameWon(void);
 void GameEnd(void);
 
+void MergeServerScore(void);
+
 void InitPlayerGfxAnimation(struct PlayerInfo *, int, int);
 void Moving2Blocked(int, int, int *, int *);
 void Blocked2Moving(int, int, int *, int *);