ScummVM API documentation
LastExpress::SaveLoad Class Reference

Public Member Functions

 SaveLoad (LastExpressEngine *engine)
 
void create (const Common::String &target, GameId id)
 
void clear (bool clearStream=false)
 
uint32 init (const Common::String &target, GameId id, bool resetHeaders)
 
void loadLastGame ()
 
void loadGame (uint32 index)
 
void saveGame (SavegameType type, EntityIndex entity, uint32 value)
 
void loadVolumeBrightness ()
 
void saveVolumeBrightness ()
 
bool isGameFinished (uint32 menuIndex, uint32 savegameIndex)
 
uint32 getTime (uint32 index)
 
ChapterIndex getChapter (uint32 index)
 
uint32 getValue (uint32 index)
 
uint32 getLastSavegameTicks () const
 

Static Public Member Functions

static SaveStateList list (const MetaEngine *metaEngine, const Common::String &target)
 
static void remove (const Common::String &target, GameId slot)
 
static Common::String getFilename (const Common::String &target, GameId slot)
 
static Common::InSaveFileopenForLoading (const Common::String &target, GameId slot)
 
static Common::OutSaveFileopenForSaving (const Common::String &target, GameId slot)
 
static bool isSavegamePresent (const Common::String &target, GameId id)
 
static bool isSavegameValid (const Common::String &target, GameId id)
 

Static Public Attributes

static const int kMaximumSaveSlots = 6
 

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