[Scummvm-cvs-logs] CVS: scummvm/sky sky.cpp,1.137,1.138

Max Horn fingolfin at users.sourceforge.net
Sun Jan 4 06:03:08 CET 2004


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv2726/sky

Modified Files:
	sky.cpp 
Log Message:
renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine

Index: sky.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/sky.cpp,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -d -r1.137 -r1.138
--- sky.cpp	3 Jan 2004 15:57:56 -0000	1.137
+++ sky.cpp	4 Jan 2004 14:00:58 -0000	1.138
@@ -50,8 +50,6 @@
 #include "sound/mididrv.h"
 #include "sound/mixer.h"
 
-extern uint16 _debugLevel;
-
 #ifdef _WIN32_WCE
 
 extern bool toolbar_drawn;
@@ -124,7 +122,6 @@
 	_mixer->setVolume(ConfMan.getInt("sfx_volume")); //unnecessary?
 	
 	_debugMode = ConfMan.hasKey("debuglevel");
-	_debugLevel = ConfMan.getInt("debuglevel");
 
 	_floppyIntro = ConfMan.getBool("floppy_intro");
 





More information about the Scummvm-git-logs mailing list