diff options
author | David Fioramonti | 2018-04-26 14:27:59 -0700 |
---|---|---|
committer | Bastien Bouclet | 2018-04-27 19:22:00 +0200 |
commit | 52e247e2397f189667d4637241c25050c6279224 (patch) | |
tree | b82acba6f73d9539ba806ca8b6042dc2a66b3751 /engines/mohawk/myst_state.cpp | |
parent | f125ffb89c59f9f8ad56090f151cc09f52c9f76f (diff) | |
download | scummvm-rg350-52e247e2397f189667d4637241c25050c6279224.tar.gz scummvm-rg350-52e247e2397f189667d4637241c25050c6279224.tar.bz2 scummvm-rg350-52e247e2397f189667d4637241c25050c6279224.zip |
MOHAWK: MYST: Make Dni/Atrus endings an enum
The global variable "ending" tracks various
states that Atrus can be in.
This variable determines what video of
Atrus will be playing and if the brother
books have been destroyed.
Despite this variable being called ending
there are other endings not captured by
this variable (like the brother endings).
Also change spelling of Dini to Dni for one
usage of ActiveAge from a previous commit.
Diffstat (limited to 'engines/mohawk/myst_state.cpp')
-rw-r--r-- | engines/mohawk/myst_state.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/myst_state.cpp b/engines/mohawk/myst_state.cpp index f1b0b9de39..ab98da1f00 100644 --- a/engines/mohawk/myst_state.cpp +++ b/engines/mohawk/myst_state.cpp @@ -79,7 +79,9 @@ MystGameState::MystGameState(MohawkEngine_Myst *vm, Common::SaveFileManager *sav _globals.u0 = 2; // Current Age / Stack - Start in Myst _globals.currentAge = kMystStart; + _globals.heldPage = kNoPage; _globals.u1 = 1; + _globals.ending = kDniNotVisited; // Library Bookcase Door - Default to Up _myst.libraryBookcaseDoor = 1; |