1 #ifndef ATHENA_NO_SAVES
17 #ifndef MCFILEWRITER_HPP
18 #define MCFILEWRITER_HPP
20 #include "Athena/Types.hpp"
21 #include "Athena/MemoryWriter.hpp"
64 static atUint16 calculateChecksum(atUint8*
data, atUint32
length);
66 atUint16 calculateSlotChecksum(atUint32 game);
72 #endif // MCFILEWRITER_HPP
73 #endif // ATHENA_NO_SAVES
void writeFile(MCFile *file)
Writes the given save data to a file on disk.
The Minish Cap data container class class.
MCFileWriter(atUint8 *, atUint64)
This constructor takes an existing buffer to write to.
atUint64 length() const
Returns whether or not the stream is at the end.
The Minish Cap Save save data writer class.
atUint8 * data() const
Returns a copy of the current buffer. Changes to the copy do not affect the buffer so it's perfectly...