[Scummvm-cvs-logs] SF.net SVN: scummvm: [22606] scummvm/trunk/engines/agi/agi.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Wed May 24 06:51:02 CEST 2006


Revision: 22606
Author:   aquadran
Date:     2006-05-24 06:08:09 -0700 (Wed, 24 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22606&view=rev

Log Message:
-----------
moved addSpecialDebugLevel into constructor

Modified Paths:
--------------
    scummvm/trunk/engines/agi/agi.cpp
Modified: scummvm/trunk/engines/agi/agi.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi.cpp	2006-05-24 11:39:29 UTC (rev 22605)
+++ scummvm/trunk/engines/agi/agi.cpp	2006-05-24 13:08:09 UTC (rev 22606)
@@ -467,6 +467,16 @@
 
 	rnd = new Common::RandomSource();
 
+	Common::addSpecialDebugLevel(kDebugLevelMain, "Main", "Generic debug level");
+	Common::addSpecialDebugLevel(kDebugLevelResources, "Resources", "Resources debugging");
+	Common::addSpecialDebugLevel(kDebugLevelSprites, "Sprites", "Sprites debugging");
+	Common::addSpecialDebugLevel(kDebugLevelInventory, "Inventory", "Inventory debugging");
+	Common::addSpecialDebugLevel(kDebugLevelInput, "Input", "Input events debugging");
+	Common::addSpecialDebugLevel(kDebugLevelMenu, "Menu", "Menu debugging");
+	Common::addSpecialDebugLevel(kDebugLevelScripts, "Scrpits", "Scripts debugging");
+	Common::addSpecialDebugLevel(kDebugLevelSound, "Sound", "Sound debugging");
+	Common::addSpecialDebugLevel(kDebugLevelText, "Text", "Text output debugging");
+
 	game.clock_enabled = false;
 	game.state = STATE_INIT;
 }
@@ -539,16 +549,6 @@
 	_system->initSize(320, 200);
 	_system->endGFXTransaction();
 
-	Common::addSpecialDebugLevel(kDebugLevelMain, "Main", "Generic debug level");
-	Common::addSpecialDebugLevel(kDebugLevelResources, "Resources", "Resources debugging");
-	Common::addSpecialDebugLevel(kDebugLevelSprites, "Sprites", "Sprites debugging");
-	Common::addSpecialDebugLevel(kDebugLevelInventory, "Inventory", "Inventory debugging");
-	Common::addSpecialDebugLevel(kDebugLevelInput, "Input", "Input events debugging");
-	Common::addSpecialDebugLevel(kDebugLevelMenu, "Menu", "Menu debugging");
-	Common::addSpecialDebugLevel(kDebugLevelScripts, "Scrpits", "Scripts debugging");
-	Common::addSpecialDebugLevel(kDebugLevelSound, "Sound", "Sound debugging");
-	Common::addSpecialDebugLevel(kDebugLevelText, "Text", "Text output debugging");
-
 	initialize();
 
 	gfx_set_palette();


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