[Scummvm-cvs-logs] CVS: scummvm/sword2 sword2.cpp,1.97,1.98

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


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

Modified Files:
	sword2.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: sword2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/sword2.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- sword2.cpp	31 Dec 2003 12:58:18 -0000	1.97
+++ sword2.cpp	4 Jan 2004 14:00:58 -0000	1.98
@@ -29,8 +29,6 @@
 extern bool isSmartphone(void);
 #endif
 
-extern uint16 _debugLevel;
-
 struct Sword2GameSettings {
 	const char *name;
 	const char *description;
@@ -104,7 +102,6 @@
 	_targetName = strdup(detector->_targetName.c_str());
 	_bootParam = ConfMan.getInt("boot_param");
 	_saveSlot = ConfMan.getInt("save_slot");
-	_debugLevel = ConfMan.getInt("debuglevel");
 
 	// Setup mixer
 	if (!_mixer->isReady())





More information about the Scummvm-git-logs mailing list