diff options
Diffstat (limited to 'engines/cge/cge.cpp')
-rw-r--r-- | engines/cge/cge.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp index 239fc89dfc..a3478b14f8 100644 --- a/engines/cge/cge.cpp +++ b/engines/cge/cge.cpp @@ -44,10 +44,9 @@ CGEEngine::CGEEngine(OSystem *syst, const ADGameDescription *gameDescription) : Engine(syst), _gameDescription(gameDescription), _randomSource("cge") { // Debug/console setup - DebugMan.addDebugChannel(kCGEDebug, "general", "CGE general debug channel"); - DebugMan.addDebugChannel(kDebugBitmap, "bitmap", "CGE Bitmap debug channel"); - DebugMan.addDebugChannel(kDebugFile, "file", "CGE IO debug channel"); - DebugMan.addDebugChannel(kDebugEngine, "engine", "CGE Engine debug channel"); + DebugMan.addDebugChannel(kCGEDebugBitmap, "bitmap", "CGE Bitmap debug channel"); + DebugMan.addDebugChannel(kCGEDebugFile, "file", "CGE IO debug channel"); + DebugMan.addDebugChannel(kCGEDebugEngine, "engine", "CGE Engine debug channel"); _isDemo = _gameDescription->flags & ADGF_DEMO; _startupMode = 1; @@ -59,7 +58,7 @@ CGEEngine::CGEEngine(OSystem *syst, const ADGameDescription *gameDescription) } void CGEEngine::setup() { - debugC(1, kDebugEngine, "CGEEngine::setup()"); + debugC(1, kCGEDebugEngine, "CGEEngine::setup()"); // Initialise fields _lastFrame = 0; @@ -137,7 +136,7 @@ void CGEEngine::setup() { } CGEEngine::~CGEEngine() { - debugC(1, kDebugEngine, "CGEEngine::~CGEEngine()"); + debugC(1, kCGEDebugEngine, "CGEEngine::~CGEEngine()"); // Call classes with static members to clear them up Talk::deinit(); @@ -175,7 +174,7 @@ CGEEngine::~CGEEngine() { } Common::Error CGEEngine::run() { - debugC(1, kDebugEngine, "CGEEngine::run()"); + debugC(1, kCGEDebugEngine, "CGEEngine::run()"); // Initialize graphics using following: initGraphics(320, 200, false); |