#include <saveload.h>
Public Member Functions | |
File (GobEngine *vm, const char *base) | |
File (const File &file) | |
int | getSlot (int32 offset) const override |
int | getSlotRemainder (int32 offset) const override |
![]() | |
SlotFileIndexed (GobEngine *vm, uint32 slotCount, const Common::String &base, const Common::String &extStub) | |
Common::String | build (int slot) const |
virtual uint32 | getSlotMax () const |
virtual int32 | tallyUpFiles (uint32 slotSize, uint32 indexSize) const |
virtual void | buildIndex (byte *buffer, SavePartInfo &info, SaveConverter *converter=0, bool setLongest=false) const |
virtual bool | exists (int slot) const |
virtual Common::InSaveFile * | openRead (int slot) const |
virtual Common::OutSaveFile * | openWrite (int slot) const |
![]() | |
SlotFile (GobEngine *vm, uint32 slotCount, const Common::String &base) | |
Additional Inherited Members | |
![]() | |
Common::String | _ext |
![]() | |
GobEngine * | _vm |
Common::String | _base |
uint32 | _slotCount |
Slot file construction.
|
overridevirtual |
Calculates which slot to use.
Implements Gob::SlotFile.
|
overridevirtual |
Calculates the slot remainder, for error checking.
Implements Gob::SlotFile.