28 #ifndef GOB_SAVE_SAVECONVERTER_H 29 #define GOB_SAVE_SAVECONVERTER_H 31 #include "common/stream.h" 58 virtual bool load() = 0;
66 bool err()
const override;
69 bool eos()
const override;
70 uint32
read(
void *dataPtr, uint32 dataSize)
override;
72 int64
pos()
const override;
73 int64
size()
const override;
74 bool seek(int64 offset,
int whence = SEEK_SET)
override;
92 uint32 descLength,
bool hasSizes =
true)
const;
94 uint32 count,
bool endian)
const;
96 uint32 count,
bool endian)
const;
98 uint32 width, uint32 height,
bool palette)
const;
103 static bool swapDataEndian(byte *data,
const byte *sizes, uint32 count);
107 uint32 count,
bool endian)
const;
119 bool load()
override;
136 bool load()
override;
139 static const uint32 kSlotCount = 15;
140 static const uint32 kSlotNameLength = 40;
155 bool load()
override;
158 static const uint32 kSlotCount = 30;
159 static const uint32 kSlotNameLength = 40;
164 void getScreenShotProps(
int type,
165 bool &used, uint32 &width, uint32 &height);
177 bool load()
override;
180 static const uint32 kSlotCount = 60;
181 static const uint32 kSlotNameLength = 40;
189 #endif // GOB_SAVE_SAVECONVERTER_H Definition: saveconverter.h:169
static bool swapDataEndian(byte *data, const byte *sizes, uint32 count)
uint32 read(void *dataPtr, uint32 dataSize) override
int64 size() const override
Definition: savefile.h:340
Definition: savefile.h:108
virtual void displayWarning() const
bool err() const override
Definition: saveconverter.h:147
bool seek(int64 offset, int whence=SEEK_SET) override
Definition: savefile.h:130
virtual int isOldSave(Common::InSaveFile **save=0) const =0
Definition: saveconverter.h:128
Definition: savefile.h:200
int64 pos() const override
bool eos() const override
Definition: saveconverter.h:111
char * getDescription() const
virtual void setFileName(const Common::String &fileName)
Definition: savefile.h:162
Definition: saveconverter.h:43