[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.74,1.75

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Tue Apr 6 05:04:09 CEST 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29111/base

Modified Files:
	gameDetector.cpp 
Log Message:
Changed "voice_volume" to "speech_volume" for consistency with the Broken
Sword games. (The digial iMUSE code still calls it voice volume, though.)


Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- gameDetector.cpp	5 Apr 2004 18:24:34 -0000	1.74
+++ gameDetector.cpp	6 Apr 2004 11:50:35 -0000	1.75
@@ -63,7 +63,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"
-	"  -r, --voice-volume=NUM   Set the voice volume, 0-255 (default: 192)\n"
+	"  -r, --speech-volume=NUM  Set the speech volume, 0-255 (default: 192)\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"
@@ -108,7 +108,7 @@
 	ConfMan.registerDefault("master_volume", 192);
 	ConfMan.registerDefault("music_volume", 192);
 	ConfMan.registerDefault("sfx_volume", 192);
-	ConfMan.registerDefault("voice_volume", 192);
+	ConfMan.registerDefault("speech_volume", 192);
 
 	ConfMan.registerDefault("multi_midi", false);
 	ConfMan.registerDefault("native_mt32", false);
@@ -369,8 +369,8 @@
 				ConfMan.set("sfx_volume", (int)strtol(option, 0, 10), kTransientDomain);
 			END_OPTION
 
-			DO_OPTION('r', "voice-volume")
-				ConfMan.set("voice_volume", (int)strtol(option, 0, 10), kTransientDomain);
+			DO_OPTION('r', "speech-volume")
+				ConfMan.set("speech_volume", (int)strtol(option, 0, 10), kTransientDomain);
 			END_OPTION
 
 			DO_OPTION_CMD('t', "list-targets")





More information about the Scummvm-git-logs mailing list