Public Member Functions | |
| ScalpelSaveManager (SherlockEngine *vm, const Common::String &target) | |
| void | drawInterface () |
| int | getHighlightedButton () const |
| void | highlightButtons (int btnIndex) |
| bool | checkGameOnScreen (int slot) |
| bool | promptForDescription (int slot) |
| int | identifyUserButton (Common::CustomEventType action) |
Public Member Functions inherited from Sherlock::SaveManager | |
| SaveManager (SherlockEngine *vm, const Common::String &target) | |
| void | createThumbnail () |
| Common::String | generateSaveName (int slot) |
| void | writeSavegameHeader (Common::OutSaveFile *out, SherlockSavegameHeader &header) |
| int | getHighlightedButton () const |
| void | highlightButtons (int btnIndex) |
| void | loadGame (int slot) |
| void | saveGame (int slot, const Common::String &name) |
| bool | isSlotEmpty (int slot) const |
Public Attributes | |
| SaveMode | _envMode |
| Common::String | _fixedTextExit |
| Common::String | _fixedTextLoad |
| Common::String | _fixedTextSave |
| Common::String | _fixedTextUp |
| Common::String | _fixedTextDown |
| Common::String | _fixedTextQuit |
| Common::CustomEventType | _actionsIndexed [15] |
| Common::String | _fixedTextQuitGameQuestion |
| Common::String | _fixedTextQuitGameYes |
| Common::String | _fixedTextQuitGameNo |
Public Attributes inherited from Sherlock::SaveManager | |
| Common::StringArray | _savegames |
| int | _savegameIndex |
| bool | _justLoaded |
Additional Inherited Members | |
Static Public Member Functions inherited from Sherlock::SaveManager | |
| static SaveManager * | init (SherlockEngine *vm, const Common::String &target) |
| static SaveStateList | getSavegameList (const MetaEngine *metaEngine, const Common::String &target) |
| static WARN_UNUSED_RESULT bool | readSavegameHeader (Common::InSaveFile *in, SherlockSavegameHeader &header, bool skipThumbnail=true) |
Protected Member Functions inherited from Sherlock::SaveManager | |
| void | createSavegameList () |
| void | synchronize (Serializer &s) |
Protected Attributes inherited from Sherlock::SaveManager | |
| SherlockEngine * | _vm |
| Common::String | _target |
| Graphics::Surface * | _saveThumb |
| void Sherlock::Scalpel::ScalpelSaveManager::drawInterface | ( | ) |
Shows the in-game dialog interface for loading and saving games
| int Sherlock::Scalpel::ScalpelSaveManager::getHighlightedButton | ( | ) | const |
Return the index of the button the mouse is over, if any
| void Sherlock::Scalpel::ScalpelSaveManager::highlightButtons | ( | int | btnIndex | ) |
Handle highlighting buttons
| bool Sherlock::Scalpel::ScalpelSaveManager::checkGameOnScreen | ( | int | slot | ) |
Make sure that the selected savegame is on-screen
| bool Sherlock::Scalpel::ScalpelSaveManager::promptForDescription | ( | int | slot | ) |
Prompts the user to enter a description in a given slot
| int Sherlock::Scalpel::ScalpelSaveManager::identifyUserButton | ( | Common::CustomEventType | action | ) |
Identifies a button number according to the action, that the user pressed