diff options
author | Paul Gilbert | 2016-10-28 20:19:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-10-28 20:19:35 -0400 |
commit | f7c7f11435c96781d02c8c44c29e9da08392eec2 (patch) | |
tree | b56fbe645b3f902a29310e847baf1c7007799cab /engines/titanic/titanic.cpp | |
parent | aee3599e6bc2fd2cf8cd627de7f607365302efa6 (diff) | |
download | scummvm-rg350-f7c7f11435c96781d02c8c44c29e9da08392eec2.tar.gz scummvm-rg350-f7c7f11435c96781d02c8c44c29e9da08392eec2.tar.bz2 scummvm-rg350-f7c7f11435c96781d02c8c44c29e9da08392eec2.zip |
TITANIC: Renames and adding debugging
Diffstat (limited to 'engines/titanic/titanic.cpp')
-rw-r--r-- | engines/titanic/titanic.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/titanic.cpp b/engines/titanic/titanic.cpp index 84f52c84df..88cc25af43 100644 --- a/engines/titanic/titanic.cpp +++ b/engines/titanic/titanic.cpp @@ -60,6 +60,12 @@ TitanicEngine::TitanicEngine(OSystem *syst, const TitanicGameDescription *gameDe _scriptHandler = nullptr; _script = nullptr; CMusicRoom::_musicHandler = nullptr; + + // Set up debug channels + DebugMan.addDebugChannel(kDebugCore, "core", "Core engine debug level"); + DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts"); + DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling"); + DebugMan.addDebugChannel(kDebugSound, "sound", "Sound and Music handling"); } TitanicEngine::~TitanicEngine() { @@ -78,12 +84,6 @@ void TitanicEngine::initializePath(const Common::FSNode &gamePath) { } void TitanicEngine::initialize() { - // Set up debug channels - DebugMan.addDebugChannel(kDebugCore, "core", "Core engine debug level"); - DebugMan.addDebugChannel(kDebugScripts, "scripts", "Game scripts"); - DebugMan.addDebugChannel(kDebugGraphics, "graphics", "Graphics handling"); - DebugMan.addDebugChannel(kDebugSound, "sound", "Sound and Music handling"); - _debugger = new Debugger(this); _filesManager = new CFilesManager(this); |