diff options
author | Eugene Sandulenko | 2016-07-28 11:25:20 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-28 11:25:20 +0300 |
commit | 9f234b0aea7ce359e16bfdd7f5971ed3207c0b96 (patch) | |
tree | 0c6f098a70ab543abfc79ac02ab4f41ed9d0ad29 /engines | |
parent | f3f53ab823db665be1093f6ea1290b6922827865 (diff) | |
download | scummvm-rg350-9f234b0aea7ce359e16bfdd7f5971ed3207c0b96.tar.gz scummvm-rg350-9f234b0aea7ce359e16bfdd7f5971ed3207c0b96.tar.bz2 scummvm-rg350-9f234b0aea7ce359e16bfdd7f5971ed3207c0b96.zip |
FULLPIPE: Fixed debuf channel registration
Diffstat (limited to 'engines')
-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; |