[Scummvm-cvs-logs] CVS: scummvm/common util.h,1.50,1.51

Max Horn fingolfin at users.sourceforge.net
Sat Apr 23 06:52:53 CEST 2005


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

Modified Files:
	util.h 
Log Message:
Simplified debuglevel handling:
 - it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it


Index: util.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/util.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- util.h	8 Apr 2005 20:49:13 -0000	1.50
+++ util.h	23 Apr 2005 13:52:27 -0000	1.51
@@ -201,5 +201,7 @@
 void CDECL debug(const char *s, ...);
 void checkHeap();
 
+extern int gDebugLevel;
+
 
 #endif





More information about the Scummvm-git-logs mailing list