1 #ifndef ATHENA_NO_ZQUEST 21 #include "athena/Global.hpp" 26 #define ZQUEST_VERSION_CHECK(major, minor, revision) \ 27 (major | (minor << 8) | (revision << 16)) 133 void setData(std::unique_ptr<atUint8[]>&&
data, atUint32 length);
139 atUint8*
data()
const;
147 void setGameString(
const std::string&
gameString);
154 static const std::vector<std::string> gameStringList();
157 std::string m_gameString;
159 std::unique_ptr<atUint8[]> m_data;
167 #endif // ATHENA_NO_ZQUEST
static const atUint32 Minor
The current minor version of the ZQuest format.
void setData(std::unique_ptr< atUint8[]> &&data, atUint32 length)
setData
Game
The list of games currently supported by ZQuest.
void setGame(Game game)
setGame
ZQuestFile is an export format for save data.
std::string gameString() const
gameString
static const atUint32 Major
The current major version of the ZQuest format.
static const atUint32 Magic
The magic number used to identify the file e.g. "ZQS1".
static const atUint32 Revision
The current revision of the ZQuest format.
Endian endian() const
endian
static const atUint32 Version
The current version of the ZQuest format.
atUint8 * data() const
data
Total number of supported games.
void setEndian(Endian endian)
setEndian
atUint32 length() const
length