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

#include <room_entrance.h>

Public Member Functions

 RoomEntrance ()=default
 
 RoomEntrance (Rom &rom, uint8_t entrance_id, bool is_spawn_point=false)
 
absl::Status Save (Rom &rom, int entrance_id, bool is_spawn_point=false)
 

Public Attributes

uint16_t entrance_id_
 
uint16_t x_position_
 
uint16_t y_position_
 
uint16_t camera_x_
 
uint16_t camera_y_
 
uint16_t camera_trigger_x_
 
uint16_t camera_trigger_y_
 
int16_t room_
 
uint8_t blockset_
 
uint8_t floor_
 
uint8_t dungeon_id_
 
uint8_t ladder_bg_
 
uint8_t scrolling_
 
uint8_t scroll_quadrant_
 
int16_t exit_
 
uint8_t music_
 
uint8_t door_
 
uint8_t camera_boundary_qn_
 
uint8_t camera_boundary_fn_
 
uint8_t camera_boundary_qs_
 
uint8_t camera_boundary_fs_
 
uint8_t camera_boundary_qw_
 
uint8_t camera_boundary_fw_
 
uint8_t camera_boundary_qe_
 
uint8_t camera_boundary_fe_
 

Detailed Description

Definition at line 102 of file room_entrance.h.

Constructor & Destructor Documentation

◆ RoomEntrance() [1/2]

yaze::app::zelda3::dungeon::RoomEntrance::RoomEntrance ( )
default

◆ RoomEntrance() [2/2]

yaze::app::zelda3::dungeon::RoomEntrance::RoomEntrance ( Rom & rom,
uint8_t entrance_id,
bool is_spawn_point = false )
inline

Definition at line 106 of file room_entrance.h.

References blockset_, camera_boundary_fe_, camera_boundary_fn_, camera_boundary_fs_, camera_boundary_fw_, camera_boundary_qe_, camera_boundary_qn_, camera_boundary_qs_, camera_boundary_qw_, camera_trigger_x_, camera_trigger_y_, camera_x_, camera_y_, door_, dungeon_id_, exit_, floor_, yaze::app::zelda3::dungeon::kEntranceBlockset, yaze::app::zelda3::dungeon::kEntranceCameraXTrigger, yaze::app::zelda3::dungeon::kEntranceCameraYTrigger, yaze::app::zelda3::dungeon::kEntranceDoor, yaze::app::zelda3::dungeon::kEntranceDungeon, yaze::app::zelda3::dungeon::kEntranceExit, yaze::app::zelda3::dungeon::kEntranceFloor, yaze::app::zelda3::dungeon::kEntranceLadderBG, yaze::app::zelda3::dungeon::kEntranceMusic, yaze::app::zelda3::dungeon::kEntranceRoom, yaze::app::zelda3::dungeon::kEntranceScrollEdge, yaze::app::zelda3::dungeon::kEntrancescrolling, yaze::app::zelda3::dungeon::kEntranceScrollQuadrant, yaze::app::zelda3::dungeon::kEntranceXPosition, yaze::app::zelda3::dungeon::kEntranceXScroll, yaze::app::zelda3::dungeon::kEntranceYPosition, yaze::app::zelda3::dungeon::kEntranceYScroll, yaze::app::zelda3::dungeon::kStartingEntranceBlockset, yaze::app::zelda3::dungeon::kStartingEntranceCameraXTrigger, yaze::app::zelda3::dungeon::kStartingEntranceCameraYTrigger, yaze::app::zelda3::dungeon::kStartingEntranceDoor, yaze::app::zelda3::dungeon::kStartingEntranceDungeon, yaze::app::zelda3::dungeon::kStartingEntranceexit, yaze::app::zelda3::dungeon::kStartingEntranceFloor, yaze::app::zelda3::dungeon::kStartingEntranceLadderBG, yaze::app::zelda3::dungeon::kStartingEntrancemusic, yaze::app::zelda3::dungeon::kStartingEntranceroom, yaze::app::zelda3::dungeon::kStartingEntranceScrollEdge, yaze::app::zelda3::dungeon::kStartingEntrancescrolling, yaze::app::zelda3::dungeon::kStartingEntranceScrollQuadrant, yaze::app::zelda3::dungeon::kStartingEntranceXPosition, yaze::app::zelda3::dungeon::kStartingEntranceXScroll, yaze::app::zelda3::dungeon::kStartingEntranceYPosition, yaze::app::zelda3::dungeon::kStartingEntranceYScroll, ladder_bg_, music_, room_, scroll_quadrant_, scrolling_, x_position_, and y_position_.

Member Function Documentation

◆ Save()

absl::Status yaze::app::zelda3::dungeon::RoomEntrance::Save ( Rom & rom,
int entrance_id,
bool is_spawn_point = false )
inline

Definition at line 212 of file room_entrance.h.

References blockset_, camera_boundary_fe_, camera_boundary_fn_, camera_boundary_fs_, camera_boundary_fw_, camera_boundary_qe_, camera_boundary_qn_, camera_boundary_qs_, camera_boundary_qw_, camera_trigger_x_, camera_trigger_y_, camera_x_, camera_y_, door_, dungeon_id_, exit_, floor_, yaze::app::zelda3::dungeon::kEntranceBlockset, yaze::app::zelda3::dungeon::kEntranceCameraXTrigger, yaze::app::zelda3::dungeon::kEntranceCameraYTrigger, yaze::app::zelda3::dungeon::kEntranceDoor, yaze::app::zelda3::dungeon::kEntranceDungeon, yaze::app::zelda3::dungeon::kEntranceExit, yaze::app::zelda3::dungeon::kEntranceFloor, yaze::app::zelda3::dungeon::kEntranceLadderBG, yaze::app::zelda3::dungeon::kEntranceMusic, yaze::app::zelda3::dungeon::kEntranceScrollEdge, yaze::app::zelda3::dungeon::kEntrancescrolling, yaze::app::zelda3::dungeon::kEntranceScrollQuadrant, yaze::app::zelda3::dungeon::kEntranceXPosition, yaze::app::zelda3::dungeon::kEntranceXScroll, yaze::app::zelda3::dungeon::kEntranceYPosition, yaze::app::zelda3::dungeon::kEntranceYScroll, yaze::app::zelda3::dungeon::kStartingEntranceBlockset, yaze::app::zelda3::dungeon::kStartingEntranceCameraXTrigger, yaze::app::zelda3::dungeon::kStartingEntranceCameraYTrigger, yaze::app::zelda3::dungeon::kStartingEntranceDoor, yaze::app::zelda3::dungeon::kStartingEntranceDungeon, yaze::app::zelda3::dungeon::kStartingEntranceexit, yaze::app::zelda3::dungeon::kStartingEntranceFloor, yaze::app::zelda3::dungeon::kStartingEntranceLadderBG, yaze::app::zelda3::dungeon::kStartingEntrancemusic, yaze::app::zelda3::dungeon::kStartingEntranceroom, yaze::app::zelda3::dungeon::kStartingEntranceScrollEdge, yaze::app::zelda3::dungeon::kStartingEntrancescrolling, yaze::app::zelda3::dungeon::kStartingEntranceScrollQuadrant, yaze::app::zelda3::dungeon::kStartingEntranceXPosition, yaze::app::zelda3::dungeon::kStartingEntranceXScroll, yaze::app::zelda3::dungeon::kStartingEntranceYPosition, yaze::app::zelda3::dungeon::kStartingEntranceYScroll, ladder_bg_, music_, RETURN_IF_ERROR, room_, scroll_quadrant_, scrolling_, yaze::app::Rom::Write(), yaze::app::Rom::WriteShort(), x_position_, and y_position_.

Here is the call graph for this function:

Member Data Documentation

◆ entrance_id_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::entrance_id_

Definition at line 322 of file room_entrance.h.

◆ x_position_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::x_position_

Definition at line 323 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ y_position_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::y_position_

Definition at line 324 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_x_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::camera_x_

Definition at line 325 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_y_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::camera_y_

Definition at line 326 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_trigger_x_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::camera_trigger_x_

Definition at line 327 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_trigger_y_

uint16_t yaze::app::zelda3::dungeon::RoomEntrance::camera_trigger_y_

Definition at line 328 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ room_

int16_t yaze::app::zelda3::dungeon::RoomEntrance::room_

Definition at line 330 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ blockset_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::blockset_

Definition at line 331 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ floor_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::floor_

Definition at line 332 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ dungeon_id_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::dungeon_id_

Definition at line 333 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ ladder_bg_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::ladder_bg_

Definition at line 334 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ scrolling_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::scrolling_

Definition at line 335 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ scroll_quadrant_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::scroll_quadrant_

Definition at line 336 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ exit_

int16_t yaze::app::zelda3::dungeon::RoomEntrance::exit_

Definition at line 337 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ music_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::music_

Definition at line 338 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ door_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::door_

Definition at line 339 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qn_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_qn_

Definition at line 341 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fn_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_fn_

Definition at line 342 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qs_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_qs_

Definition at line 343 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fs_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_fs_

Definition at line 344 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qw_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_qw_

Definition at line 345 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fw_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_fw_

Definition at line 346 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qe_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_qe_

Definition at line 347 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fe_

uint8_t yaze::app::zelda3::dungeon::RoomEntrance::camera_boundary_fe_

Definition at line 348 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().


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