[Scummvm-cvs-logs] CVS: scummvm/queen queen.cpp,1.63,1.64

Max Horn fingolfin at users.sourceforge.net
Sun Jan 4 06:02:39 CET 2004


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

Modified Files:
	queen.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: queen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/queen.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- queen.cpp	3 Jan 2004 02:08:04 -0000	1.63
+++ queen.cpp	4 Jan 2004 14:00:57 -0000	1.64
@@ -46,8 +46,6 @@
 
 #include "sound/mididrv.h"
 
-extern uint16 _debugLevel;
-
 #ifdef _WIN32_WCE
 
 extern bool toolbar_drawn;
@@ -96,8 +94,6 @@
 		warning("Sound initialisation failed.");
 
 	_mixer->setVolume(ConfMan.getInt("sfx_volume"));
-
-	_debugLevel = ConfMan.getInt("debuglevel");
 
 	_system->init_size(GAME_SCREEN_WIDTH, GAME_SCREEN_HEIGHT);
 }





More information about the Scummvm-git-logs mailing list