#include <overworld_exit.h>
Public Member Functions | |
OverworldExit ()=default | |
OverworldExit (uint16_t room_id, uint8_t 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, uint8_t scroll_mod_y, uint8_t 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::zelda3::GameEntity | |
auto | set_x (int x) |
auto | set_y (int y) |
GameEntity ()=default | |
Public Attributes | |
uint16_t | y_scroll_ |
uint16_t | x_scroll_ |
uint8_t | y_player_ |
uint8_t | x_player_ |
uint8_t | y_camera_ |
uint8_t | x_camera_ |
uint8_t | scroll_mod_y_ |
uint8_t | scroll_mod_x_ |
uint16_t | door_type_1_ |
uint16_t | door_type_2_ |
uint16_t | room_id_ |
uint16_t | map_pos_ |
uint8_t | entrance_id_ |
uint8_t | area_x_ |
uint8_t | area_y_ |
bool | is_hole_ = false |
bool | deleted_ = false |
bool | is_automatic_ = false |
bool | large_map_ = false |
Public Attributes inherited from yaze::zelda3::GameEntity | |
enum yaze::zelda3::GameEntity::EntityType | entity_type_ |
int | x_ = 0 |
int | y_ = 0 |
int | game_x_ = 0 |
int | game_y_ = 0 |
int | entity_id_ = 0 |
uint16_t | map_id_ = 0 |
Additional Inherited Members | |
Public Types inherited from yaze::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 43 of file overworld_exit.h.
|
default |
|
inline |
Definition at line 66 of file overworld_exit.h.
References area_x_, area_y_, deleted_, door_type_1_, door_type_2_, yaze::zelda3::GameEntity::entity_type_, entrance_id_, is_hole_, yaze::zelda3::GameEntity::kExit, yaze::zelda3::GameEntity::map_id_, map_pos_, room_id_, scroll_mod_x_, scroll_mod_y_, yaze::zelda3::GameEntity::x_, x_camera_, x_player_, x_scroll_, yaze::zelda3::GameEntity::y_, y_camera_, y_player_, and y_scroll_.
|
inlineoverridevirtual |
Implements yaze::zelda3::GameEntity.
Definition at line 127 of file overworld_exit.h.
References area_x_, area_y_, is_automatic_, large_map_, yaze::zelda3::GameEntity::map_id_, map_pos_, room_id_, yaze::zelda3::GameEntity::x_, x_camera_, x_player_, yaze::zelda3::GameEntity::y_, y_camera_, and y_player_.
uint16_t yaze::zelda3::OverworldExit::y_scroll_ |
Definition at line 45 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().
uint16_t yaze::zelda3::OverworldExit::x_scroll_ |
Definition at line 46 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().
uint8_t yaze::zelda3::OverworldExit::y_player_ |
Definition at line 47 of file overworld_exit.h.
Referenced by OverworldExit(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldExit::x_player_ |
Definition at line 48 of file overworld_exit.h.
Referenced by OverworldExit(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldExit::y_camera_ |
Definition at line 49 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), OverworldExit(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldExit::x_camera_ |
Definition at line 50 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), OverworldExit(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldExit::scroll_mod_y_ |
Definition at line 51 of file overworld_exit.h.
Referenced by OverworldExit().
uint8_t yaze::zelda3::OverworldExit::scroll_mod_x_ |
Definition at line 52 of file overworld_exit.h.
Referenced by OverworldExit().
uint16_t yaze::zelda3::OverworldExit::door_type_1_ |
Definition at line 53 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().
uint16_t yaze::zelda3::OverworldExit::door_type_2_ |
Definition at line 54 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().
uint16_t yaze::zelda3::OverworldExit::room_id_ |
Definition at line 55 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), OverworldExit(), and UpdateMapProperties().
uint16_t yaze::zelda3::OverworldExit::map_pos_ |
Definition at line 56 of file overworld_exit.h.
Referenced by OverworldExit(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldExit::entrance_id_ |
Definition at line 57 of file overworld_exit.h.
Referenced by OverworldExit().
uint8_t yaze::zelda3::OverworldExit::area_x_ |
Definition at line 58 of file overworld_exit.h.
Referenced by OverworldExit(), and UpdateMapProperties().
uint8_t yaze::zelda3::OverworldExit::area_y_ |
Definition at line 59 of file overworld_exit.h.
Referenced by OverworldExit(), and UpdateMapProperties().
bool yaze::zelda3::OverworldExit::is_hole_ = false |
Definition at line 60 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().
bool yaze::zelda3::OverworldExit::deleted_ = false |
Definition at line 61 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().
bool yaze::zelda3::OverworldExit::is_automatic_ = false |
Definition at line 62 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and UpdateMapProperties().
bool yaze::zelda3::OverworldExit::large_map_ = false |
Definition at line 63 of file overworld_exit.h.
Referenced by yaze::editor::DrawExitEditorPopup(), and UpdateMapProperties().