#include <inventory.h>
Public Member Functions | |
auto | Bitmap () const |
auto | Tilesheet () const |
auto | Palette () const |
absl::Status | Create () |
Public Member Functions inherited from yaze::app::SharedRom | |
SharedRom ()=default | |
virtual | ~SharedRom ()=default |
std::shared_ptr< Rom > | shared_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::TileInfo > | tiles_ |
Additional Inherited Members | |
Static Public Attributes inherited from yaze::app::SharedRom | |
static std::shared_ptr< Rom > | shared_rom_ = nullptr |
Definition at line 18 of file inventory.h.
|
inline |
Definition at line 20 of file inventory.h.
References bitmap_.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryMenuEditor().
|
inline |
Definition at line 21 of file inventory.h.
References tilesheets_bmp_.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryMenuEditor().
|
inline |
Definition at line 22 of file inventory.h.
References palette_.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryMenuEditor().
absl::Status yaze::app::zelda3::screen::Inventory::Create | ( | ) |
Definition at line 16 of file inventory.cc.
References yaze::app::gfx::Bitmap::ApplyPalette(), bitmap_, BuildTileset(), yaze::app::gfx::Bitmap::Create(), data_, yaze::app::core::Renderer::GetInstance(), yaze::app::gfx::GetTilesInfo(), yaze::app::zelda3::screen::kBowItemPos, palette_, yaze::app::core::Renderer::RenderBitmap(), RETURN_IF_ERROR, yaze::app::SharedRom::rom(), test_, and tiles_.
Referenced by yaze::app::editor::ScreenEditor::DrawInventoryMenuEditor().
|
private |
Definition at line 75 of file inventory.cc.
References yaze::app::gfx::Bitmap::ApplyPalette(), ASSIGN_OR_RETURN, yaze::app::gfx::Bitmap::Create(), yaze::app::core::Renderer::GetInstance(), palette_, yaze::app::core::Renderer::RenderBitmap(), RETURN_IF_ERROR, yaze::app::SharedRom::rom(), test_, tilesheets_, and tilesheets_bmp_.
Referenced by Create().
|
private |
Definition at line 29 of file inventory.h.
Referenced by Create().
|
private |
Definition at line 30 of file inventory.h.
|
private |
Definition at line 32 of file inventory.h.
Referenced by BuildTileset().
|
private |
Definition at line 33 of file inventory.h.
Referenced by BuildTileset(), and Create().
|
private |
Definition at line 34 of file inventory.h.
Referenced by BuildTileset(), and Tilesheet().
|
private |
Definition at line 35 of file inventory.h.
Referenced by BuildTileset(), Create(), and Palette().
|
private |
Definition at line 37 of file inventory.h.
|
private |
Definition at line 38 of file inventory.h.
Referenced by Create().