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

Object metadata for tracking layer assignment. More...

#include <room_layer_manager.h>

Public Attributes

size_t object_index = 0
 
int layer = 0
 
int priority = 0
 
bool is_bg2_object = false
 

Detailed Description

Object metadata for tracking layer assignment.

Note: In SNES Mode 1, BG1 is always above BG2 by default. The "priority" field here refers to object layer (0, 1, 2), not visual Z-order, which is fixed by the SNES PPU.

Definition at line 57 of file room_layer_manager.h.

Member Data Documentation

◆ object_index

size_t yaze::zelda3::ObjectPriority::object_index = 0

Definition at line 58 of file room_layer_manager.h.

◆ layer

int yaze::zelda3::ObjectPriority::layer = 0

Definition at line 59 of file room_layer_manager.h.

◆ priority

int yaze::zelda3::ObjectPriority::priority = 0

Definition at line 60 of file room_layer_manager.h.

◆ is_bg2_object

bool yaze::zelda3::ObjectPriority::is_bg2_object = false

Definition at line 61 of file room_layer_manager.h.


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