athena/include/athena/SpriteFileWriter.hpp

30 lines
478 B
C++

#ifndef SSPRITEFILEWRITER_HPP
#define SSPRITEFILEWRITER_HPP
#include "athena/MemoryWriter.hpp"
namespace athena
{
namespace Sakura
{
class SpriteFile;
} // Sakura
namespace io
{
class SpriteFileWriter : public MemoryCopyWriter
{
MEMORYCOPYWRITER_BASE();
public:
SpriteFileWriter(atUint8* data, atUint64 length);
SpriteFileWriter(const std::string& filepath);
void writeFile(Sakura::SpriteFile* file);
};
} // io
} // zelda
#endif // SSPRITEFILEWRITER_HPP