diff options
author | Paul Gilbert | 2015-06-25 20:42:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-25 20:42:02 -0400 |
commit | 92ac962718b07e9b82199d39bb5ce970717da57d (patch) | |
tree | 88e8833f5ef8d100c32cda7a0c5cd18051a2308a /engines/sherlock/saveload.h | |
parent | 66fb4b828ba841b47b3e0cd4e15e00107744f691 (diff) | |
download | scummvm-rg350-92ac962718b07e9b82199d39bb5ce970717da57d.tar.gz scummvm-rg350-92ac962718b07e9b82199d39bb5ce970717da57d.tar.bz2 scummvm-rg350-92ac962718b07e9b82199d39bb5ce970717da57d.zip |
SHERLOCK: RT: Further split-off of Scalpel-specific code
Diffstat (limited to 'engines/sherlock/saveload.h')
-rw-r--r-- | engines/sherlock/saveload.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/engines/sherlock/saveload.h b/engines/sherlock/saveload.h index 49ccc508ef..e485cfc606 100644 --- a/engines/sherlock/saveload.h +++ b/engines/sherlock/saveload.h @@ -42,7 +42,7 @@ enum { enum SaveMode { SAVEMODE_NONE = 0, SAVEMODE_LOAD = 1, SAVEMODE_SAVE = 2 }; -extern const int ENV_POINTS[6][3]; +extern const char *const EMPTY_SAVEGAME_SLOT; struct SherlockSavegameHeader { uint8 _version; @@ -70,7 +70,7 @@ public: }; class SaveManager { -private: +protected: SherlockEngine *_vm; Common::String _target; Graphics::Surface *_saveThumb; @@ -90,15 +90,11 @@ public: SaveMode _envMode; bool _justLoaded; public: + static SaveManager *init(SherlockEngine *vm, const Common::String &target); SaveManager(SherlockEngine *vm, const Common::String &target); ~SaveManager(); /** - * Shows the in-game dialog interface for loading and saving games - */ - void drawInterface(); - - /** * Creates a thumbnail for the current on-screen contents */ void createThumbnail(); @@ -145,16 +141,6 @@ public: void saveGame(int slot, const Common::String &name); /** - * Make sure that the selected savegame is on-screen - */ - bool checkGameOnScreen(int slot); - - /** - * Prompts the user to enter a description in a given slot - */ - bool promptForDescription(int slot); - - /** * Returns true if the given save slot is empty */ bool isSlotEmpty(int slot) const; |