ScummVM API documentation
TsAGE::Saver Class Reference

Public Member Functions

Common::Error save (int slot, const Common::String &saveName)
 
Common::Error restore (int slot)
 
void addListener (SaveListener *obj)
 
void addSaveNotifier (SaveNotifierFn fn)
 
void addLoadNotifier (SaveNotifierFn fn)
 
void addObject (SavedObject *obj)
 
void removeObject (SavedObject *obj)
 
void addFactory (SavedObjectFactory fn)
 
void addSavedObjectPtr (SavedObject **ptr, int objIndex)
 
bool savegamesExist () const
 
bool getMacroSaveFlag () const
 
bool getMacroRestoreFlag () const
 
int blockIndexOf (SavedObject *p)
 
int getObjectCount () const
 
void listObjects ()
 

Static Public Member Functions

static WARN_UNUSED_RESULT bool readSavegameHeader (Common::InSaveFile *in, tSageSavegameHeader &header, bool skipThumbnail=true)
 
static void writeSavegameHeader (Common::OutSaveFile *out, tSageSavegameHeader &header)
 

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