Functions | |
| absl::StatusOr< std::vector< uint8_t > > | Decode (std::span< const uint8_t > bytes, int bpp) |
| absl::StatusOr< std::vector< uint8_t > > | Resolve (const project::SpriteGraphicsSource &source, uint16_t sheet, const zelda3::GameData *data, const Rom *rom, const std::filesystem::path &project_directory) |
|
inline |
Definition at line 19 of file sprite_graphics_source.h.
References yaze::gfx::UnpackBppTile().
Referenced by Resolve().
|
inline |
Definition at line 36 of file sprite_graphics_source.h.
References yaze::project::SpriteGraphicsSource::bpp, Decode(), yaze::zelda3::GraphicsSheetStore::HasSheet(), yaze::Rom::is_loaded(), yaze::project::SpriteGraphicsSource::kind, yaze::project::SpriteGraphicsSource::offset, yaze::project::SpriteGraphicsSource::path, yaze::zelda3::GraphicsSheetStore::Sheet(), yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, yaze::Rom::size(), and yaze::Rom::vector().
Referenced by yaze::editor::SpriteEditor::LoadSpriteGraphicsBuffer(), and yaze::editor::SpriteEditor::SetSpriteGraphicsSource().