yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::zelda3::dungeon::Subtype3 Class Reference

#include <room_object.h>

Inheritance diagram for yaze::app::zelda3::dungeon::Subtype3:
Collaboration diagram for yaze::app::zelda3::dungeon::Subtype3:

Public Member Functions

 Subtype3 (int16_t id, uint8_t x, uint8_t y, uint8_t size, uint8_t layer)
 
void Draw (std::vector< uint8_t > &current_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 > &current_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< Romshared_rom ()
 
auto rom ()
 

Public Attributes

bool allBgs
 
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< Romshared_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::Tile16tiles_
 
LayerType layer_
 
ObjectOption options_ = ObjectOption::Nothing
 

Detailed Description

Definition at line 235 of file room_object.h.

Constructor & Destructor Documentation

◆ Subtype3()

yaze::app::zelda3::dungeon::Subtype3::Subtype3 ( int16_t id,
uint8_t x,
uint8_t y,
uint8_t size,
uint8_t layer )
inline

Member Function Documentation

◆ Draw()

void yaze::app::zelda3::dungeon::Subtype3::Draw ( std::vector< uint8_t > & current_gfx16,
std::vector< uint8_t > & tiles_bg1_buffer,
std::vector< uint8_t > & tiles_bg2_buffer )
inline

Member Data Documentation

◆ allBgs

bool yaze::app::zelda3::dungeon::Subtype3::allBgs

Definition at line 237 of file room_object.h.

◆ name

std::string yaze::app::zelda3::dungeon::Subtype3::name

Definition at line 238 of file room_object.h.

◆ sort

Sorting yaze::app::zelda3::dungeon::Subtype3::sort

Definition at line 239 of file room_object.h.

Referenced by Subtype3().


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