ScummVM API documentation
Gob::SaveLoad_v7 Class Reference

#include <saveload.h>

Inheritance diagram for Gob::SaveLoad_v7:
Gob::SaveLoad

Classes

class  DrawingOnFloppyDiskHandler
 
class  GameFileHandler
 
struct  SaveFile
 
class  SpriteHandler
 

Public Member Functions

 SaveLoad_v7 (GobEngine *vm, const char *targetName)
 
SaveMode getSaveMode (const char *fileName) const override
 
Common::List< Common::StringgetFilesMatchingPattern (const char *pattern) const override
 
- Public Member Functions inherited from Gob::SaveLoad
 SaveLoad (GobEngine *vm)
 
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 kChildrenCount = 16
 
static const uint32 kAdibou2NbrOfApplications = 5
 
static const uint32 kAdibou2NbrOfSavedDrawings = 12
 
static const uint32 kAdibou2NbrOfConstructionGameFiles = 3
 

Protected Member Functions

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

Protected Attributes

SpriteHandler_faceHandler [kChildrenCount]
 
FakeFileHandler_childrenHandler
 
FakeFileHandler_debilHandler [4]
 
GameFileHandler_configHandler
 
GameFileHandler_adibou2EnvHandler [kChildrenCount]
 
SpriteHandler_adibou2WeatherHandler [kChildrenCount]
 
GameFileHandler_adibou2BreakoutGameProgressHandler [kChildrenCount]
 
FakeFileHandler_adibou2ConstructionGameTempFileHandler [kAdibou2NbrOfConstructionGameFiles]
 
GameFileHandler_adibou2ConstructionGameProgressHandler [kChildrenCount][kAdibou2NbrOfConstructionGameFiles]
 
GameFileHandler_adibou2AppProgressHandler [kChildrenCount][kAdibou2NbrOfApplications]
 
GameFileHandler_adibou2MemoHandler [kChildrenCount]
 
GameFileHandler_adibou2DiploHandler [kChildrenCount]
 
GameFileHandler_adibou2AppliHandler [kAdibou2NbrOfApplications]
 
GameFileHandler_adibou2CriteHandler [kAdibou2NbrOfApplications]
 
GameFileHandler_adibou2ExoHandler [kAdibou2NbrOfApplications]
 
GameFileHandler_adibou2ApplicationsInfoHandler
 
FakeFileHandler_adibou2RetourHandler
 
FakeFileHandler_adibou2LanceHandler
 
TempSpriteHandler_adibou2AppIcoHandler [kAdibou2NbrOfApplications]
 
SpriteHandler_adibou2DrawingHandler [kChildrenCount][kAdibou2NbrOfSavedDrawings]
 
SpriteHandler_adibou2DrawingThumbnailHandler [kChildrenCount][kAdibou2NbrOfSavedDrawings]
 
GameFileHandler_adibou2DrawingPaletteHandler [kChildrenCount]
 
SpriteHandler_adibou2DrawingMailboxHandler [kChildrenCount]
 
SpriteHandler_adibou2CakePhotoHandler [kChildrenCount]
 
SpriteHandler_adibou2FlowerPhotoHandler [kChildrenCount]
 
SpriteHandler_adibou2FlowerInVaseHandler [kChildrenCount]
 
SpriteHandler_adibou2FadedFlowerInVaseHandler [kChildrenCount]
 
SpriteHandler_adibou2PosterHandler [kChildrenCount]
 
DrawingOnFloppyDiskHandler_adibou2DrawingOnFloppyDiskHandler
 
DrawingOnFloppyDiskHandler_adibou2DrawingThumbnailOnFloppyDiskHandler
 
FakeFileHandler_adibou2TestDobHandler
 
FakeFileHandler_adibou2ExerciseListHandler
 
FakeFileHandler_addy4BaseHandler [2]
 
FakeFileHandler_addy4GrundschuleHandler [11]
 
- 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 Adibou 2/Adi.

Member Function Documentation

◆ getSaveMode()

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

Returns how to handle that file.

Reimplemented from Gob::SaveLoad.

◆ getFilesMatchingPattern()

Common::List<Common::String> Gob::SaveLoad_v7::getFilesMatchingPattern ( const char *  pattern) const
overridevirtual

Returns all files known by the saving system matching a pattern.

Reimplemented from Gob::SaveLoad.


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