projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed drawing of global borders to more generic approach (again)
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index 4ff0c9687de9577369e54cbb935b61605ed562d5..07f8f82234b23f2a3008e2475ce03a49e058cb25 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-493,7
+493,7
@@
void TapeDeactivateDisplayOff(boolean redraw_display)
if (redraw_display)
{
if (redraw_display)
{
- RedrawPlayfield(
TRUE, 0,0,0,0
);
+ RedrawPlayfield();
DrawGameDoorValues();
}
}
DrawGameDoorValues();
}
}
@@
-1125,7
+1125,9
@@
void AutoPlayTape()
else
{
DrawCompleteVideoDisplay();
else
{
DrawCompleteVideoDisplay();
+
audio.sound_enabled = FALSE;
audio.sound_enabled = FALSE;
+ setup.engine_snapshot_mode = getStringCopy(STR_SNAPSHOT_MODE_OFF);
autoplay_leveldir = getTreeInfoFromIdentifier(leveldir_first,
global.autoplay_leveldir);
autoplay_leveldir = getTreeInfoFromIdentifier(leveldir_first,
global.autoplay_leveldir);
@@
-1197,7
+1199,12
@@
void AutoPlayTape()
printf("playing tape ... ");
TapeStartGamePlaying();
printf("playing tape ... ");
TapeStartGamePlaying();
- TapeStartWarpForward();
+
+ if (global.autoplay_mode == AUTOPLAY_FFWD)
+ tape.fast_forward = TRUE;
+
+ if (global.autoplay_mode != AUTOPLAY_PLAY)
+ TapeStartWarpForward();
return;
}
return;
}