[Scummvm-cvs-logs] SF.net SVN: scummvm:[42065] scummvm/branches/gsoc2009-draci/engines/draci

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Fri Jul 3 18:35:04 CEST 2009


Revision: 42065
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42065&view=rev
Author:   dkasak13
Date:     2009-07-03 16:35:04 +0000 (Fri, 03 Jul 2009)

Log Message:
-----------
Added two more debug levels (logic and animation).

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp
    scummvm/branches/gsoc2009-draci/engines/draci/draci.h

Modified: scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-07-03 16:31:25 UTC (rev 42064)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-07-03 16:35:04 UTC (rev 42065)
@@ -62,9 +62,11 @@
 	//Common::File::addDefaultDirectory(_gameDataPath + "sound/");
 
 	// Here is the right place to set up the engine specific debug levels
-	Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug level");
+	Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug info");
 	Common::addDebugChannel(kDraciBytecodeDebugLevel, "bytecode", "GPL bytecode instructions");
 	Common::addDebugChannel(kDraciArchiverDebugLevel, "archiver", "BAR archiver debug info");
+	Common::addDebugChannel(kDraciLogicDebugLevel, "logic", "Game logic debug info");
+	Common::addDebugChannel(kDraciAnimationDebugLevel, "animation", "Animation debug info");
  
 	// Don't forget to register your random source
 	_eventMan->registerRandomSource(_rnd, "draci");

Modified: scummvm/branches/gsoc2009-draci/engines/draci/draci.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/draci.h	2009-07-03 16:31:25 UTC (rev 42064)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.h	2009-07-03 16:35:04 UTC (rev 42065)
@@ -67,9 +67,11 @@
 };
 
 enum {
-	kDraciGeneralDebugLevel = 1 << 0,
-	kDraciBytecodeDebugLevel = 1 << 1,
-	kDraciArchiverDebugLevel = 1 << 2
+	kDraciGeneralDebugLevel = 	1 << 0,
+	kDraciBytecodeDebugLevel = 	1 << 1,
+	kDraciArchiverDebugLevel = 	1 << 2,
+	kDraciLogicDebugLevel = 	1 << 3,
+	kDraciAnimationDebugLevel =	1 << 4
 };
 
 } // End of namespace Draci


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