#include <room_object.h>
|
| RoomObject (int16_t id, uint8_t x, uint8_t y, uint8_t size, uint8_t layer=0) |
|
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) |
|
| SharedRom ()=default |
|
virtual | ~SharedRom ()=default |
|
std::shared_ptr< Rom > | shared_rom () |
|
auto | rom () |
|
Definition at line 63 of file room_object.h.
◆ LayerType
◆ RoomObject()
yaze::app::zelda3::dungeon::RoomObject::RoomObject |
( |
int16_t | id, |
|
|
uint8_t | x, |
|
|
uint8_t | y, |
|
|
uint8_t | size, |
|
|
uint8_t | layer = 0 ) |
|
inline |
◆ AddTiles()
void yaze::app::zelda3::dungeon::RoomObject::AddTiles |
( |
int | nbr, |
|
|
int | pos ) |
|
inline |
◆ DrawTile()
void yaze::app::zelda3::dungeon::RoomObject::DrawTile |
( |
gfx::Tile16 | t, |
|
|
int | xx, |
|
|
int | yy, |
|
|
std::vector< uint8_t > & | current_gfx16, |
|
|
std::vector< uint8_t > & | tiles_bg1_buffer, |
|
|
std::vector< uint8_t > & | tiles_bg2_buffer, |
|
|
ushort | tile_under = 0xFFFF ) |
Definition at line 53 of file room_object.cc.
References all_bgs_, height_, yaze::app::gfx::TileInfo::horizontal_mirror_, yaze::app::gfx::TileInfo::id_, layer_, nx_, ny_, offset_x_, offset_y_, yaze::app::gfx::TileInfo::palette_, preview_object_data_, yaze::app::gfx::TileInfo::vertical_mirror_, and width_.
Referenced by yaze::app::zelda3::dungeon::Subtype1::Draw(), yaze::app::zelda3::dungeon::Subtype2::Draw(), and yaze::app::zelda3::dungeon::Subtype3::Draw().
◆ options()
auto yaze::app::zelda3::dungeon::RoomObject::options |
( |
| ) |
const |
|
inline |
◆ set_options()
void yaze::app::zelda3::dungeon::RoomObject::set_options |
( |
ObjectOption | options | ) |
|
|
inline |
◆ all_bgs_
bool yaze::app::zelda3::dungeon::RoomObject::all_bgs_ = false |
|
protected |
◆ lit_
bool yaze::app::zelda3::dungeon::RoomObject::lit_ = false |
|
protected |
◆ id_
int16_t yaze::app::zelda3::dungeon::RoomObject::id_ |
|
protected |
◆ x_
uint8_t yaze::app::zelda3::dungeon::RoomObject::x_ |
|
protected |
◆ y_
uint8_t yaze::app::zelda3::dungeon::RoomObject::y_ |
|
protected |
◆ size_
uint8_t yaze::app::zelda3::dungeon::RoomObject::size_ |
|
protected |
◆ nx_
uint8_t yaze::app::zelda3::dungeon::RoomObject::nx_ |
|
protected |
◆ ny_
uint8_t yaze::app::zelda3::dungeon::RoomObject::ny_ |
|
protected |
◆ ox_
uint8_t yaze::app::zelda3::dungeon::RoomObject::ox_ |
|
protected |
◆ oy_
uint8_t yaze::app::zelda3::dungeon::RoomObject::oy_ |
|
protected |
◆ z_
uint8_t yaze::app::zelda3::dungeon::RoomObject::z_ = 0 |
|
protected |
◆ previous_size_
uint8_t yaze::app::zelda3::dungeon::RoomObject::previous_size_ = 0 |
|
protected |
◆ width_
int yaze::app::zelda3::dungeon::RoomObject::width_ |
|
protected |
◆ height_
int yaze::app::zelda3::dungeon::RoomObject::height_ |
|
protected |
◆ offset_x_
int yaze::app::zelda3::dungeon::RoomObject::offset_x_ = 0 |
|
protected |
◆ offset_y_
int yaze::app::zelda3::dungeon::RoomObject::offset_y_ = 0 |
|
protected |
◆ name_
std::string yaze::app::zelda3::dungeon::RoomObject::name_ |
|
protected |
◆ preview_object_data_
std::vector<uint8_t> yaze::app::zelda3::dungeon::RoomObject::preview_object_data_ |
|
protected |
◆ tiles_
std::vector<gfx::Tile16> yaze::app::zelda3::dungeon::RoomObject::tiles_ |
|
protected |
◆ layer_
LayerType yaze::app::zelda3::dungeon::RoomObject::layer_ |
|
protected |
◆ options_
The documentation for this class was generated from the following files: