ScummVM API documentation
Gob::SaveLoad_v6 Class Reference

#include <saveload.h>

Inheritance diagram for Gob::SaveLoad_v6:
Gob::SaveLoad

Classes

class  AutoHandler
 
class  AutoSpriteHandler
 
class  ExtraHandler
 
class  GameHandler
 
struct  SaveFile
 
class  SpriteHandler
 
class  TempHandler
 

Public Member Functions

 SaveLoad_v6 (GobEngine *vm, const char *targetName)
 
SaveMode getSaveMode (const char *fileName) const override
 
- Public Member Functions inherited from Gob::SaveLoad
 SaveLoad (GobEngine *vm)
 
virtual Common::List< Common::StringgetFilesMatchingPattern (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 = 60
 
static const uint32 kSlotNameLength = 40
 
static const uint32 kPropsSize = 500
 
static const uint32 kIndexSize = kSlotCount * kSlotNameLength
 

Protected Member Functions

SaveHandlergetHandler (const char *fileName) const override
 
const char * getDescription (const char *fileName) const override
 
const SaveFilegetSaveFile (const char *fileName) const
 
SaveFilegetSaveFile (const char *fileName)
 

Protected Attributes

SpriteHandler_spriteHandler
 
GameHandler_gameHandler
 
AutoHandler_autoHandler
 
AutoSpriteHandler_autoSpriteHandler
 
TempHandler_tmpHandler [2]
 
ExtraHandler_extraHandler [120]
 
- Protected Attributes inherited from Gob::SaveLoad
GobEngine_vm
 

Static Protected Attributes

static SaveFile _saveFiles []
 

Additional Inherited Members

- Public Types inherited from Gob::SaveLoad
enum  SaveMode { kSaveModeNone, kSaveModeIgnore, kSaveModeExists, kSaveModeSave }
 
- 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)
 

Detailed Description

Save/Load class for Urban Runner.

Member Function Documentation

◆ getSaveMode()

SaveMode Gob::SaveLoad_v6::getSaveMode ( const char *  fileName) const
overridevirtual

Returns how to handle that file.

Reimplemented from Gob::SaveLoad.

Member Data Documentation

◆ kIndexSize

const uint32 Gob::SaveLoad_v6::kIndexSize = kSlotCount * kSlotNameLength
static

Index. kSlotCount * kSlotNameLength bytes.


The documentation for this class was generated from the following file: