#include <saveload.h>
Classes | |
class | GameHandler |
struct | SaveFile |
class | ScreenshotHandler |
Public Types | |
enum | ScreenshotType { kScreenshotTypeGob3, kScreenshotTypeLost } |
Public Types inherited from Gob::SaveLoad | |
enum | SaveMode { kSaveModeNone, kSaveModeIgnore, kSaveModeExists, kSaveModeSave } |
Public Member Functions | |
SaveLoad_v3 (GobEngine *vm, const char *targetName, ScreenshotType sShotType) | |
SaveMode | getSaveMode (const char *fileName) const override |
Public Member Functions inherited from Gob::SaveLoad | |
SaveLoad (GobEngine *vm) | |
virtual Common::List< Common::String > | getFilesMatchingPattern (const char *pattern) const |
int32 | getSize (const char *fileName) |
bool | load (const char *fileName, int16 dataVar, int32 size, int32 offset) |
bool | loadToRaw (const char *fileName, byte *ptr, int32 size, int32 offset) |
bool | save (const char *fileName, int16 dataVar, int32 size, int32 offset) |
bool | saveFromRaw (const char *fileName, byte *ptr, int32 size, int32 offset) |
bool | copySaveGame (const char *fileNameSrc, const char *fileNameDest) |
bool | deleteFile (const char *fileName) |
Static Public Attributes | |
static const uint32 | kSlotCount = 30 |
static const uint32 | kSlotNameLength = 40 |
static const uint32 | kPropsSize = 500 |
static const uint32 | kIndexSize = kSlotCount * kSlotNameLength |
Protected Member Functions | |
SaveHandler * | getHandler (const char *fileName) const override |
const char * | getDescription (const char *fileName) const override |
const SaveFile * | getSaveFile (const char *fileName) const |
SaveFile * | getSaveFile (const char *fileName) |
Protected Attributes | |
ScreenshotType | _sShotType |
GameHandler * | _gameHandler |
NotesHandler * | _notesHandler |
TempSpriteHandler * | _tempSpriteHandler |
ScreenshotHandler * | _screenshotHandler |
Protected Attributes inherited from Gob::SaveLoad | |
GobEngine * | _vm |
Static Protected Attributes | |
static SaveFile | _saveFiles [] |
Additional Inherited Members | |
Static Public Member Functions inherited from Gob::SaveLoad | |
static const char * | stripPath (const char *fileName, char separator='\\') |
static Common::String | replacePathSeparators (const char *path, char newSeparator) |
Save/Load class for Goblins 3 and Lost in Time.
|
overridevirtual |
Returns how to handle that file.
Reimplemented from Gob::SaveLoad.
|
static |
Index. kSlotCount * kSlotNameLength bytes.