#include <savegame.h>
Public Member Functions | |
| void | init (const SaveGamePlayerRecord *avatarInfo) |
| void | save (Common::WriteStream *stream) |
| void | load (Common::SeekableReadStream *stream) |
| void | newGame () |
| void | synchronize (Common::Serializer &s) |
Public Attributes | |
| uint | _unknown1 |
| uint | _moves |
| SaveGamePlayerRecord | _players [8] |
| int | _food |
| short | _gold |
| short | _karma [VIRT_MAX] |
| short | _torches |
| short | _gems |
| short | _keys |
| short | _sextants |
| short | _armor [ARMR_MAX] |
| short | _weapons [WEAP_MAX] |
| short | _reagents [REAG_MAX] |
| short | _mixtures [26] |
| unsigned short | _items |
| LocationCoordsArray | _positions |
| unsigned short | _orientation |
| byte | _stones |
| byte | _runes |
| unsigned short | _members |
| unsigned short | _transport |
| union { | |
| unsigned short _balloonState | |
| unsigned short _torchDuration | |
| }; | |
| unsigned short | _trammelPhase |
| unsigned short | _feluccaPhase |
| unsigned short | _shipHull |
| unsigned short | _lbIntro |
| unsigned short | _lastCamp |
| unsigned short | _lastReagent |
| unsigned short | _lastMeditation |
| unsigned short | _lastVirtue |
Represents the on-disk contents of PARTY.SAV.
| void Ultima::Ultima4::SaveGame::init | ( | const SaveGamePlayerRecord * | avatarInfo | ) |
Initialize a new savegame structure
| void Ultima::Ultima4::SaveGame::save | ( | Common::WriteStream * | stream | ) |
Load an entire savegame, including monsters
| void Ultima::Ultima4::SaveGame::load | ( | Common::SeekableReadStream * | stream | ) |
Save an entire savegame, including monsters
| void Ultima::Ultima4::SaveGame::newGame | ( | ) |
Called when a new game is started without loading an existing savegame from launcher.
| void Ultima::Ultima4::SaveGame::synchronize | ( | Common::Serializer & | s | ) |
Synchronizes data for the savegame structure