aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kasak2009-07-03 16:35:04 +0000
committerDenis Kasak2009-07-03 16:35:04 +0000
commit52642e2dc9db65b87994b56e19c14b1b039dcb08 (patch)
tree462d4933a89afe59812a2d67e8c6ea980f2c4b4a
parentb232202b3383b44407d24101cb175e4190f851b4 (diff)
downloadscummvm-rg350-52642e2dc9db65b87994b56e19c14b1b039dcb08.tar.gz
scummvm-rg350-52642e2dc9db65b87994b56e19c14b1b039dcb08.tar.bz2
scummvm-rg350-52642e2dc9db65b87994b56e19c14b1b039dcb08.zip
Added two more debug levels (logic and animation).
svn-id: r42065
-rw-r--r--engines/draci/draci.cpp4
-rw-r--r--engines/draci/draci.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index 295314f044..cef66893fe 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -62,9 +62,11 @@ DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc)
//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");
diff --git a/engines/draci/draci.h b/engines/draci/draci.h
index 971fe3f228..aa8969d9aa 100644
--- a/engines/draci/draci.h
+++ b/engines/draci/draci.h
@@ -67,9 +67,11 @@ private:
};
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