aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.h
diff options
context:
space:
mode:
authorColin Snover2016-10-29 14:32:49 -0500
committerColin Snover2016-11-02 11:27:22 -0500
commita605a891bb632cbe4a94ed4c762fbcdce3e7b89a (patch)
tree3288090a00fab94cf35445465c2c91984c742aea /engines/sci/console.h
parent26ba577aa5fb8d8855de5e0f0b38b9944b95f859 (diff)
downloadscummvm-rg350-a605a891bb632cbe4a94ed4c762fbcdce3e7b89a.tar.gz
scummvm-rg350-a605a891bb632cbe4a94ed4c762fbcdce3e7b89a.tar.bz2
scummvm-rg350-a605a891bb632cbe4a94ed4c762fbcdce3e7b89a.zip
SCI: Add reference dump to disk in debugger
This allows references in memory to be dumped to disk for examination by other tools. In the case of SCI32 bitmaps, data is output in 8-bit TGA format without transparency, which allows the current palette to also be examined. (The alternative would be to use 32-bit TGA to display transparency, and lose the palette, or dump to a more complicated format that supports 1-bit transparency.)
Diffstat (limited to 'engines/sci/console.h')
-rw-r--r--engines/sci/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/console.h b/engines/sci/console.h
index 0b87a4408b..d4b17ee802 100644
--- a/engines/sci/console.h
+++ b/engines/sci/console.h
@@ -163,6 +163,7 @@ private:
bool cmdValueType(int argc, const char **argv);
bool cmdViewListNode(int argc, const char **argv);
bool cmdViewReference(int argc, const char **argv);
+ bool cmdDumpReference(int argc, const char **argv);
bool cmdViewObject(int argc, const char **argv);
bool cmdViewActiveObject(int argc, const char **argv);
bool cmdViewAccumulatorObject(int argc, const char **argv);