[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.391,1.392

Travis Howell kirben at users.sourceforge.net
Sun Dec 21 08:56:02 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv29554/simon

Modified Files:
	simon.cpp 
Log Message:

Add music_mute config option to Simon 1/2


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.391
retrieving revision 1.392
diff -u -d -r1.391 -r1.392
--- simon.cpp	21 Dec 2003 16:51:31 -0000	1.391
+++ simon.cpp	21 Dec 2003 16:55:50 -0000	1.392
@@ -556,6 +556,9 @@
 	_debugLevel = ConfMan.getInt("debuglevel");
 	_language = Common::parseLanguage(ConfMan.get("language"));
 
+	if (ConfMan.hasKey("music_mute") && ConfMan.getBool("music_mute") == 1)
+		midi.pause(_music_paused ^= 1);
+
 	if ((_game & GF_SIMON2) && ConfMan.hasKey("speech_mute") && ConfMan.getBool("speech_mute") == 1)
 		_speech = 0;
 





More information about the Scummvm-git-logs mailing list