yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
object_door Struct Reference

Dungeon door object. More...

#include <zelda.h>

Public Attributes

uint16_t id
 
uint8_t x
 
uint8_t y
 
uint8_t size
 
uint8_t type
 
uint8_t layer
 
uint8_t key_type
 
bool is_locked
 

Detailed Description

Dungeon door object.

Represents a door or passage between rooms.

Definition at line 397 of file zelda.h.

Member Data Documentation

◆ id

uint16_t object_door::id

Door ID for reference

Definition at line 398 of file zelda.h.

◆ x

uint8_t object_door::x

X position in room (0-63)

Definition at line 399 of file zelda.h.

◆ y

uint8_t object_door::y

Y position in room (0-63)

Definition at line 400 of file zelda.h.

◆ size

uint8_t object_door::size

Door size (width/height)

Definition at line 401 of file zelda.h.

◆ type

uint8_t object_door::type

Door type (normal, locked, etc.)

Definition at line 402 of file zelda.h.

◆ layer

uint8_t object_door::layer

Layer (0=background, 1=foreground)

Definition at line 403 of file zelda.h.

◆ key_type

uint8_t object_door::key_type

Required key type (0=none)

Definition at line 404 of file zelda.h.

◆ is_locked

bool object_door::is_locked

True if door requires key

Definition at line 405 of file zelda.h.


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