yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::DoorFootprint Struct Reference

Visible editor footprint relative to the raw ROM door anchor. More...

#include <door_types.h>

Public Member Functions

constexpr DoorDimensions dimensions () const
 

Public Attributes

int offset_x_tiles
 
int offset_y_tiles
 
int width_tiles
 
int height_tiles
 

Detailed Description

Visible editor footprint relative to the raw ROM door anchor.

Door position tables store an anchor used by the game routines. The visible art does not always begin at that anchor, so editor interaction needs both an offset and dimensions instead of dimensions alone.

Definition at line 236 of file door_types.h.

Member Function Documentation

◆ dimensions()

constexpr DoorDimensions yaze::zelda3::DoorFootprint::dimensions ( ) const
inlineconstexpr

Definition at line 242 of file door_types.h.

References height_tiles, and width_tiles.

Referenced by yaze::zelda3::GetEditorDoorDimensions().

Member Data Documentation

◆ offset_x_tiles

int yaze::zelda3::DoorFootprint::offset_x_tiles

Definition at line 237 of file door_types.h.

◆ offset_y_tiles

int yaze::zelda3::DoorFootprint::offset_y_tiles

Definition at line 238 of file door_types.h.

◆ width_tiles

int yaze::zelda3::DoorFootprint::width_tiles

Definition at line 239 of file door_types.h.

Referenced by dimensions().

◆ height_tiles

int yaze::zelda3::DoorFootprint::height_tiles

Definition at line 240 of file door_types.h.

Referenced by dimensions().


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