summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_smw_stone.h
blob: 02f58284ff05526b893e320068492e6d72cf5e5f (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
43
44
45
#ifndef D_A_OBJ_SMW_STONE_H
#define D_A_OBJ_SMW_STONE_H

#include "f_op/f_op_actor_mng.h"

/**
 * @ingroup actors-objects
 * @class daSmWStone_c
 * @brief Howling Stone
 *
 * @details
 *
 */
class daSmWStone_c : public fopAc_ac_c, public request_of_phase_process_class {
public:
    daSmWStone_c();
    virtual ~daSmWStone_c();
    cPhs_Step create();
    int execute();
    int draw();
    int Delete();
    void exeModeHowl();
    void setModelMtx();
    int createHeap();
    void init();
    bool chkWlfInRange();

    int getTuneId() { return 2; }
    u8 getSwBit0() { return fopAcM_GetParamBit(this, 0, 8); }
    void deleteStone() { mDelete = true; }

private:
    /* 0x574 */ cBgS_PolyInfo mPolyInfo;
    /* 0x584 */ J3DModel* mpModel;
    /* 0x588 */ dBgW* mpBgW;
    /* 0x58C */ Mtx mBgMtx;
    /* 0x5BC */ f32 mGroundH;
    /* 0x5C0 */ u32 mShadowKey;
    /* 0x5C4 */ u8 mMode;
    /* 0x5C5 */ bool mDelete;
};

STATIC_ASSERT(sizeof(daSmWStone_c) == 0x5c8);

#endif /* D_A_OBJ_SMW_STONE_H */