aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
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/gob/gob.cpp
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/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 024728a1d1..ca6266e321 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -130,18 +130,18 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) {
_copyProtection = ConfMan.getBool("copy_protection");
- Common::addDebugChannel(kDebugFuncOp, "FuncOpcodes", "Script FuncOpcodes debug level");
- Common::addDebugChannel(kDebugDrawOp, "DrawOpcodes", "Script DrawOpcodes debug level");
- Common::addDebugChannel(kDebugGobOp, "GoblinOpcodes", "Script GoblinOpcodes debug level");
- Common::addDebugChannel(kDebugSound, "Sound", "Sound output debug level");
- Common::addDebugChannel(kDebugExpression, "Expression", "Expression parser debug level");
- Common::addDebugChannel(kDebugGameFlow, "Gameflow", "Gameflow debug level");
- Common::addDebugChannel(kDebugFileIO, "FileIO", "File Input/Output debug level");
- Common::addDebugChannel(kDebugSaveLoad, "SaveLoad", "Saving/Loading debug level");
- Common::addDebugChannel(kDebugGraphics, "Graphics", "Graphics debug level");
- Common::addDebugChannel(kDebugVideo, "Video", "IMD/VMD video debug level");
- Common::addDebugChannel(kDebugHotspots, "Hotspots", "Hotspots debug level");
- Common::addDebugChannel(kDebugDemo, "Demo", "Demo script debug level");
+ DebugMan.addDebugChannel(kDebugFuncOp, "FuncOpcodes", "Script FuncOpcodes debug level");
+ DebugMan.addDebugChannel(kDebugDrawOp, "DrawOpcodes", "Script DrawOpcodes debug level");
+ DebugMan.addDebugChannel(kDebugGobOp, "GoblinOpcodes", "Script GoblinOpcodes debug level");
+ DebugMan.addDebugChannel(kDebugSound, "Sound", "Sound output debug level");
+ DebugMan.addDebugChannel(kDebugExpression, "Expression", "Expression parser debug level");
+ DebugMan.addDebugChannel(kDebugGameFlow, "Gameflow", "Gameflow debug level");
+ DebugMan.addDebugChannel(kDebugFileIO, "FileIO", "File Input/Output debug level");
+ DebugMan.addDebugChannel(kDebugSaveLoad, "SaveLoad", "Saving/Loading debug level");
+ DebugMan.addDebugChannel(kDebugGraphics, "Graphics", "Graphics debug level");
+ DebugMan.addDebugChannel(kDebugVideo, "Video", "IMD/VMD video debug level");
+ DebugMan.addDebugChannel(kDebugHotspots, "Hotspots", "Hotspots debug level");
+ DebugMan.addDebugChannel(kDebugDemo, "Demo", "Demo script debug level");
g_eventRec.registerRandomSource(_rnd, "gob");
}