+static void TapeStartIndexSearch()
+{
+ tape.index_search = TRUE;
+
+ if (!tape.fast_forward || tape.pause_before_death)
+ {
+ tape.pausing = FALSE;
+
+ SetDrawDeactivationMask(REDRAW_FIELD | REDRAW_DOOR_1);
+ audio.sound_deactivated = TRUE;
+ }
+}
+
+static void TapeStopIndexSearch()
+{
+ tape.index_search = FALSE;
+
+ SetDrawDeactivationMask(REDRAW_NONE);
+ audio.sound_deactivated = FALSE;
+
+ RedrawPlayfield(TRUE, 0,0,0,0);
+ DrawGameDoorValues();
+}
+
+static void TapeSingleStep()
+{
+ if (options.network)
+ return;
+
+ if (!tape.pausing)
+ TapeTogglePause(TAPE_TOGGLE_MANUAL);
+
+ tape.single_step = !tape.single_step;
+}
+
+void TapeQuickSave()
+{
+ if (game_status == PLAYING)
+ {
+ if (tape.recording)
+ TapeHaltRecording(); /* prepare tape for saving on-the-fly */
+
+ if (TAPE_IS_EMPTY(tape))
+ Request("No tape that can be saved !", REQ_CONFIRM);
+ else
+ SaveTape(tape.level_nr);
+ }
+ else if (game_status == MAINMENU)
+ Request("No game that can be saved !", REQ_CONFIRM);
+}
+
+void TapeQuickLoad()
+{
+ if (game_status == PLAYING || game_status == MAINMENU)
+ {
+ TapeStop();
+ TapeErase();
+
+ LoadTape(level_nr);
+ if (!TAPE_IS_EMPTY(tape))
+ {
+ TapeStartGamePlaying();
+ TapeStartIndexSearch();
+
+ tape.quick_resume = TRUE;
+ }
+ else
+ Request("No tape for this level !", REQ_CONFIRM);
+ }
+}
+
+