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

#include <room_object.h>

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

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 > &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
 
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< 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 177 of file room_object.h.

Constructor & Destructor Documentation

◆ Subtype1()

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

Member Function Documentation

◆ Draw()

void yaze::app::zelda3::dungeon::Subtype1::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::Subtype1::allBgs

Definition at line 179 of file room_object.h.

◆ tile_count_

int yaze::app::zelda3::dungeon::Subtype1::tile_count_

Definition at line 180 of file room_object.h.

Referenced by Draw(), and Subtype1().

◆ name

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

Definition at line 181 of file room_object.h.

◆ sort

Sorting yaze::app::zelda3::dungeon::Subtype1::sort

Definition at line 182 of file room_object.h.

Referenced by Subtype1().


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