22 #ifndef ULTIMA8_FILESYS_SAVEGAME_H 23 #define ULTIMA8_FILESYS_SAVEGAME_H 25 #include "ultima/shared/std/string.h" 26 #include "common/hashmap.h" 27 #include "common/stream.h" 28 #include "common/memstream.h" 29 #include "engines/metaengine.h" 46 enum State { SAVE_CORRUPT, SAVE_VALID, SAVE_OUT_OF_DATE, SAVE_TOO_RECENT };
47 State isValid()
const;
49 uint32 getVersion()
const {
return _version; }
76 bool writeFile(
const Std::string &name,
const uint8 *data, uint32 size);
Definition: savegame.h:37
Definition: memstream.h:194
Definition: archive.h:141
Definition: detection.h:27
Common::SeekableReadStream * getDataSource(const Common::Path &name)
Definition: savegame.h:59