From 46d195ee02899df46a2062a7375abf4db0e93c7b Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 30 Sep 2003 16:07:04 +0000 Subject: Clear cutscene subtitles before changing back the palette, and slow down the subtitles slightly. svn-id: r10503 --- sword2/driver/d_draw.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sword2') 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; -- cgit v1.2.3