mirror of
https://github.com/libAthena/athena.git
synced 2025-08-27 14:05:51 +00:00
29 lines
447 B
C++
29 lines
447 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
|
|
{
|
|
public:
|
|
SpriteFileWriter(atUint8* data, atUint64 length);
|
|
|
|
SpriteFileWriter(std::string_view filepath);
|
|
|
|
void writeFile(Sakura::SpriteFile* file);
|
|
};
|
|
|
|
} // io
|
|
} // zelda
|
|
#endif // SSPRITEFILEWRITER_HPP
|