mirror of
https://github.com/zeldaret/tp
synced 2026-06-05 03:08:18 -04:00
d_a_obj_enemy_create OK
This commit is contained in:
@@ -7,9 +7,15 @@
|
||||
#include "dolphin/mtx/mtx.h"
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
|
||||
struct actor_method_class {
|
||||
/* 0x00 */ process_method_class mBase;
|
||||
/* 0x10 */ process_method_func mpDrawFunc;
|
||||
/* 0x14 */ u8 field_0x14[0xC]; // Likely padding
|
||||
};
|
||||
|
||||
struct actor_process_profile_definition {
|
||||
/* 0x00 */ leaf_process_profile_definition mBase;
|
||||
/* 0x24 */ leafdraw_method_class* mSubMtd;
|
||||
/* 0x24 */ actor_method_class* mSubMtd;
|
||||
/* 0x28 */ int field_0x28; // mStatus
|
||||
/* 0x2C */ u8 field_0x2c; // mActorType
|
||||
/* 0x2D */ u8 field_0x2d; // mCullType
|
||||
|
||||
@@ -186,6 +186,10 @@ inline cXyz& fopAcM_GetPosition_p(fopAc_ac_c* pActor) {
|
||||
return pActor->current.pos;
|
||||
}
|
||||
|
||||
inline cXyz& fopAcM_GetPosition(fopAc_ac_c* pActor) {
|
||||
return pActor->current.pos;
|
||||
}
|
||||
|
||||
inline cXyz& fopAcM_GetOldPosition_p(fopAc_ac_c* pActor) {
|
||||
return pActor->next.pos;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user