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

#include <overworld.h>

Inheritance diagram for yaze::app::zelda3::overworld::OverworldExit:
Collaboration diagram for yaze::app::zelda3::overworld::OverworldExit:

Public Member Functions

 OverworldExit ()=default
 
 OverworldExit (uint16_t room_id, uchar map_id, uint16_t vram_location, uint16_t y_scroll, uint16_t x_scroll, uint16_t player_y, uint16_t player_x, uint16_t camera_y, uint16_t camera_x, uchar scroll_mod_y, uchar scroll_mod_x, uint16_t door_type_1, uint16_t door_type_2, bool deleted=false)
 
void UpdateMapProperties (uint16_t map_id) override
 
- Public Member Functions inherited from yaze::app::zelda3::GameEntity
auto set_x (int x)
 
auto set_y (int y)
 
 GameEntity ()=default
 

Public Attributes

uint16_t y_scroll_
 
uint16_t x_scroll_
 
uchar y_player_
 
uchar x_player_
 
uchar y_camera_
 
uchar x_camera_
 
uchar scroll_mod_y_
 
uchar scroll_mod_x_
 
uint16_t door_type_1_
 
uint16_t door_type_2_
 
uint16_t room_id_
 
uint16_t map_pos_
 
uchar entrance_id_
 
uchar area_x_
 
uchar area_y_
 
bool is_hole_ = false
 
bool deleted_ = false
 
bool is_automatic_ = false
 
bool large_map_ = false
 
- Public Attributes inherited from yaze::app::zelda3::GameEntity
enum yaze::app::zelda3::GameEntity::EntityType entity_type_
 
int x_
 
int y_
 
int game_x_
 
int game_y_
 
int entity_id_
 
uint16_t map_id_
 

Additional Inherited Members

- Public Types inherited from yaze::app::zelda3::GameEntity
enum  EntityType {
  kEntrance = 0 , kExit = 1 , kItem = 2 , kSprite = 3 ,
  kTransport = 4 , kMusic = 5 , kTilemap = 6 , kProperties = 7 ,
  kDungeonSprite = 8
}
 

Detailed Description

Definition at line 156 of file overworld.h.

Constructor & Destructor Documentation

◆ OverworldExit() [1/2]

yaze::app::zelda3::overworld::OverworldExit::OverworldExit ( )
default

◆ OverworldExit() [2/2]

yaze::app::zelda3::overworld::OverworldExit::OverworldExit ( uint16_t room_id,
uchar map_id,
uint16_t vram_location,
uint16_t y_scroll,
uint16_t x_scroll,
uint16_t player_y,
uint16_t player_x,
uint16_t camera_y,
uint16_t camera_x,
uchar scroll_mod_y,
uchar scroll_mod_x,
uint16_t door_type_1,
uint16_t door_type_2,
bool deleted = false )
inline

Member Function Documentation

◆ UpdateMapProperties()

void yaze::app::zelda3::overworld::OverworldExit::UpdateMapProperties ( uint16_t map_id)
inlineoverridevirtual

Member Data Documentation

◆ y_scroll_

uint16_t yaze::app::zelda3::overworld::OverworldExit::y_scroll_

Definition at line 158 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup().

◆ x_scroll_

uint16_t yaze::app::zelda3::overworld::OverworldExit::x_scroll_

Definition at line 159 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup().

◆ y_player_

uchar yaze::app::zelda3::overworld::OverworldExit::y_player_

Definition at line 160 of file overworld.h.

Referenced by UpdateMapProperties().

◆ x_player_

uchar yaze::app::zelda3::overworld::OverworldExit::x_player_

Definition at line 161 of file overworld.h.

Referenced by UpdateMapProperties().

◆ y_camera_

uchar yaze::app::zelda3::overworld::OverworldExit::y_camera_

Definition at line 162 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().

◆ x_camera_

uchar yaze::app::zelda3::overworld::OverworldExit::x_camera_

Definition at line 163 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().

◆ scroll_mod_y_

uchar yaze::app::zelda3::overworld::OverworldExit::scroll_mod_y_

Definition at line 164 of file overworld.h.

◆ scroll_mod_x_

uchar yaze::app::zelda3::overworld::OverworldExit::scroll_mod_x_

Definition at line 165 of file overworld.h.

◆ door_type_1_

uint16_t yaze::app::zelda3::overworld::OverworldExit::door_type_1_

Definition at line 166 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup().

◆ door_type_2_

uint16_t yaze::app::zelda3::overworld::OverworldExit::door_type_2_

Definition at line 167 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup().

◆ room_id_

uint16_t yaze::app::zelda3::overworld::OverworldExit::room_id_

Definition at line 168 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().

◆ map_pos_

uint16_t yaze::app::zelda3::overworld::OverworldExit::map_pos_

Definition at line 169 of file overworld.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ entrance_id_

uchar yaze::app::zelda3::overworld::OverworldExit::entrance_id_

Definition at line 170 of file overworld.h.

Referenced by OverworldExit().

◆ area_x_

uchar yaze::app::zelda3::overworld::OverworldExit::area_x_

Definition at line 171 of file overworld.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ area_y_

uchar yaze::app::zelda3::overworld::OverworldExit::area_y_

Definition at line 172 of file overworld.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ is_hole_

bool yaze::app::zelda3::overworld::OverworldExit::is_hole_ = false

Definition at line 173 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup().

◆ deleted_

bool yaze::app::zelda3::overworld::OverworldExit::deleted_ = false

Definition at line 174 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup().

◆ is_automatic_

bool yaze::app::zelda3::overworld::OverworldExit::is_automatic_ = false

Definition at line 175 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().

◆ large_map_

bool yaze::app::zelda3::overworld::OverworldExit::large_map_ = false

Definition at line 176 of file overworld.h.

Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().


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