diff options
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; |