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

Dungeon Room Entrance or Spawn Point. More...

#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

Dungeon Room Entrance or Spawn Point.

Definition at line 99 of file room_entrance.h.

Constructor & Destructor Documentation

◆ RoomEntrance() [1/2]

yaze::zelda3::RoomEntrance::RoomEntrance ( )
default

◆ RoomEntrance() [2/2]

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

Definition at line 102 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_, entrance_id_, exit_, floor_, yaze::zelda3::kEntranceBlockset, yaze::zelda3::kEntranceCameraXTrigger, yaze::zelda3::kEntranceCameraYTrigger, yaze::zelda3::kEntranceDoor, yaze::zelda3::kEntranceDungeon, yaze::zelda3::kEntranceExit, yaze::zelda3::kEntranceFloor, yaze::zelda3::kEntranceLadderBG, yaze::zelda3::kEntranceMusic, yaze::zelda3::kEntranceRoom, yaze::zelda3::kEntranceScrollEdge, yaze::zelda3::kEntrancescrolling, yaze::zelda3::kEntranceScrollQuadrant, yaze::zelda3::kEntranceXPosition, yaze::zelda3::kEntranceXScroll, yaze::zelda3::kEntranceYPosition, yaze::zelda3::kEntranceYScroll, yaze::zelda3::kStartingEntranceBlockset, yaze::zelda3::kStartingEntranceCameraXTrigger, yaze::zelda3::kStartingEntranceCameraYTrigger, yaze::zelda3::kStartingEntranceDoor, yaze::zelda3::kStartingEntranceDungeon, yaze::zelda3::kStartingEntranceexit, yaze::zelda3::kStartingEntranceFloor, yaze::zelda3::kStartingEntranceLadderBG, yaze::zelda3::kStartingEntrancemusic, yaze::zelda3::kStartingEntranceroom, yaze::zelda3::kStartingEntranceScrollEdge, yaze::zelda3::kStartingEntrancescrolling, yaze::zelda3::kStartingEntranceScrollQuadrant, yaze::zelda3::kStartingEntranceXPosition, yaze::zelda3::kStartingEntranceXScroll, yaze::zelda3::kStartingEntranceYPosition, yaze::zelda3::kStartingEntranceYScroll, ladder_bg_, music_, room_, scroll_quadrant_, scrolling_, x_position_, and y_position_.

Member Function Documentation

◆ Save()

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

Definition at line 208 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::zelda3::kEntranceBlockset, yaze::zelda3::kEntranceCameraXTrigger, yaze::zelda3::kEntranceCameraYTrigger, yaze::zelda3::kEntranceDoor, yaze::zelda3::kEntranceDungeon, yaze::zelda3::kEntranceExit, yaze::zelda3::kEntranceFloor, yaze::zelda3::kEntranceLadderBG, yaze::zelda3::kEntranceMusic, yaze::zelda3::kEntranceScrollEdge, yaze::zelda3::kEntrancescrolling, yaze::zelda3::kEntranceScrollQuadrant, yaze::zelda3::kEntranceXPosition, yaze::zelda3::kEntranceXScroll, yaze::zelda3::kEntranceYPosition, yaze::zelda3::kEntranceYScroll, yaze::zelda3::kStartingEntranceBlockset, yaze::zelda3::kStartingEntranceCameraXTrigger, yaze::zelda3::kStartingEntranceCameraYTrigger, yaze::zelda3::kStartingEntranceDoor, yaze::zelda3::kStartingEntranceDungeon, yaze::zelda3::kStartingEntranceexit, yaze::zelda3::kStartingEntranceFloor, yaze::zelda3::kStartingEntranceLadderBG, yaze::zelda3::kStartingEntrancemusic, yaze::zelda3::kStartingEntranceroom, yaze::zelda3::kStartingEntranceScrollEdge, yaze::zelda3::kStartingEntrancescrolling, yaze::zelda3::kStartingEntranceScrollQuadrant, yaze::zelda3::kStartingEntranceXPosition, yaze::zelda3::kStartingEntranceXScroll, yaze::zelda3::kStartingEntranceYPosition, yaze::zelda3::kStartingEntranceYScroll, ladder_bg_, music_, RETURN_IF_ERROR, room_, scroll_quadrant_, scrolling_, yaze::Rom::WriteByte(), yaze::Rom::WriteShort(), x_position_, and y_position_.

Here is the call graph for this function:

Member Data Documentation

◆ entrance_id_

uint16_t yaze::zelda3::RoomEntrance::entrance_id_

Definition at line 318 of file room_entrance.h.

Referenced by RoomEntrance().

◆ x_position_

uint16_t yaze::zelda3::RoomEntrance::x_position_

Definition at line 319 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ y_position_

uint16_t yaze::zelda3::RoomEntrance::y_position_

Definition at line 320 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_x_

uint16_t yaze::zelda3::RoomEntrance::camera_x_

Definition at line 321 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_y_

uint16_t yaze::zelda3::RoomEntrance::camera_y_

Definition at line 322 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_trigger_x_

uint16_t yaze::zelda3::RoomEntrance::camera_trigger_x_

Definition at line 323 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_trigger_y_

uint16_t yaze::zelda3::RoomEntrance::camera_trigger_y_

Definition at line 324 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ room_

int16_t yaze::zelda3::RoomEntrance::room_

Definition at line 326 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ blockset_

uint8_t yaze::zelda3::RoomEntrance::blockset_

Definition at line 327 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ floor_

uint8_t yaze::zelda3::RoomEntrance::floor_

Definition at line 328 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ dungeon_id_

uint8_t yaze::zelda3::RoomEntrance::dungeon_id_

Definition at line 329 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ ladder_bg_

uint8_t yaze::zelda3::RoomEntrance::ladder_bg_

Definition at line 330 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ scrolling_

uint8_t yaze::zelda3::RoomEntrance::scrolling_

Definition at line 331 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ scroll_quadrant_

uint8_t yaze::zelda3::RoomEntrance::scroll_quadrant_

Definition at line 332 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ exit_

int16_t yaze::zelda3::RoomEntrance::exit_

Definition at line 333 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ music_

uint8_t yaze::zelda3::RoomEntrance::music_

Definition at line 334 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ door_

uint8_t yaze::zelda3::RoomEntrance::door_

Definition at line 335 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qn_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_qn_

Definition at line 337 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fn_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_fn_

Definition at line 338 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qs_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_qs_

Definition at line 339 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fs_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_fs_

Definition at line 340 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qw_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_qw_

Definition at line 341 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fw_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_fw_

Definition at line 342 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_qe_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_qe_

Definition at line 343 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().

◆ camera_boundary_fe_

uint8_t yaze::zelda3::RoomEntrance::camera_boundary_fe_

Definition at line 344 of file room_entrance.h.

Referenced by RoomEntrance(), and Save().


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