mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
d_a_obj_tmoon OK
This commit is contained in:
@@ -153,7 +153,7 @@ inline u32 fopAcM_GetParam(const void* pActor) {
|
||||
return fpcM_GetParam(pActor);
|
||||
}
|
||||
|
||||
inline u8 fopAcM_GetParamBit(void* ac, u8 shift, u8 bit) {
|
||||
inline u32 fopAcM_GetParamBit(void* ac, u8 shift, u8 bit) {
|
||||
return (fopAcM_GetParam(ac) >> shift) & ((1 << bit) - 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,27 @@
|
||||
#ifndef D_A_OBJ_TMOON_H
|
||||
#define D_A_OBJ_TMOON_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
class daObjTMoon_c : public fopAc_ac_c {
|
||||
public:
|
||||
/* 80D12BB8 */ void initBaseMtx();
|
||||
/* 80D12BF4 */ void setBaseMtx();
|
||||
/* 80D12C48 */ int Create();
|
||||
/* 80D12C9C */ bool CreateHeap();
|
||||
/* 80D12D0C */ int create();
|
||||
/* 80D12DC0 */ int execute();
|
||||
/* 80D12EB4 */ int draw();
|
||||
/* 80D12EDC */ int _delete();
|
||||
|
||||
u32 getEventBit1() { return fopAcM_GetParamBit(this, 0, 10); }
|
||||
u32 getEventBit2() { return fopAcM_GetParamBit(this, 10, 10); }
|
||||
|
||||
/* 0x568 */ request_of_phase_process_class field_0x568;
|
||||
/* 0x570 */ J3DModel* field_0x570;
|
||||
/* 0x574 */ u16 field_0x574;
|
||||
/* 0x576 */ u16 field_0x576;
|
||||
}; // Size: 0x578
|
||||
|
||||
#endif /* D_A_OBJ_TMOON_H */
|
||||
|
||||
Reference in New Issue
Block a user