[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.7,1.8

Jonathan Gray khalek at users.sourceforge.net
Sat Dec 21 20:08:03 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv28366

Modified Files:
	script_v6.cpp 
Log Message:
allow subtitles in smush animations to be disabled

Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- script_v6.cpp	21 Dec 2002 20:19:46 -0000	1.7
+++ script_v6.cpp	22 Dec 2002 04:07:41 -0000	1.8
@@ -2454,7 +2454,9 @@
 
 				ScummRenderer * sr = new ScummRenderer(this, speed);
  				SmushPlayer * sp = new SmushPlayer(sr);
-
+				
+				if (_noSubtitles)
+					sp->hide("subtitles");
 				// INSANE mode 0: SMUSH movie playback
 				if (args[1] == 0) {
  					sp->play((char*)getStringAddressVar(VAR_VIDEONAME), getGameDataPath());





More information about the Scummvm-git-logs mailing list