mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
046d178003
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress
42 lines
1.2 KiB
C
42 lines
1.2 KiB
C
|
|
#ifndef F_PC_LEAF_H_
|
|
#define F_PC_LEAF_H_
|
|
|
|
#include "dolphin/types.h"
|
|
#include "f_pc/f_pc_base.h"
|
|
#include "f_pc/f_pc_draw_priority.h"
|
|
#include "f_pc/f_pc_method.h"
|
|
|
|
typedef struct leafdraw_method_class {
|
|
/* 0x00 */ process_method_class mBase;
|
|
/* 0x10 */ process_method_func mpDrawFunc;
|
|
} leafdraw_method_class;
|
|
|
|
typedef struct leafdraw_class {
|
|
/* 0x00 */ base_process_class mBase;
|
|
/* 0xB8 */ leafdraw_method_class* mpDrawMtd;
|
|
/* 0xBC */ s8 mbUnk0;
|
|
/* 0xBD */ u8 mbUnk1;
|
|
/* 0xBE */ draw_priority_class mDwPi;
|
|
} leafdraw_class;
|
|
|
|
typedef struct leaf_process_profile_definition {
|
|
/* 0x00 */ process_profile_definition mBase;
|
|
/* 0x28 */ int field_0x28;
|
|
/* 0x2C */ u8 field_0x2c;
|
|
/* 0x2D */ u8 field_0x2d;
|
|
} leaf_process_profile_definition;
|
|
|
|
s32 fpcLf_GetPriority(const 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);
|
|
|
|
extern int g_fpcLf_type;
|
|
extern leafdraw_method_class g_fpcLf_Method;
|
|
|
|
#endif
|