diff options
-rw-r--r-- | engines/fullpipe/fullpipe.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp index 283c71e89f..5f06d8ad79 100644 --- a/engines/fullpipe/fullpipe.cpp +++ b/engines/fullpipe/fullpipe.cpp @@ -48,6 +48,13 @@ FullpipeEngine *g_fp = 0; Vars *g_vars = 0; FullpipeEngine::FullpipeEngine(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) { + DebugMan.addDebugChannel(kDebugPathfinding, "path", "Pathfinding"); + DebugMan.addDebugChannel(kDebugDrawing, "drawing", "Drawing"); + DebugMan.addDebugChannel(kDebugLoading, "loading", "Scene loading"); + DebugMan.addDebugChannel(kDebugAnimation, "animation", "Animation"); + DebugMan.addDebugChannel(kDebugMemory, "memory", "Memory management"); + DebugMan.addDebugChannel(kDebugEvents, "events", "Event handling"); + // Setup mixer if (!_mixer->isReady()) { warning("Sound initialization failed."); @@ -200,13 +207,6 @@ FullpipeEngine::~FullpipeEngine() { } void FullpipeEngine::initialize() { - DebugMan.addDebugChannel(kDebugPathfinding, "path", "Pathfinding"); - DebugMan.addDebugChannel(kDebugDrawing, "drawing", "Drawing"); - DebugMan.addDebugChannel(kDebugLoading, "loading", "Scene loading"); - DebugMan.addDebugChannel(kDebugAnimation, "animation", "Animation"); - DebugMan.addDebugChannel(kDebugMemory, "memory", "Memory management"); - DebugMan.addDebugChannel(kDebugEvents, "events", "Event handling"); - _globalMessageQueueList = new GlobalMessageQueueList; _behaviorManager = new BehaviorManager; |