[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_draw.cpp,1.30,1.31

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Tue Sep 30 09:08:02 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv29551/driver

Modified Files:
	d_draw.cpp 
Log Message:
Clear cutscene subtitles before changing back the palette, and slow down
the subtitles slightly.


Index: d_draw.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_draw.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- d_draw.cpp	30 Sep 2003 14:37:42 -0000	1.30
+++ d_draw.cpp	30 Sep 2003 16:07:04 -0000	1.31
@@ -296,13 +296,14 @@
 			// 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 @@
 
 		if (!skipCutscene)
 			g_sound->playLeadOut(musicOut);
+
+		BS2_SetPalette(0, 256, oldPal, RDPAL_INSTANT);
 	}
 
 	return RD_OK;





More information about the Scummvm-git-logs mailing list