mirror of https://github.com/zeldaret/tp.git
22 lines
747 B
C++
22 lines
747 B
C++
/**
|
|
* f_pc_draw_priority.cpp
|
|
* Framework - Process Draw Priority
|
|
*/
|
|
|
|
#include "f_pc/f_pc_draw_priority.h"
|
|
|
|
/* 80021308-80021310 0008+00 s=0 e=1 z=0 None .text fpcDwPi_Get__FPC19draw_priority_class */
|
|
s16 fpcDwPi_Get(const draw_priority_class* i_drawpriority) {
|
|
return i_drawpriority->priority;
|
|
}
|
|
|
|
/* 80021310-80021318 0008+00 s=1 e=0 z=0 None .text fpcDwPi_Set__FP19draw_priority_classs */
|
|
void fpcDwPi_Set(draw_priority_class* i_drawpriority, s16 i_priority) {
|
|
i_drawpriority->priority = i_priority;
|
|
}
|
|
|
|
/* 80021318-80021338 0020+00 s=0 e=1 z=0 None .text fpcDwPi_Init__FP19draw_priority_classs */
|
|
void fpcDwPi_Init(draw_priority_class* i_drawpriority, s16 i_priority) {
|
|
fpcDwPi_Set(i_drawpriority, i_priority);
|
|
}
|