aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stack.h
diff options
context:
space:
mode:
authorBastien Bouclet2016-08-13 08:57:06 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commit9ab0d53cd3d8008b55d64cea832191f5ef2155ce (patch)
tree457dfd8bfaf5da2816acab8f49eb800484c6f115 /engines/mohawk/riven_stack.h
parentab9b241e50a54384635f3bc35dbb775e0fa3a909 (diff)
downloadscummvm-rg350-9ab0d53cd3d8008b55d64cea832191f5ef2155ce.tar.gz
scummvm-rg350-9ab0d53cd3d8008b55d64cea832191f5ef2155ce.tar.bz2
scummvm-rg350-9ab0d53cd3d8008b55d64cea832191f5ef2155ce.zip
MOHAWK: Add console commands to dump Riven cards and stacks to stdout
Diffstat (limited to 'engines/mohawk/riven_stack.h')
-rw-r--r--engines/mohawk/riven_stack.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stack.h b/engines/mohawk/riven_stack.h
index 6daf3654e1..33c6f48034 100644
--- a/engines/mohawk/riven_stack.h
+++ b/engines/mohawk/riven_stack.h
@@ -95,6 +95,12 @@ public:
/** Get the global id of the currently active card */
uint32 getCurrentCardGlobalId() const;
+
+ /** Get the global id of a card in the stack */
+ uint32 getCardGlobalId(uint16 cardId) const;
+
+ /** Write all of the stack's data including its cards to standard output */
+ void dump() const;
private:
void loadResourceNames();
void loadCardIdMap();