aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/gob.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index dfbff33c63..605f1ed5b9 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -115,6 +115,19 @@ void PauseDialog::handleKeyDown(Common::KeyState state) {
GobEngine::GobEngine(OSystem *syst) : Engine(syst), _rnd("gob") {
+ 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");
+
_sound = 0; _mult = 0; _game = 0;
_global = 0; _dataIO = 0; _goblin = 0;
_vidPlayer = 0; _init = 0; _inter = 0;
@@ -136,19 +149,6 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst), _rnd("gob") {
_copyProtection = ConfMan.getBool("copy_protection");
_console = new GobConsole(this);
-
- 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");
}
GobEngine::~GobEngine() {