2021-03-28 22:49:05 +02:00
|
|
|
#ifndef D_A_OBJ_WOOD_PENDULUM_H
|
|
|
|
|
#define D_A_OBJ_WOOD_PENDULUM_H
|
|
|
|
|
|
2024-10-10 07:29:58 -07:00
|
|
|
#include "d/d_com_inf_game.h"
|
2023-12-07 01:01:42 +01:00
|
|
|
#include "f_op/f_op_actor_mng.h"
|
2024-05-29 01:49:10 -06:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ingroup actors-objects
|
|
|
|
|
* @class daObjWPndlm_c
|
|
|
|
|
* @brief Wooden Pendulum
|
|
|
|
|
*
|
|
|
|
|
* @details
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
class daObjWPndlm_c : public fopAc_ac_c {
|
|
|
|
|
public:
|
2025-11-30 14:23:42 -08:00
|
|
|
void initBaseMtx();
|
|
|
|
|
void setBaseMtx();
|
|
|
|
|
int Create();
|
|
|
|
|
int CreateHeap();
|
|
|
|
|
int create();
|
|
|
|
|
int execute();
|
|
|
|
|
int draw();
|
|
|
|
|
int _delete();
|
2024-05-29 01:49:10 -06:00
|
|
|
|
|
|
|
|
u32 getArg0() { return fopAcM_GetParamBit(this, 0, 8); }
|
|
|
|
|
u32 getArg1() { return fopAcM_GetParamBit(this, 8, 8); }
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
/* 0x568 */ request_of_phase_process_class mPhaseReq;
|
|
|
|
|
/* 0x570 */ J3DModel* mpModel;
|
|
|
|
|
/* 0x574 */ dCcD_Stts mStts;
|
|
|
|
|
/* 0x5B0 */ dCcD_Sph mSph;
|
|
|
|
|
/* 0x6E8 */ dCcD_Sph field_0x6e8[2];
|
|
|
|
|
/* 0x958 */ s16 field_0x958;
|
|
|
|
|
/* 0x95A */ s16 field_0x95a;
|
|
|
|
|
/* 0x95C */ s16 field_0x95c;
|
|
|
|
|
};
|
2024-06-10 01:34:52 -06:00
|
|
|
|
2024-05-29 01:49:10 -06:00
|
|
|
STATIC_ASSERT(sizeof(daObjWPndlm_c) == 0x960);
|
|
|
|
|
|
2021-03-28 22:49:05 +02:00
|
|
|
#endif /* D_A_OBJ_WOOD_PENDULUM_H */
|