summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_ganonwall.h
blob: 02d0cd1d990f0a8535be1908d93ff61f84f1bd14 (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
#ifndef D_A_OBJ_GANONWALL_H
#define D_A_OBJ_GANONWALL_H

#include "f_op/f_op_actor_mng.h"

/**
 * @ingroup actors-objects
 * @class daObjGWall_c
 * @brief Gannon Wall
 *
 * @details
 *
 */
class daObjGWall_c : public fopAc_ac_c {
public:
    void initBaseMtx();
    void setBaseMtx();
    int Create();
    int CreateHeap();
    int create();
    int execute();
    int checkDraw();
    int draw();
    int _delete();

    u32 getEventBit1() { return fopAcM_GetParamBit(this, 0, 10); }
    u32 getEventBit2() { return fopAcM_GetParamBit(this, 10, 10); }

private:
    /* 0x568 */ request_of_phase_process_class mPhaseReq;
    /* 0x570 */ J3DModel* mpModel;
    /* 0x574 */ mDoExt_btkAnm* mpBtkAnm;
    /* 0x578 */ u16 mEventBit1;
    /* 0x57A */ u16 mEventBit2;
    /* 0x57C */ u16 mMatIdx;
};

STATIC_ASSERT(sizeof(daObjGWall_c) == 0x580);


#endif /* D_A_OBJ_GANONWALL_H */