diff options
author | Max Horn | 2010-04-27 21:40:52 +0000 |
---|---|---|
committer | Max Horn | 2010-04-27 21:40:52 +0000 |
commit | 460d69e8855f849e2200c49b198936b1201e0c91 (patch) | |
tree | 31bfcaf8c2603d01c9d971fb3b40390e0798ec02 /engines/draci/draci.cpp | |
parent | 445dccd59bc77e760e649bae982d78f0c3ca6b04 (diff) | |
download | scummvm-rg350-460d69e8855f849e2200c49b198936b1201e0c91.tar.gz scummvm-rg350-460d69e8855f849e2200c49b198936b1201e0c91.tar.bz2 scummvm-rg350-460d69e8855f849e2200c49b198936b1201e0c91.zip |
COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
Diffstat (limited to 'engines/draci/draci.cpp')
-rw-r--r-- | engines/draci/draci.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp index 882b845f08..40659589b6 100644 --- a/engines/draci/draci.cpp +++ b/engines/draci/draci.cpp @@ -82,13 +82,13 @@ DraciEngine::DraciEngine(OSystem *syst, const ADGameDescription *gameDesc) //SearchMan.addSubDirectoryMatching(_gameDataDir, "sound"); // Here is the right place to set up the engine specific debug levels - 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"); - Common::addDebugChannel(kDraciSoundDebugLevel, "sound", "Sound debug info"); - Common::addDebugChannel(kDraciWalkingDebugLevel, "walking", "Walking debug info"); + DebugMan.addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug info"); + DebugMan.addDebugChannel(kDraciBytecodeDebugLevel, "bytecode", "GPL bytecode instructions"); + DebugMan.addDebugChannel(kDraciArchiverDebugLevel, "archiver", "BAR archiver debug info"); + DebugMan.addDebugChannel(kDraciLogicDebugLevel, "logic", "Game logic debug info"); + DebugMan.addDebugChannel(kDraciAnimationDebugLevel, "animation", "Animation debug info"); + DebugMan.addDebugChannel(kDraciSoundDebugLevel, "sound", "Sound debug info"); + DebugMan.addDebugChannel(kDraciWalkingDebugLevel, "walking", "Walking debug info"); // Don't forget to register your random source g_eventRec.registerRandomSource(_rnd, "draci"); @@ -349,7 +349,7 @@ DraciEngine::~DraciEngine() { delete _dubbingArchive; // Remove all of our debug levels here - Common::clearAllDebugChannels(); + DebugMan.clearAllDebugChannels(); } Common::Error DraciEngine::run() { |