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

#include <gfx_sheet_png.h>

Public Attributes

int room = 0
 
uint8_t header_blockset = 0
 
uint8_t main_blockset = 0
 
std::array< uint8_t, 8 > sheets {}
 
std::array< bool, 8 > from_room_blockset {}
 

Detailed Description

The 8 background sheets a dungeon room loads, as Room::LoadRoomGraphics picks them: the main blockset from the room's default entrance (the header blockset byte when there is none), with slots 3-6 replaced by the room blockset (header byte) entries that are non-zero.

Definition at line 79 of file gfx_sheet_png.h.

Member Data Documentation

◆ room

◆ header_blockset

uint8_t yaze::zelda3::RoomBackgroundSet::header_blockset = 0

◆ main_blockset

uint8_t yaze::zelda3::RoomBackgroundSet::main_blockset = 0

Definition at line 82 of file gfx_sheet_png.h.

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

◆ sheets

◆ from_room_blockset

std::array<bool, 8> yaze::zelda3::RoomBackgroundSet::from_room_blockset {}

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