aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stack.h
diff options
context:
space:
mode:
authorBastien Bouclet2016-08-07 08:45:25 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commitf752066a8e4ab50a436c053bf2690a81492c4b15 (patch)
tree4c783263d985febf3ae8ca72cce531a74daf0169 /engines/mohawk/riven_stack.h
parentaa0c89da03b3a3c9ef3a945178ca56d79331726c (diff)
downloadscummvm-rg350-f752066a8e4ab50a436c053bf2690a81492c4b15.tar.gz
scummvm-rg350-f752066a8e4ab50a436c053bf2690a81492c4b15.tar.bz2
scummvm-rg350-f752066a8e4ab50a436c053bf2690a81492c4b15.zip
MOHAWK: Introduce a new RivenStack class
Diffstat (limited to 'engines/mohawk/riven_stack.h')
-rw-r--r--engines/mohawk/riven_stack.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stack.h b/engines/mohawk/riven_stack.h
index ca513a15cc..331a08237e 100644
--- a/engines/mohawk/riven_stack.h
+++ b/engines/mohawk/riven_stack.h
@@ -28,6 +28,28 @@
namespace Mohawk {
class MohawkEngine_Riven;
+class RivenNameList;
+
+/**
+ * A game level
+ *
+ * The names Card and Stack are legacy from the HyperCard engine used in
+ * the original mac version of Myst.
+ *
+ * Stacks contain behaviors that are specific to a game level.
+ */
+class RivenStack {
+public:
+ RivenStack(MohawkEngine_Riven *vm, uint16 id);
+ virtual ~RivenStack();
+
+ /** Get the id of the stack */
+ uint16 getId() const;
+private:
+ MohawkEngine_Riven *_vm;
+
+ uint16 _id;
+};
/**
* Name lists provide bidirectional association between an object's name and its id