summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_wood_pendulum.h
blob: 1a1ee024b3f9dbccd30b94a9f47b589f438e1fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef D_A_OBJ_WOOD_PENDULUM_H
#define D_A_OBJ_WOOD_PENDULUM_H

#include "d/d_com_inf_game.h"
#include "f_op/f_op_actor_mng.h"

/**
 * @ingroup actors-objects
 * @class daObjWPndlm_c
 * @brief Wooden Pendulum
 *
 * @details
 *
 */
class daObjWPndlm_c : public fopAc_ac_c {
public:
    void initBaseMtx();
    void setBaseMtx();
    int Create();
    int CreateHeap();
    int create();
    int execute();
    int draw();
    int _delete();

    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;
};

STATIC_ASSERT(sizeof(daObjWPndlm_c) == 0x960);

#endif /* D_A_OBJ_WOOD_PENDULUM_H */