mirror of
https://github.com/zeldaret/tp
synced 2026-05-25 23:35:23 -04:00
0555115de8
* f_pc_base, one non matching * some of f_pc_manager * f_pc_node OK * f_pc_pause partly * started node_req * more progress * most of node req * delete unused asm * node req header and param names * param renaming * header for manager * review comment struct names * fpcM_Management OK * int -> s32 * merge master * most of f_pc_create_iter * f_pc_stdcreate_req OK * f_pc_fstcreate OK * f_pc_leaf OK * f_pc_draw OK * f_pc_deletor partly * fix parameter type in f_pc_pause * review * review, use cPh enum and fix process_profile_definition struct * convert f_pc files to C * matched more functions * fix global.h * fix variable types * format * mpre Phs enum * fix merge errors * fix gamepad stopPatternedRumble * format * delete leftover files from merge * move asm to correct folder * revert f_pc from C to CPP * remove C hacks and format * format * OK
43 lines
1.0 KiB
C
43 lines
1.0 KiB
C
|
|
#ifndef F_PC_LEAF_H
|
|
#define F_PC_LEAF_H
|
|
|
|
#include "f/f_pc/f_pc_base.h"
|
|
#include "f/f_pc/f_pc_draw_priority.h"
|
|
#include "f/f_pc/f_pc_method.h"
|
|
#include "global.h"
|
|
|
|
typedef struct leafdraw_method_class {
|
|
process_method_class mBase;
|
|
process_method_func mpDrawFunc;
|
|
} leafdraw_method_class;
|
|
|
|
typedef struct leafdraw_class {
|
|
base_process_class mBase;
|
|
leafdraw_method_class* mpDrawMtd;
|
|
s8 mbUnk0;
|
|
u8 mbUnk1;
|
|
draw_priority_class mDwPi;
|
|
} leafdraw_class;
|
|
|
|
typedef struct leaf_process_profile_definition {
|
|
process_profile_definition mBase;
|
|
leafdraw_method_class* mLfDrwMth;
|
|
s16 unk20;
|
|
u8 unk22[2];
|
|
s32 unk24;
|
|
} leaf_process_profile_definition;
|
|
|
|
extern "C" {
|
|
|
|
s32 fpcLf_GetPriority(leafdraw_class* pLeaf);
|
|
s32 fpcLf_DrawMethod(leafdraw_method_class* pMthd, void* pUserData);
|
|
s32 fpcLf_Draw(leafdraw_class* pMthd);
|
|
s32 fpcLf_Execute(leafdraw_class* pLeaf);
|
|
s32 fpcLf_IsDelete(leafdraw_class* pLeaf);
|
|
s32 fpcLf_Delete(leafdraw_class* pLeaf);
|
|
s32 fpcLf_Create(leafdraw_class* pLeaf);
|
|
};
|
|
|
|
#endif
|