#include <overworld.h>
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 } |
Definition at line 153 of file overworld.h.
|
default |
|
inline |
Definition at line 176 of file overworld.h.
References area_x_, area_y_, yaze::app::zelda3::GameEntity::entity_type_, entrance_id_, yaze::app::zelda3::GameEntity::kExit, yaze::app::zelda3::GameEntity::map_id_, map_pos_, yaze::app::zelda3::GameEntity::x_, and yaze::app::zelda3::GameEntity::y_.
|
inlineoverridevirtual |
Implements yaze::app::zelda3::GameEntity.
Definition at line 236 of file overworld.h.
References area_x_, area_y_, is_automatic_, large_map_, yaze::app::zelda3::GameEntity::map_id_, map_pos_, room_id_, yaze::app::zelda3::GameEntity::x_, x_camera_, x_player_, yaze::app::zelda3::GameEntity::y_, y_camera_, and y_player_.
uint16_t yaze::app::zelda3::overworld::OverworldExit::y_scroll_ |
Definition at line 155 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup().
uint16_t yaze::app::zelda3::overworld::OverworldExit::x_scroll_ |
Definition at line 156 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup().
uchar yaze::app::zelda3::overworld::OverworldExit::y_player_ |
Definition at line 157 of file overworld.h.
Referenced by UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldExit::x_player_ |
Definition at line 158 of file overworld.h.
Referenced by UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldExit::y_camera_ |
Definition at line 159 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldExit::x_camera_ |
Definition at line 160 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldExit::scroll_mod_y_ |
Definition at line 161 of file overworld.h.
uchar yaze::app::zelda3::overworld::OverworldExit::scroll_mod_x_ |
Definition at line 162 of file overworld.h.
uint16_t yaze::app::zelda3::overworld::OverworldExit::door_type_1_ |
Definition at line 163 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup().
uint16_t yaze::app::zelda3::overworld::OverworldExit::door_type_2_ |
Definition at line 164 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup().
uint16_t yaze::app::zelda3::overworld::OverworldExit::room_id_ |
Definition at line 165 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().
uint16_t yaze::app::zelda3::overworld::OverworldExit::map_pos_ |
Definition at line 166 of file overworld.h.
Referenced by OverworldExit(), and UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldExit::entrance_id_ |
Definition at line 167 of file overworld.h.
Referenced by OverworldExit().
uchar yaze::app::zelda3::overworld::OverworldExit::area_x_ |
Definition at line 168 of file overworld.h.
Referenced by OverworldExit(), and UpdateMapProperties().
uchar yaze::app::zelda3::overworld::OverworldExit::area_y_ |
Definition at line 169 of file overworld.h.
Referenced by OverworldExit(), and UpdateMapProperties().
bool yaze::app::zelda3::overworld::OverworldExit::is_hole_ = false |
Definition at line 170 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup().
bool yaze::app::zelda3::overworld::OverworldExit::deleted_ = false |
Definition at line 171 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup().
bool yaze::app::zelda3::overworld::OverworldExit::is_automatic_ = false |
Definition at line 172 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().
bool yaze::app::zelda3::overworld::OverworldExit::large_map_ = false |
Definition at line 173 of file overworld.h.
Referenced by yaze::app::editor::DrawExitEditorPopup(), and UpdateMapProperties().