fixed saving score tape if no tape was recorded
[rocksndiamonds.git] / src / main.h
index 8c12cf95b93e7973c7d96645a72325368bac21ac..b429c15b992a998188a7a28c8ca32f2e3ee7f629 100644 (file)
@@ -3040,8 +3040,10 @@ struct ViewportInfo
 
 struct ScoreEntry
 {
+  char tape_basename[MAX_FILENAME_LEN + 1];
   char name[MAX_PLAYER_NAME_LEN + 1];
   int score;
+  int time;            // time (in frames) or steps played
 };
 
 struct ScoreInfo
@@ -3120,6 +3122,7 @@ struct LevelInfo
   int time;                            // available time (seconds)
   int gems_needed;
   boolean auto_count_gems;
+  boolean rate_time_over_score;
 
   char name[MAX_LEVEL_NAME_LEN + 1];
   char author[MAX_LEVEL_AUTHOR_LEN + 1];