summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/f_op/f_op_kankyo.h12
-rw-r--r--include/f_op/f_op_kankyo_mng.h4
-rw-r--r--include/f_pc/f_pc_manager.h5
3 files changed, 21 insertions, 0 deletions
diff --git a/include/f_op/f_op_kankyo.h b/include/f_op/f_op_kankyo.h
index e88eeb1b1a..1e13eb78db 100644
--- a/include/f_op/f_op_kankyo.h
+++ b/include/f_op/f_op_kankyo.h
@@ -2,5 +2,17 @@
#define F_OP_F_OP_KANKYO_H
#include "dolphin/types.h"
+#include "f_pc/f_pc_manager.h"
+#include "f_op/f_op_kankyo_mng.h"
+
+class kankyo_class : public leafdraw_class {
+public:
+ /* 0xC0 */ int field_0xc0;
+ /* 0xC4 */ create_tag_class field_0xc4;
+ /* 0xD8 */ leafdraw_method_class* field_0xd8;
+ /* 0xDC */ cXyz field_0xdc;
+ /* 0xE8 */ cXyz field_0xe8;
+ /* 0xF4 */ u32 field_0xf4;
+};
#endif /* F_OP_F_OP_KANKYO_H */
diff --git a/include/f_op/f_op_kankyo_mng.h b/include/f_op/f_op_kankyo_mng.h
index 9790838964..f111f21fa8 100644
--- a/include/f_op/f_op_kankyo_mng.h
+++ b/include/f_op/f_op_kankyo_mng.h
@@ -20,4 +20,8 @@ static int fopKyM_Create(s16 param_1, fopKyM_CreateFunc param_2, void* param_3);
base_process_class* fopKyM_fastCreate(s16 param_0, int param_1, cXyz* param_2, cXyz* param_3,
fopKyM_CreateFunc);
+inline void* fopKyM_GetAppend(void* param_0) {
+ return fpcM_GetAppend(param_0);
+}
+
#endif \ No newline at end of file
diff --git a/include/f_pc/f_pc_manager.h b/include/f_pc/f_pc_manager.h
index 84d376093e..cebe63b454 100644
--- a/include/f_pc/f_pc_manager.h
+++ b/include/f_pc/f_pc_manager.h
@@ -9,6 +9,7 @@
#include "f_pc/f_pc_node_req.h"
#include "f_pc/f_pc_stdcreate_req.h"
#include "f_pc/f_pc_executor.h"
+#include "f_pc/f_pc_leaf.h"
typedef int (*FastCreateReqFunc)(void*);
typedef void (*fpcM_ManagementFunc)(void);
@@ -37,6 +38,10 @@ inline int fpcM_Create(s16 procName, FastCreateReqFunc createFunc, void* process
process);
}
+inline s16 fpcM_DrawPriority(const void* param_0) {
+ return fpcLf_GetPriority((const leafdraw_class*)param_0);
+}
+
inline s32 fpcM_ChangeLayerID(void* proc, int layerID) {
return fpcPi_Change(&((base_process_class*)proc)->mPi, layerID, 0xFFFD, 0xFFFD);
}