aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
diff options
context:
space:
mode:
authorD G Turner2014-05-12 00:44:13 +0100
committerD G Turner2014-05-12 00:44:13 +0100
commitb32ca0aaae88a7dbd3445a5611d4a59f0684a99b (patch)
treef57742a939e29edc5d67a7829f56906b02e66b4b /engines/agos/agos.cpp
parent3d3a79108514d1e5b10fc079246501925b1bc813 (diff)
downloadscummvm-rg350-b32ca0aaae88a7dbd3445a5611d4a59f0684a99b.tar.gz
scummvm-rg350-b32ca0aaae88a7dbd3445a5611d4a59f0684a99b.tar.bz2
scummvm-rg350-b32ca0aaae88a7dbd3445a5611d4a59f0684a99b.zip
AGOS: Add image dumping to file enable by debugflag.
This previously required a code change and recompile to enable. It can now be enabled or disabled at runtime using the "image_dump" debug flag.
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 0ee6bb538f..dab839b02b 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -149,6 +149,7 @@ AGOSEngine::AGOSEngine(OSystem *system, const AGOSGameDescription *gd)
DebugMan.addDebugChannel(kDebugVGAOpcode, "vga_opcode", "VGA Opcode debug level");
DebugMan.addDebugChannel(kDebugSubroutine, "subroutine", "Subroutine debug level");
DebugMan.addDebugChannel(kDebugVGAScript, "vga_script", "VGA Script debug level");
+ DebugMan.addDebugChannel(kDebugImageDump, "image_dump", "Enable dumping of images to files");
_vcPtr = 0;
_vcGetOutOfCode = 0;
@@ -249,8 +250,6 @@ AGOSEngine::AGOSEngine(OSystem *system, const AGOSGameDescription *gd)
_backFlag = false;
- _dumpImages = false;
-
_copyProtection = false;
_pause = false;
_speech = false;