yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::Inventory Class Reference

#include <inventory.h>

Inheritance diagram for yaze::zelda3::Inventory:
Collaboration diagram for yaze::zelda3::Inventory:

Public Member Functions

absl::Status Create ()
 
auto & bitmap ()
 
auto & tilesheet ()
 
auto & palette ()
 
- Public Member Functions inherited from yaze::SharedRom
 SharedRom ()=default
 
virtual ~SharedRom ()=default
 
std::shared_ptr< Romshared_rom ()
 
auto rom ()
 

Private Member Functions

absl::Status BuildTileset ()
 

Private Attributes

std::vector< uint8_t > data_
 
gfx::Bitmap bitmap_
 
std::vector< uint8_t > tilesheets_
 
std::vector< uint8_t > test_
 
gfx::Bitmap tilesheets_bmp_
 
gfx::SnesPalette palette_
 
gui::Canvas canvas_
 
std::vector< gfx::TileInfotiles_
 

Additional Inherited Members

- Static Public Member Functions inherited from yaze::SharedRom
static void set_rom (Rom *rom)
 
- Static Public Attributes inherited from yaze::SharedRom
static std::shared_ptr< Romshared_rom_ = nullptr
 

Detailed Description

Definition at line 16 of file inventory.h.

Member Function Documentation

◆ Create()

◆ bitmap()

auto & yaze::zelda3::Inventory::bitmap ( )
inline

Definition at line 20 of file inventory.h.

References bitmap_.

◆ tilesheet()

auto & yaze::zelda3::Inventory::tilesheet ( )
inline

Definition at line 21 of file inventory.h.

References tilesheets_bmp_.

◆ palette()

auto & yaze::zelda3::Inventory::palette ( )
inline

Definition at line 22 of file inventory.h.

References palette_.

◆ BuildTileset()

absl::Status yaze::zelda3::Inventory::BuildTileset ( )
private

Member Data Documentation

◆ data_

std::vector<uint8_t> yaze::zelda3::Inventory::data_
private

Definition at line 27 of file inventory.h.

Referenced by Create().

◆ bitmap_

gfx::Bitmap yaze::zelda3::Inventory::bitmap_
private

Definition at line 28 of file inventory.h.

Referenced by bitmap(), and Create().

◆ tilesheets_

std::vector<uint8_t> yaze::zelda3::Inventory::tilesheets_
private

Definition at line 30 of file inventory.h.

Referenced by BuildTileset().

◆ test_

std::vector<uint8_t> yaze::zelda3::Inventory::test_
private

Definition at line 31 of file inventory.h.

Referenced by BuildTileset(), and Create().

◆ tilesheets_bmp_

gfx::Bitmap yaze::zelda3::Inventory::tilesheets_bmp_
private

Definition at line 32 of file inventory.h.

Referenced by BuildTileset(), and tilesheet().

◆ palette_

gfx::SnesPalette yaze::zelda3::Inventory::palette_
private

Definition at line 33 of file inventory.h.

Referenced by BuildTileset(), Create(), and palette().

◆ canvas_

gui::Canvas yaze::zelda3::Inventory::canvas_
private

Definition at line 35 of file inventory.h.

◆ tiles_

std::vector<gfx::TileInfo> yaze::zelda3::Inventory::tiles_
private

Definition at line 36 of file inventory.h.

Referenced by Create().


The documentation for this class was generated from the following files: