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

Complete dungeon room data. More...

#include <zelda.h>

Public Attributes

uint16_t id
 
background2 bg2
 
dungeon_spritesprites
 
int sprite_count
 
object_doordoors
 
int door_count
 
staircasestaircases
 
int staircase_count
 
chestchests
 
int chest_count
 
destination pits
 
destination stairs [4]
 
uint8_t floor_type
 
uint8_t wall_type
 
uint8_t palette_id
 
uint8_t music_track
 
bool is_dark
 
bool has_water
 
bool blocks_items
 

Detailed Description

Complete dungeon room data.

Contains all objects, sprites, and properties for a single dungeon room.

Definition at line 460 of file zelda.h.

Member Data Documentation

◆ id

uint16_t zelda3_dungeon_room::id

Room ID (0-295)

Definition at line 461 of file zelda.h.

◆ bg2

background2 zelda3_dungeon_room::bg2

Background layer 2 effect (legacy)

Definition at line 462 of file zelda.h.

◆ sprites

dungeon_sprite* zelda3_dungeon_room::sprites

Array of sprites in room

Definition at line 465 of file zelda.h.

◆ sprite_count

int zelda3_dungeon_room::sprite_count

Number of sprites

Definition at line 466 of file zelda.h.

◆ doors

object_door* zelda3_dungeon_room::doors

Array of doors

Definition at line 468 of file zelda.h.

◆ door_count

int zelda3_dungeon_room::door_count

Number of doors

Definition at line 469 of file zelda.h.

◆ staircases

staircase* zelda3_dungeon_room::staircases

Array of staircases

Definition at line 471 of file zelda.h.

◆ staircase_count

int zelda3_dungeon_room::staircase_count

Number of staircases

Definition at line 472 of file zelda.h.

◆ chests

chest* zelda3_dungeon_room::chests

Array of chests

Definition at line 474 of file zelda.h.

◆ chest_count

int zelda3_dungeon_room::chest_count

Number of chests

Definition at line 475 of file zelda.h.

◆ pits

destination zelda3_dungeon_room::pits

Pit fall destination

Definition at line 478 of file zelda.h.

◆ stairs

destination zelda3_dungeon_room::stairs[4]

Stair destinations (up to 4)

Definition at line 479 of file zelda.h.

◆ floor_type

uint8_t zelda3_dungeon_room::floor_type

Floor graphics type

Definition at line 482 of file zelda.h.

◆ wall_type

uint8_t zelda3_dungeon_room::wall_type

Wall graphics type

Definition at line 483 of file zelda.h.

◆ palette_id

uint8_t zelda3_dungeon_room::palette_id

Room palette ID

Definition at line 484 of file zelda.h.

◆ music_track

uint8_t zelda3_dungeon_room::music_track

Background music track

Definition at line 485 of file zelda.h.

◆ is_dark

bool zelda3_dungeon_room::is_dark

True if room requires lamp

Definition at line 488 of file zelda.h.

◆ has_water

bool zelda3_dungeon_room::has_water

True if room contains water

Definition at line 489 of file zelda.h.

◆ blocks_items

bool zelda3_dungeon_room::blocks_items

True if room blocks certain items

Definition at line 490 of file zelda.h.


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