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

#include <overworld_exit.h>

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

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
}
 

Detailed Description

Definition at line 43 of file overworld_exit.h.

Constructor & Destructor Documentation

◆ OverworldExit() [1/2]

yaze::zelda3::OverworldExit::OverworldExit ( )
default

◆ OverworldExit() [2/2]

yaze::zelda3::OverworldExit::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 )
inline

Member Function Documentation

◆ UpdateMapProperties()

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

Member Data Documentation

◆ y_scroll_

uint16_t yaze::zelda3::OverworldExit::y_scroll_

Definition at line 45 of file overworld_exit.h.

Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().

◆ x_scroll_

uint16_t yaze::zelda3::OverworldExit::x_scroll_

Definition at line 46 of file overworld_exit.h.

Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().

◆ y_player_

uint8_t yaze::zelda3::OverworldExit::y_player_

Definition at line 47 of file overworld_exit.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ x_player_

uint8_t yaze::zelda3::OverworldExit::x_player_

Definition at line 48 of file overworld_exit.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ y_camera_

uint8_t yaze::zelda3::OverworldExit::y_camera_

◆ x_camera_

uint8_t yaze::zelda3::OverworldExit::x_camera_

◆ scroll_mod_y_

uint8_t yaze::zelda3::OverworldExit::scroll_mod_y_

Definition at line 51 of file overworld_exit.h.

Referenced by OverworldExit().

◆ scroll_mod_x_

uint8_t yaze::zelda3::OverworldExit::scroll_mod_x_

Definition at line 52 of file overworld_exit.h.

Referenced by OverworldExit().

◆ door_type_1_

uint16_t yaze::zelda3::OverworldExit::door_type_1_

Definition at line 53 of file overworld_exit.h.

Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().

◆ door_type_2_

uint16_t yaze::zelda3::OverworldExit::door_type_2_

Definition at line 54 of file overworld_exit.h.

Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().

◆ room_id_

uint16_t yaze::zelda3::OverworldExit::room_id_

◆ map_pos_

uint16_t yaze::zelda3::OverworldExit::map_pos_

Definition at line 56 of file overworld_exit.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ entrance_id_

uint8_t yaze::zelda3::OverworldExit::entrance_id_

Definition at line 57 of file overworld_exit.h.

Referenced by OverworldExit().

◆ area_x_

uint8_t yaze::zelda3::OverworldExit::area_x_

Definition at line 58 of file overworld_exit.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ area_y_

uint8_t yaze::zelda3::OverworldExit::area_y_

Definition at line 59 of file overworld_exit.h.

Referenced by OverworldExit(), and UpdateMapProperties().

◆ is_hole_

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

Definition at line 60 of file overworld_exit.h.

Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().

◆ deleted_

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

Definition at line 61 of file overworld_exit.h.

Referenced by yaze::editor::DrawExitEditorPopup(), and OverworldExit().

◆ is_automatic_

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

Definition at line 62 of file overworld_exit.h.

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

◆ large_map_

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

Definition at line 63 of file overworld_exit.h.

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


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