From 9f234b0aea7ce359e16bfdd7f5971ed3207c0b96 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 28 Jul 2016 11:25:20 +0300 Subject: FULLPIPE: Fixed debuf channel registration --- engines/fullpipe/fullpipe.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3