Public Member Functions | |
SaveArchive (Party *party) | |
void | reset (CCArchive *src) |
Common::SeekableReadStream * | createReadStreamForMember (const Common::Path &path) const override |
virtual Common::SeekableReadStream * | createReadStreamForMember (uint16 id) const |
void | load (Common::SeekableReadStream &stream) |
void | save (Common::WriteStream &s) |
void | loadParty () |
void | replaceEntry (uint16 id, const byte *data, size_t size) |
Public Member Functions inherited from Xeen::BaseCCArchive | |
bool | hasFile (const Common::Path &path) const override |
int | listMembers (Common::ArchiveMemberList &list) const override |
const Common::ArchiveMemberPtr | getMember (const Common::Path &path) const override |
Public Member Functions inherited from Common::Archive | |
virtual int | listMatchingMembers (ArchiveMemberList &list, const Path &pattern) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Xeen::BaseCCArchive | |
static uint16 | convertNameToId (const Common::String &resourceName) |
Protected Member Functions inherited from Xeen::BaseCCArchive | |
void | loadIndex (Common::SeekableReadStream &stream) |
void | saveIndex (Common::WriteStream &stream) |
virtual bool | getHeaderEntry (const Common::String &resourceName, CCEntry &ccEntry) const |
virtual bool | getHeaderEntry (uint16 id, CCEntry &ccEntry) const |
Protected Attributes inherited from Xeen::BaseCCArchive | |
Common::Array< CCEntry > | _index |
void Xeen::SaveArchive::reset | ( | CCArchive * | src | ) |
Sets up the dynamic data for the game for a new game
|
overridevirtual |
Archive implementation
Implements Common::Archive.
|
virtual |
Archive implementation
void Xeen::SaveArchive::load | ( | Common::SeekableReadStream & | stream | ) |
Loads a save archive from a stream
void Xeen::SaveArchive::save | ( | Common::WriteStream & | s | ) |
Saves a save archive to a savegame
void Xeen::SaveArchive::loadParty | ( | ) |
Load the character roster and party
void Xeen::SaveArchive::replaceEntry | ( | uint16 | id, |
const byte * | data, | ||
size_t | size | ||
) |
Sets a new resource entry