[Scummvm-cvs-logs] SF.net SVN: scummvm: [21551] scummvm/trunk/base

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sun Apr 2 01:32:01 CEST 2006


Revision: 21551
Author:   fingolfin
Date:     2006-04-02 01:31:06 -0800 (Sun, 02 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21551&view=rev

Log Message:
-----------
Move gDebugLevel to common/util.cpp (where most other debug() related stuff already is)

Modified Paths:
--------------
    scummvm/trunk/base/main.cpp
    scummvm/trunk/common/util.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp	2006-04-02 09:26:51 UTC (rev 21550)
+++ scummvm/trunk/base/main.cpp	2006-04-02 09:31:06 UTC (rev 21551)
@@ -143,14 +143,6 @@
 #endif
 	;
 
-/**
- * The debug level. Initially set to -1, indicating that no debug output
- * should be shown. Positive values usually imply an increasing number of
- * debug output shall be generated, the higher the value, the more verbose the
- * information (although the exact semantics are up to the engines).
- */
-int gDebugLevel = -1;
-
 static void setupDummyPalette(OSystem &system) {
 	// FIXME - mouse cursors are currently always set via 8 bit data.
 	// Thus for now we need to setup a dummy palette. On the long run, we might

Modified: scummvm/trunk/common/util.cpp
===================================================================
--- scummvm/trunk/common/util.cpp	2006-04-02 09:26:51 UTC (rev 21550)
+++ scummvm/trunk/common/util.cpp	2006-04-02 09:31:06 UTC (rev 21551)
@@ -341,6 +341,18 @@
 
 }	// End of namespace Common
 
+
+
+/**
+ * The debug level. Initially set to -1, indicating that no debug output
+ * should be shown. Positive values usually imply an increasing number of
+ * debug output shall be generated, the higher the value, the more verbose the
+ * information (although the exact semantics are up to the engines).
+ */
+int gDebugLevel = -1;
+
+
+
 static void debugHelper(char *buf, bool caret = true) {
 #ifndef _WIN32_WCE
 	if (caret)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list