#include <room_object.h>
Public Member Functions | |
Subtype1 (int16_t id, uint8_t x, uint8_t y, uint8_t size, uint8_t layer, int tileCount) | |
void | Draw (std::vector< uint8_t > ¤t_gfx16, std::vector< uint8_t > &tiles_bg1_buffer, std::vector< uint8_t > &tiles_bg2_buffer) |
Public Member Functions inherited from yaze::app::zelda3::dungeon::RoomObject | |
RoomObject (int16_t id, uint8_t x, uint8_t y, uint8_t size, uint8_t layer=0) | |
void | GetObjectSize () |
void | GetBaseSize () |
void | GetSizeSized () |
void | UpdateSize () |
void | AddTiles (int nbr, int pos) |
void | DrawTile (gfx::Tile16 t, int xx, int yy, std::vector< uint8_t > ¤t_gfx16, std::vector< uint8_t > &tiles_bg1_buffer, std::vector< uint8_t > &tiles_bg2_buffer, ushort tile_under=0xFFFF) |
auto | options () const |
void | set_options (ObjectOption options) |
Public Member Functions inherited from yaze::app::SharedRom | |
SharedRom ()=default | |
virtual | ~SharedRom ()=default |
std::shared_ptr< Rom > | shared_rom () |
auto | rom () |
Public Attributes | |
bool | allBgs |
int | tile_count_ |
std::string | name |
Sorting | sort |
Additional Inherited Members | |
Public Types inherited from yaze::app::zelda3::dungeon::RoomObject | |
enum | LayerType { BG1 = 0 , BG2 = 1 , BG3 = 2 } |
Static Public Attributes inherited from yaze::app::SharedRom | |
static std::shared_ptr< Rom > | shared_rom_ = nullptr |
Protected Attributes inherited from yaze::app::zelda3::dungeon::RoomObject | |
bool | all_bgs_ = false |
bool | lit_ = false |
bool | deleted_ = false |
bool | show_rectangle_ = false |
bool | diagonal_fix_ = false |
bool | selected_ = false |
int16_t | id_ |
uint8_t | x_ |
uint8_t | y_ |
uint8_t | size_ |
uint8_t | nx_ |
uint8_t | ny_ |
uint8_t | ox_ |
uint8_t | oy_ |
uint8_t | z_ = 0 |
uint8_t | previous_size_ = 0 |
int | width_ |
int | height_ |
int | base_width_ |
int | base_height_ |
int | size_width_ |
int | size_height_ |
int | tile_index_ = 0 |
int | offset_x_ = 0 |
int | offset_y_ = 0 |
int | preview_id_ = 0 |
int | unique_id_ = 0 |
std::string | name_ |
std::vector< uint8_t > | preview_object_data_ |
std::vector< gfx::Tile16 > | tiles_ |
LayerType | layer_ |
ObjectOption | options_ = ObjectOption::Nothing |
Definition at line 177 of file room_object.h.
|
inline |
Definition at line 184 of file room_object.h.
References yaze::app::zelda3::dungeon::RoomObject::AddTiles(), yaze::app::zelda3::dungeon::Horizontal, yaze::app::zelda3::dungeon::kRoomObjectSubtype1, yaze::app::zelda3::dungeon::kRoomObjectTileAddress, yaze::app::SharedRom::rom(), sort, tile_count_, and yaze::app::zelda3::dungeon::Wall.
|
inline |
Definition at line 196 of file room_object.h.
References yaze::app::zelda3::dungeon::RoomObject::DrawTile(), yaze::app::zelda3::dungeon::RoomObject::size_, tile_count_, and yaze::app::zelda3::dungeon::RoomObject::tiles_.
bool yaze::app::zelda3::dungeon::Subtype1::allBgs |
Definition at line 179 of file room_object.h.
int yaze::app::zelda3::dungeon::Subtype1::tile_count_ |
Definition at line 180 of file room_object.h.
Referenced by Draw(), and Subtype1().
std::string yaze::app::zelda3::dungeon::Subtype1::name |
Definition at line 181 of file room_object.h.
Sorting yaze::app::zelda3::dungeon::Subtype1::sort |
Definition at line 182 of file room_object.h.
Referenced by Subtype1().