From 9ab0d53cd3d8008b55d64cea832191f5ef2155ce Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 13 Aug 2016 08:57:06 +0200 Subject: MOHAWK: Add console commands to dump Riven cards and stacks to stdout --- engines/mohawk/riven_stack.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/mohawk/riven_stack.h') 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(); -- cgit v1.2.3