aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-05-24 13:08:09 +0000
committerPaweł Kołodziejski2006-05-24 13:08:09 +0000
commit3d441e579ec98b71761b4d9c7443fd278e1f5736 (patch)
treed9eae5cde2e11ec9fba8c50abd1447f7dcb9f05d /engines
parent691ae72a591f761af458882a9ae5c5b945948921 (diff)
downloadscummvm-rg350-3d441e579ec98b71761b4d9c7443fd278e1f5736.tar.gz
scummvm-rg350-3d441e579ec98b71761b4d9c7443fd278e1f5736.tar.bz2
scummvm-rg350-3d441e579ec98b71761b4d9c7443fd278e1f5736.zip
moved addSpecialDebugLevel into constructor
svn-id: r22606
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 7487cbecf9..54ba37093b 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -467,6 +467,16 @@ AgiEngine::AgiEngine(OSystem * syst) : Engine(syst) {
rnd = new Common::RandomSource();
+ Common::addSpecialDebugLevel(kDebugLevelMain, "Main", "Generic debug level");
+ Common::addSpecialDebugLevel(kDebugLevelResources, "Resources", "Resources debugging");
+ Common::addSpecialDebugLevel(kDebugLevelSprites, "Sprites", "Sprites debugging");
+ Common::addSpecialDebugLevel(kDebugLevelInventory, "Inventory", "Inventory debugging");
+ Common::addSpecialDebugLevel(kDebugLevelInput, "Input", "Input events debugging");
+ Common::addSpecialDebugLevel(kDebugLevelMenu, "Menu", "Menu debugging");
+ Common::addSpecialDebugLevel(kDebugLevelScripts, "Scrpits", "Scripts debugging");
+ Common::addSpecialDebugLevel(kDebugLevelSound, "Sound", "Sound debugging");
+ Common::addSpecialDebugLevel(kDebugLevelText, "Text", "Text output debugging");
+
game.clock_enabled = false;
game.state = STATE_INIT;
}
@@ -539,16 +549,6 @@ int AgiEngine::init() {
_system->initSize(320, 200);
_system->endGFXTransaction();
- Common::addSpecialDebugLevel(kDebugLevelMain, "Main", "Generic debug level");
- Common::addSpecialDebugLevel(kDebugLevelResources, "Resources", "Resources debugging");
- Common::addSpecialDebugLevel(kDebugLevelSprites, "Sprites", "Sprites debugging");
- Common::addSpecialDebugLevel(kDebugLevelInventory, "Inventory", "Inventory debugging");
- Common::addSpecialDebugLevel(kDebugLevelInput, "Input", "Input events debugging");
- Common::addSpecialDebugLevel(kDebugLevelMenu, "Menu", "Menu debugging");
- Common::addSpecialDebugLevel(kDebugLevelScripts, "Scrpits", "Scripts debugging");
- Common::addSpecialDebugLevel(kDebugLevelSound, "Sound", "Sound debugging");
- Common::addSpecialDebugLevel(kDebugLevelText, "Text", "Text output debugging");
-
initialize();
gfx_set_palette();