diff options
author | Bastien Bouclet | 2018-04-29 19:22:50 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-06-29 13:15:01 +0200 |
commit | 73b3a43b893e78fd7f18eae490e24f253414ce31 (patch) | |
tree | 036ea197e1fc9ab05511f41dd4adb868d7a3561e /engines/mohawk/myst_state.h | |
parent | 7703b3617e8b2dc9dbf0cc614344fd8fc66ca6a4 (diff) | |
download | scummvm-rg350-73b3a43b893e78fd7f18eae490e24f253414ce31.tar.gz scummvm-rg350-73b3a43b893e78fd7f18eae490e24f253414ce31.tar.bz2 scummvm-rg350-73b3a43b893e78fd7f18eae490e24f253414ce31.zip |
MOHAWK: MYST: Introduce a main menu stack
Used in the 25th Anniversary edition of Myst ME
Diffstat (limited to 'engines/mohawk/myst_state.h')
-rw-r--r-- | engines/mohawk/myst_state.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mohawk/myst_state.h b/engines/mohawk/myst_state.h index 7dc75c74f4..a3bb38b808 100644 --- a/engines/mohawk/myst_state.h +++ b/engines/mohawk/myst_state.h @@ -108,8 +108,9 @@ public: static SaveStateDescriptor querySaveMetaInfos(int slot); static Common::String querySaveDescription(int slot); + void reset(); bool load(int slot); - bool save(int slot, const Common::String &desc, bool autoSave); + bool save(int slot, const Common::String &desc, const Graphics::Surface *thumbnail, bool autosave); bool isAutoSaveAllowed(); static void deleteSave(int slot); @@ -346,7 +347,7 @@ private: void loadMetadata(int slot); bool saveState(int slot); void updateMetadateForSaving(const Common::String &desc, bool autoSave); - bool saveMetadata(int slot); + bool saveMetadata(int slot, const Graphics::Surface *thumbnail); // The values in these regions are lists of VIEW resources // which correspond to visited zip destinations |