added flag to tape files to explicitly mark solution tapes
[rocksndiamonds.git] / src / tape.h
index e710fa33fb2110737019b11a82fee5dd9345568d..c4fba44dba2ba2351f33325e100a1a9f8b2838d2 100644 (file)
@@ -210,6 +210,7 @@ struct TapeInfo
   boolean quick_resume;
   boolean single_step;
   boolean changed;
+  boolean solved;
   boolean player_participates[MAX_PLAYERS];
   int num_participating_players;
   int centered_player_nr_next;
@@ -239,6 +240,7 @@ struct TapeInfo
 
   boolean show_game_buttons;   // show game buttons in tape viewport
 
+  boolean no_info_chunk;       // used to identify old tape file format
   boolean no_valid_file;       // set when tape file missing or invalid
 };
 
@@ -262,20 +264,26 @@ void TapeStartPlaying(void);
 void TapeStopPlaying(void);
 byte *TapePlayAction(void);
 void TapeStop(void);
+void TapeStopGame(void);
+void TapeStopTape(void);
 void TapeErase(void);
 unsigned int GetTapeLengthFrames(void);
 unsigned int GetTapeLengthSeconds(void);
 void TapeQuickSave(void);
 void TapeQuickLoad(void);
+void TapeRestartGame(void);
+void TapeReplayAndPauseBeforeEnd(void);
 
 boolean hasSolutionTape(void);
 boolean InsertSolutionTape(void);
 boolean PlaySolutionTape(void);
+boolean PlayScoreTape(int);
 
 void UndoTape(void);
 void FixTape_ForceSinglePlayer(void);
 
-void AutoPlayTapes(void);
+int AutoPlayTapes(void);
+int AutoPlayTapesContinue(void);
 void PatchTapes(void);
 
 void CreateTapeButtons(void);