Complete data loaded from a ZSPR file. More...
#include <zspr_loader.h>

Public Member Functions | |
| bool | is_link_sprite () const |
| size_t | tile_count () const |
Public Attributes | |
| ZsprMetadata | metadata |
| std::vector< uint8_t > | sprite_data |
| std::vector< uint8_t > | palette_data |
| std::array< uint16_t, 2 > | glove_colors = {0, 0} |
Complete data loaded from a ZSPR file.
ZSPR files contain Link sprite replacement data used by the ALttP Randomizer community. The format includes:
Definition at line 38 of file zspr_loader.h.
|
inline |
Definition at line 45 of file zspr_loader.h.
References metadata, and yaze::gfx::ZsprMetadata::sprite_type.
Referenced by yaze::gfx::ZsprLoader::ApplyToRom(), and yaze::gfx::ZsprLoader::LoadFromData().
|
inline |
Definition at line 46 of file zspr_loader.h.
References sprite_data.
| ZsprMetadata yaze::gfx::ZsprData::metadata |
Definition at line 39 of file zspr_loader.h.
Referenced by yaze::gfx::ZsprLoader::ApplyToRom(), is_link_sprite(), and yaze::gfx::ZsprLoader::LoadFromData().
| std::vector<uint8_t> yaze::gfx::ZsprData::sprite_data |
Definition at line 40 of file zspr_loader.h.
Referenced by yaze::gfx::ZsprLoader::ApplyToRom(), yaze::gfx::ZsprLoader::LoadFromData(), and tile_count().
| std::vector<uint8_t> yaze::gfx::ZsprData::palette_data |
Definition at line 41 of file zspr_loader.h.
Referenced by yaze::gfx::ZsprLoader::ApplyPaletteToRom(), and yaze::gfx::ZsprLoader::LoadFromData().
| std::array<uint16_t, 2> yaze::gfx::ZsprData::glove_colors = {0, 0} |
Definition at line 42 of file zspr_loader.h.
Referenced by yaze::gfx::ZsprLoader::LoadFromData().