aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorMax Horn2010-04-27 21:40:52 +0000
committerMax Horn2010-04-27 21:40:52 +0000
commit460d69e8855f849e2200c49b198936b1201e0c91 (patch)
tree31bfcaf8c2603d01c9d971fb3b40390e0798ec02 /engines/lure
parent445dccd59bc77e760e649bae982d78f0c3ca6b04 (diff)
downloadscummvm-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/lure')
-rw-r--r--engines/lure/lure.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 7ab9a0be60..f74f5f818a 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -42,12 +42,12 @@ static LureEngine *int_engine = NULL;
LureEngine::LureEngine(OSystem *system, const LureGameDescription *gameDesc): Engine(system), _gameDescription(gameDesc) {
g_eventRec.registerRandomSource(_rnd, "lure");
- Common::addDebugChannel(kLureDebugScripts, "scripts", "Scripts debugging");
- Common::addDebugChannel(kLureDebugAnimations, "animations", "Animations debugging");
- Common::addDebugChannel(kLureDebugHotspots, "hotspots", "Hotspots debugging");
- Common::addDebugChannel(kLureDebugFights, "fights", "Fights debugging");
- Common::addDebugChannel(kLureDebugSounds, "sounds", "Sounds debugging");
- Common::addDebugChannel(kLureDebugStrings, "strings", "Strings debugging");
+ DebugMan.addDebugChannel(kLureDebugScripts, "scripts", "Scripts debugging");
+ DebugMan.addDebugChannel(kLureDebugAnimations, "animations", "Animations debugging");
+ DebugMan.addDebugChannel(kLureDebugHotspots, "hotspots", "Hotspots debugging");
+ DebugMan.addDebugChannel(kLureDebugFights, "fights", "Fights debugging");
+ DebugMan.addDebugChannel(kLureDebugSounds, "sounds", "Sounds debugging");
+ DebugMan.addDebugChannel(kLureDebugStrings, "strings", "Strings debugging");
}
Common::Error LureEngine::init() {
@@ -97,7 +97,7 @@ Common::Error LureEngine::init() {
LureEngine::~LureEngine() {
// Remove all of our debug levels here
- Common::clearAllDebugChannels();
+ DebugMan.clearAllDebugChannels();
if (_initialised) {
// Delete and deinitialise subsystems