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

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
 

Detailed Description

Metadata about a draw routine.

Definition at line 55 of file draw_routine_types.h.

Member Enumeration Documentation

◆ Category

Enumerator
Special 
Rightwards 
Downwards 
Diagonal 
Corner 

Definition at line 64 of file draw_routine_types.h.

Member Data Documentation

◆ id

◆ name

std::string yaze::zelda3::DrawRoutineInfo::name

Definition at line 57 of file draw_routine_types.h.

◆ function

DrawRoutineFn yaze::zelda3::DrawRoutineInfo::function

Definition at line 58 of file draw_routine_types.h.

Referenced by yaze::zelda3::ObjectGeometry::MeasureRoutine().

◆ draws_to_both_bgs

bool yaze::zelda3::DrawRoutineInfo::draws_to_both_bgs

◆ base_width

int yaze::zelda3::DrawRoutineInfo::base_width

◆ base_height

int yaze::zelda3::DrawRoutineInfo::base_height

◆ category

Category yaze::zelda3::DrawRoutineInfo::category

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