diff options
author | Bastien Bouclet | 2016-08-07 08:45:25 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | f752066a8e4ab50a436c053bf2690a81492c4b15 (patch) | |
tree | 4c783263d985febf3ae8ca72cce531a74daf0169 /engines/mohawk/riven_stack.h | |
parent | aa0c89da03b3a3c9ef3a945178ca56d79331726c (diff) | |
download | scummvm-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.h | 22 |
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 |