aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-30 16:07:04 +0000
committerTorbjörn Andersson2003-09-30 16:07:04 +0000
commit46d195ee02899df46a2062a7375abf4db0e93c7b (patch)
tree78f28a2c2f9985e8f4eb6f38435590a86bf64e50 /sword2
parentda1b4f1e3627a6baf242457cb9c69328a7f899f0 (diff)
downloadscummvm-rg350-46d195ee02899df46a2062a7375abf4db0e93c7b.tar.gz
scummvm-rg350-46d195ee02899df46a2062a7375abf4db0e93c7b.tar.bz2
scummvm-rg350-46d195ee02899df46a2062a7375abf4db0e93c7b.zip
Clear cutscene subtitles before changing back the palette, and slow down
the subtitles slightly. svn-id: r10503
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/d_draw.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/sword2/driver/d_draw.cpp b/sword2/driver/d_draw.cpp
index eaec82e37e..f9930cb118 100644
--- a/sword2/driver/d_draw.cpp
+++ b/sword2/driver/d_draw.cpp
@@ -296,13 +296,14 @@ int32 PlaySmacker(char *filename, _movieTextObject *text[], uint8 *musicOut) {
// frame rate the original movies had, or even if it
// was constant, but this seems to work reasonably.
- g_system->delay_msecs(80);
+ g_system->delay_msecs(90);
}
- BS2_SetPalette(0, 256, oldPal, RDPAL_INSTANT);
-
CloseTextObject(text[textCounter]);
+ EraseBackBuffer();
+ SetNeedRedraw();
+
// HACK: Remove the instructions created above
ScummVM::Rect r;
@@ -317,6 +318,8 @@ int32 PlaySmacker(char *filename, _movieTextObject *text[], uint8 *musicOut) {
if (!skipCutscene)
g_sound->playLeadOut(musicOut);
+
+ BS2_SetPalette(0, 256, oldPal, RDPAL_INSTANT);
}
return RD_OK;