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

auto Bitmap () const
 
auto Tilesheet () const
 
auto Palette () const
 
absl::Status Create ()
 
- 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 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

◆ Bitmap()

auto yaze::zelda3::Inventory::Bitmap ( ) const
inline

Definition at line 18 of file inventory.h.

References bitmap_.

◆ Tilesheet()

auto yaze::zelda3::Inventory::Tilesheet ( ) const
inline

Definition at line 19 of file inventory.h.

References tilesheets_bmp_.

◆ Palette()

auto yaze::zelda3::Inventory::Palette ( ) const
inline

Definition at line 20 of file inventory.h.

References palette_.

◆ Create()

◆ 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: