#include <savehandler.h>
Public Member Functions | |
SlotFileStatic (GobEngine *vm, const Common::String &base, const Common::String &ext) | |
int | getSlot (int32 offset) const override |
int | getSlotRemainder (int32 offset) const override |
Common::String | build () const |
virtual bool | exists () const |
virtual Common::InSaveFile * | openRead () const |
virtual Common::OutSaveFile * | openWrite () const |
Public Member Functions inherited from Gob::SlotFile | |
SlotFile (GobEngine *vm, uint32 slotCount, const Common::String &base) | |
Protected Attributes | |
Common::String | _ext |
Protected Attributes inherited from Gob::SlotFile | |
GobEngine * | _vm |
Common::String | _base |
uint32 | _slotCount |
A static slot file ("foo.bar").
|
overridevirtual |
Calculates which slot to use.
Implements Gob::SlotFile.
|
overridevirtual |
Calculates the slot remainder, for error checking.
Implements Gob::SlotFile.
Common::String Gob::SlotFileStatic::build | ( | ) | const |
Build the save file name.