[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.51,1.52

Travis Howell kirben at users.sourceforge.net
Tue Dec 2 00:11:00 CET 2003


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv10684/base

Modified Files:
	gameDetector.cpp 
Log Message:

Switch nosubtitles option to subtitles, to match others and help with Simon2 issue.



Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- gameDetector.cpp	10 Nov 2003 23:17:10 -0000	1.51
+++ gameDetector.cpp	2 Dec 2003 08:09:09 -0000	1.52
@@ -61,7 +61,7 @@
 	"  -m, --music-volume=NUM   Set the music volume, 0-255 (default: 192)\n"
 	"  -o, --master-volume=NUM  Set the master volume, 0-255 (default: 192)\n"
 	"  -s, --sfx-volume=NUM     Set the sfx volume, 0-255 (default: 192)\n"
-	"  -n, --nosubtitles        Disable subtitles (use with games that have voice)\n"
+	"  -n, --subtitles          Enable subtitles (use with games that have voice)\n"
 	"  -b, --boot-param=NUM     Pass number to the boot script (boot param)\n"
 	"  -d, --debuglevel=NUM     Set debug verbosity level\n"
 	"  -u, --dump-scripts       Enable script dumping if a directory called 'dumps'\n"
@@ -157,7 +157,8 @@
 //	ConfMan.registerDefault("amiga", false);
 	ConfMan.registerDefault("platform", Common::kPlatformPC);
 	ConfMan.registerDefault("language", "en");
-	ConfMan.registerDefault("nosubtitles", false);
+//	ConfMan.registerDefault("nosubtitles", false);
+	ConfMan.registerDefault("subtitles", false);
 	ConfMan.registerDefault("boot_param", 0);
 	ConfMan.registerDefault("save_slot", -1);
 
@@ -362,8 +363,8 @@
 				ConfMan.set("music_volume", (int)strtol(option, 0, 10), kTransientDomain);
 			END_OPTION
 
-			DO_OPTION_BOOL('n', "nosubtitles")
-				ConfMan.set("nosubtitles", cmdValue, kTransientDomain);
+			DO_OPTION_BOOL('n', "subtitles")
+				ConfMan.set("subtitles", cmdValue, kTransientDomain);
 			END_OPTION
 
 			DO_OPTION('o', "master-volume")





More information about the Scummvm-git-logs mailing list