1#ifndef YAZE_APP_ZELDA3_INVENTORY_H
2#define YAZE_APP_ZELDA3_INVENTORY_H
4#include "absl/status/status.h"
The Rom class is used to load, save, and modify Rom data.
Represents a bitmap image optimized for SNES ROM hacking.
Represents a palette of colors for the Super Nintendo Entertainment System (SNES).
Modern, robust canvas for drawing and manipulating graphics.
Inventory manages the inventory screen graphics and layout.
absl::Status BuildTileset(Rom *rom)
Build the tileset from 2BPP graphics.
gfx::SnesPalette palette_
std::vector< uint8_t > data_
std::vector< ItemIcon > item_icons_
gfx::Bitmap tilesheets_bmp_
std::vector< uint8_t > test_
absl::Status LoadItemIcons(Rom *rom)
Load individual item icons from ROM.
std::vector< gfx::TileInfo > tiles_
absl::Status Create(Rom *rom)
Initialize and load inventory screen data from ROM.
std::vector< uint8_t > tilesheets_
constexpr int kItemIconsPtr
constexpr int kInventoryStart
Main namespace for the application.
Represents a single item icon (2x2 tiles = 4 tile words)