mirror of https://github.com/zeldaret/tp.git
fopMsgM_create OK
This commit is contained in:
parent
1af35692a2
commit
1e029a8cb1
|
@ -0,0 +1,8 @@
|
||||||
|
#ifndef D_MSG_OBJECT_H_
|
||||||
|
#define D_MSG_OBJECT_H_
|
||||||
|
|
||||||
|
#include "dolphin/types.h"
|
||||||
|
|
||||||
|
class dMsgObject_c;
|
||||||
|
|
||||||
|
#endif
|
|
@ -6,4 +6,6 @@
|
||||||
#include "dolphin/types.h"
|
#include "dolphin/types.h"
|
||||||
#include "f/f_op/f_op_actor.h"
|
#include "f/f_op/f_op_actor.h"
|
||||||
|
|
||||||
|
typedef int (*fopMsgCreateFunc)(void*);
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -11,6 +11,7 @@
|
||||||
#include "f/f_pc/f_pc_node.h"
|
#include "f/f_pc/f_pc_node.h"
|
||||||
#include "f/f_pc/f_pc_priority.h"
|
#include "f/f_pc/f_pc_priority.h"
|
||||||
#include "f/f_pc/f_pc_executor.h"
|
#include "f/f_pc/f_pc_executor.h"
|
||||||
|
#include "d/d_msg_object/d_msg_object.h"
|
||||||
|
|
||||||
// additional symbols needed for f_op_msg_mng.cpp
|
// additional symbols needed for f_op_msg_mng.cpp
|
||||||
// autogenerated by split.py v0.4 at 2021-02-15 20:21:51.945228
|
// autogenerated by split.py v0.4 at 2021-02-15 20:21:51.945228
|
||||||
|
@ -129,7 +130,7 @@ void fopMsgM_Delete(void* pProc) {
|
||||||
|
|
||||||
// createAppend__FP10fopAc_ac_cP4cXyzPUlPUlUi
|
// createAppend__FP10fopAc_ac_cP4cXyzPUlPUlUi
|
||||||
// createAppend(fopAc_ac_c*, cXyz*, u32*, u32*, unsigned int)
|
// createAppend(fopAc_ac_c*, cXyz*, u32*, u32*, unsigned int)
|
||||||
asm void createAppend(fopAc_ac_c*, cXyz*, u32*, u32*, unsigned int) {
|
asm dMsgObject_c** createAppend(fopAc_ac_c*, cXyz*, u32*, u32*, unsigned int) {
|
||||||
nofralloc
|
nofralloc
|
||||||
#include "f/f_op/f_op_msg_mng/asm/func_8001FA6C.s"
|
#include "f/f_op/f_op_msg_mng/asm/func_8001FA6C.s"
|
||||||
}
|
}
|
||||||
|
@ -141,12 +142,18 @@ asm void createTimerAppend(int, u32, u8, u8, f32, f32, f32, f32, unsigned int) {
|
||||||
#include "f/f_op/f_op_msg_mng/asm/func_8001FB50.s"
|
#include "f/f_op/f_op_msg_mng/asm/func_8001FB50.s"
|
||||||
}
|
}
|
||||||
|
|
||||||
// fopMsgM_create__FsP10fopAc_ac_cP4cXyzPUlPUlPFPv_i
|
s32 fopMsgM_create(s16 param_1, fopAc_ac_c* pActor, cXyz* pPosition, u32* param_4, u32* param_5, fopMsgCreateFunc param_6) {
|
||||||
// fopMsgM_create__FsP10fopAc_ac_cP4cXyzPUlPUlPFPv_i(s16, fopAc_ac_c*, cXyz*, u32*, u32*, int
|
s32 ret;
|
||||||
// (*)(void*))
|
dMsgObject_c** ppMsg = createAppend(pActor,pPosition,param_4,param_5,-1);
|
||||||
asm void fopMsgM_create(s16, fopAc_ac_c*, cXyz*, u32*, u32*, int (*)(void*)) {
|
|
||||||
nofralloc
|
if (!ppMsg) {
|
||||||
#include "f/f_op/f_op_msg_mng/asm/func_8001FC4C.s"
|
ret = -1;
|
||||||
|
} else {
|
||||||
|
layer_class* pLayer = fpcLy_CurrentLayer();
|
||||||
|
ret = fpcSCtRq_Request(pLayer,param_1,(stdCreateFunc)param_6,0,ppMsg);
|
||||||
|
}
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// fop_Timer_create__FsUcUlUcUcffffPFPv_i
|
// fop_Timer_create__FsUcUlUcUcffffPFPv_i
|
||||||
|
|
Loading…
Reference in New Issue