yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
sprite_asset.h
Go to the documentation of this file.
1#ifndef YAZE_CORE_SPRITE_ASSET_H_
2#define YAZE_CORE_SPRITE_ASSET_H_
3
4#include <array>
5#include <cstdint>
6#include <string>
7
9
10namespace yaze::project {
12 std::string group = "auto";
13 int index = 0;
14};
15
16// Stored in the project, leaving the upstream ZSM binary format unchanged.
17// zsm_path identifies the saved asset; catalog_key is optional provenance.
19 std::string zsm_path;
20 std::string catalog_key;
21 std::string draw_adapter = "literal_v1";
22 std::string source_path;
23 std::string source_label;
24 std::string source_sha256;
25 std::array<uint8_t, 8> sheets = {0, 10, 6, 7, 0, 0, 0, 0};
26 std::array<SpritePaletteBinding, 8> palette_rows;
28};
29
30} // namespace yaze::project
31#endif
std::array< uint8_t, 8 > sheets
std::array< SpritePaletteBinding, 8 > palette_rows