aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
diff options
context:
space:
mode:
authorD G Turner2014-05-11 13:17:16 +0100
committerD G Turner2014-05-11 13:17:16 +0100
commit55d8a461774f24db3f6f9a428469ca11353707e5 (patch)
tree739a5830f1dcd7252a8ae189f0d6601503b49902 /engines/agos/agos.cpp
parent0c9390fb271bf49377443d9712a270ada4210249 (diff)
downloadscummvm-rg350-55d8a461774f24db3f6f9a428469ca11353707e5.tar.gz
scummvm-rg350-55d8a461774f24db3f6f9a428469ca11353707e5.tar.bz2
scummvm-rg350-55d8a461774f24db3f6f9a428469ca11353707e5.zip
AGOS: Switch script debugging to debug flag, rather than level 4.
This is now set by --debugflags=script rather than -d 4, though it will still require a debug level greater than 0.
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r--engines/agos/agos.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 809311219f..cf444bc84d 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -147,6 +147,7 @@ AGOSEngine::AGOSEngine(OSystem *system, const AGOSGameDescription *gd)
DebugMan.addDebugChannel(kDebugOpcode, "opcode", "Opcode debug level");
DebugMan.addDebugChannel(kDebugVGAOpcode, "vga_opcode", "VGA Opcode debug level");
+ DebugMan.addDebugChannel(kDebugScript, "script", "Script debug level");
_vcPtr = 0;
_vcGetOutOfCode = 0;
@@ -247,7 +248,6 @@ AGOSEngine::AGOSEngine(OSystem *system, const AGOSGameDescription *gd)
_backFlag = false;
- _dumpScripts = false;
_dumpVgaScripts = false;
_dumpImages = false;
@@ -678,7 +678,6 @@ Common::Error AGOSEngine::init() {
// TODO: Use special debug levels instead of the following hack.
switch (gDebugLevel) {
- case 4: _dumpScripts = true; break;
case 5: _dumpVgaScripts = true; break;
}