X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=07f8f82234b23f2a3008e2475ce03a49e058cb25;hp=7a896e807bf79e7ebb6864cf0e50e09670f718fb;hb=7ecbe0a730dc19d8a46ffe6bbcb052f20d0c4152;hpb=1a9252c7cfc77d9d616bd0a3f538cce2d24e2f74 diff --git a/src/tape.c b/src/tape.c index 7a896e80..07f8f822 100644 --- a/src/tape.c +++ b/src/tape.c @@ -493,7 +493,7 @@ void TapeDeactivateDisplayOff(boolean redraw_display) if (redraw_display) { - RedrawPlayfield(TRUE, 0,0,0,0); + RedrawPlayfield(); DrawGameDoorValues(); } } @@ -747,7 +747,9 @@ void TapeTogglePause(boolean toggle_manual) } } - if (game_status == GAME_MODE_PLAYING && CheckEngineSnapshotList()) + if (setup.show_snapshot_buttons && + game_status == GAME_MODE_PLAYING && + CheckEngineSnapshotList()) { if (tape.pausing) MapUndoRedoButtons(); @@ -1123,7 +1125,9 @@ void AutoPlayTape() else { DrawCompleteVideoDisplay(); + audio.sound_enabled = FALSE; + setup.engine_snapshot_mode = getStringCopy(STR_SNAPSHOT_MODE_OFF); autoplay_leveldir = getTreeInfoFromIdentifier(leveldir_first, global.autoplay_leveldir); @@ -1195,7 +1199,12 @@ void AutoPlayTape() printf("playing tape ... "); TapeStartGamePlaying(); - TapeStartWarpForward(); + + if (global.autoplay_mode == AUTOPLAY_FFWD) + tape.fast_forward = TRUE; + + if (global.autoplay_mode != AUTOPLAY_PLAY) + TapeStartWarpForward(); return; }