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 MM::Shared::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 bool | isPathDirectory (const Path &path) const |
virtual int | listMatchingMembers (ArchiveMemberList &list, const Path &pattern, bool matchPathComponents=false) const |
virtual SeekableReadStream * | createReadStreamForMemberAltStream (const Path &path, AltStreamType altStreamType) const |
virtual SeekableReadStream * | createReadStreamForMemberNext (const Path &path, const Archive *starting) const |
Common::Error | dumpArchive (const Path &destPath) |
virtual char | getPathSeparator () const |
Additional Inherited Members | |
Static Public Member Functions inherited from MM::Shared::Xeen::BaseCCArchive | |
static uint16 | convertNameToId (const Common::Path &resourceName) |
Protected Member Functions inherited from MM::Shared::Xeen::BaseCCArchive | |
void | loadIndex (Common::SeekableReadStream &stream) |
void | saveIndex (Common::WriteStream &stream) |
virtual bool | getHeaderEntry (const Common::Path &resourceName, CCEntry &ccEntry) const |
virtual bool | getHeaderEntry (uint16 id, CCEntry &ccEntry) const |
Protected Attributes inherited from MM::Shared::Xeen::BaseCCArchive | |
Common::Array< CCEntry > | _index |
void MM::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 MM::Xeen::SaveArchive::load | ( | Common::SeekableReadStream & | stream | ) |
Loads a save archive from a stream
void MM::Xeen::SaveArchive::save | ( | Common::WriteStream & | s | ) |
Saves a save archive to a savegame
void MM::Xeen::SaveArchive::loadParty | ( | ) |
Load the character roster and party
void MM::Xeen::SaveArchive::replaceEntry | ( | uint16 | id, |
const byte * | data, | ||
size_t | size | ||
) |
Sets a new resource entry