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 |
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.
| std::string yaze::zelda3::DrawRoutineSymbology::badge |
Definition at line 27 of file draw_routine_symbology.h.
Referenced by yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::zelda3::GetSymbologyForObject(), and yaze::zelda3::GetSymbologyForRoutine().
| std::string yaze::zelda3::DrawRoutineSymbology::family |
Definition at line 28 of file draw_routine_symbology.h.
Referenced by yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), yaze::zelda3::GetSymbologyForObject(), and yaze::zelda3::GetSymbologyForRoutine().
| bool yaze::zelda3::DrawRoutineSymbology::dual_layer = false |
Definition at line 29 of file draw_routine_symbology.h.
Referenced by yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), and yaze::zelda3::GetSymbologyForRoutine().
| int yaze::zelda3::DrawRoutineSymbology::base_width = 0 |
Definition at line 30 of file draw_routine_symbology.h.
Referenced by yaze::zelda3::GetSymbologyForRoutine().
| int yaze::zelda3::DrawRoutineSymbology::base_height = 0 |
Definition at line 31 of file draw_routine_symbology.h.
Referenced by yaze::zelda3::GetSymbologyForRoutine().