Metadata about a draw routine. More...
#include <draw_routine_types.h>
Public Types | |
| enum class | Category { Special , Rightwards , Downwards , Diagonal , Corner } |
Public Attributes | |
| int | id |
| std::string | name |
| DrawRoutineFn | function |
| bool | draws_to_both_bgs |
| int | base_width |
| int | base_height |
| Category | category |
Metadata about a draw routine.
Definition at line 55 of file draw_routine_types.h.
|
strong |
| Enumerator | |
|---|---|
| Special | |
| Rightwards | |
| Downwards | |
| Diagonal | |
| Corner | |
Definition at line 64 of file draw_routine_types.h.
| int yaze::zelda3::DrawRoutineInfo::id |
Definition at line 56 of file draw_routine_types.h.
Referenced by yaze::zelda3::anonymous_namespace{object_geometry.cc}::ChooseAnchorY(), yaze::zelda3::draw_routines::RegisterCornerRoutines(), yaze::zelda3::draw_routines::RegisterDiagonalRoutines(), yaze::zelda3::draw_routines::RegisterDownwardsRoutines(), yaze::zelda3::draw_routines::RegisterRightwardsRoutines(), and yaze::zelda3::draw_routines::RegisterSpecialRoutines().
| std::string yaze::zelda3::DrawRoutineInfo::name |
Definition at line 57 of file draw_routine_types.h.
| DrawRoutineFn yaze::zelda3::DrawRoutineInfo::function |
Definition at line 58 of file draw_routine_types.h.
Referenced by yaze::zelda3::ObjectGeometry::MeasureRoutine().
| bool yaze::zelda3::DrawRoutineInfo::draws_to_both_bgs |
Definition at line 59 of file draw_routine_types.h.
Referenced by yaze::zelda3::DrawRoutineRegistry::RoutineDrawsToBothBGs().
| int yaze::zelda3::DrawRoutineInfo::base_width |
Definition at line 60 of file draw_routine_types.h.
Referenced by yaze::zelda3::DrawRoutineRegistry::GetRoutineDimensions().
| int yaze::zelda3::DrawRoutineInfo::base_height |
Definition at line 61 of file draw_routine_types.h.
Referenced by yaze::zelda3::DrawRoutineRegistry::GetRoutineDimensions().
| Category yaze::zelda3::DrawRoutineInfo::category |
Definition at line 71 of file draw_routine_types.h.
Referenced by yaze::zelda3::anonymous_namespace{object_geometry.cc}::ChooseAnchorY().