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

Compact, human-readable identity for an object's draw routine. More...

#include <draw_routine_symbology.h>

Public Attributes

std::string badge
 
std::string family
 
bool dual_layer = false
 
int base_width = 0
 
int base_height = 0
 

Detailed Description

Compact, human-readable identity for an object's draw routine.

Derived entirely from DrawRoutineRegistry metadata — the routine's category, its BothBG flag and its base pattern size. Nothing here inspects the routine's NAME to infer behaviour: names encode repetition (the _1to16 suffix) and tile patterns ("4x4") in prose, and reading behaviour out of prose gets it wrong in both directions. BigHole4x4_1to16 repeats despite naming a 4x4 pattern, and Corner4x4 is a corner despite naming one too.

The four named special cases below are matched by name deliberately: they are distinct object semantics (a chest is a chest), not inferred geometry.

Definition at line 26 of file draw_routine_symbology.h.

Member Data Documentation

◆ badge

std::string yaze::zelda3::DrawRoutineSymbology::badge

◆ family

std::string yaze::zelda3::DrawRoutineSymbology::family

◆ dual_layer

bool yaze::zelda3::DrawRoutineSymbology::dual_layer = false

◆ base_width

int yaze::zelda3::DrawRoutineSymbology::base_width = 0

Definition at line 30 of file draw_routine_symbology.h.

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

◆ base_height

int yaze::zelda3::DrawRoutineSymbology::base_height = 0

Definition at line 31 of file draw_routine_symbology.h.

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


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