summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_windmill.h
blob: 59466b167b9ca8e4849ac6b51fd11e4f1f57d2bc (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
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef D_A_WINDMILL_H
#define D_A_WINDMILL_H

#include "f_op/f_op_actor.h"
#include "d/d_cc_d.h"
#include "SSystem/SComponent/c_phase.h"
#include "f_op/f_op_actor_mng.h"

class dBgW;

class daWindMill_c : public fopAc_ac_c {
public:
    void getMaxRotSpeed() const {}
    void getRotSpeed() const {}
    u8 getType() const {
        return mType;
    }

    bool _delete();
    BOOL CreateHeap();
    void CreateInit();
    void search_wind();
    cPhs_State _create();
    void set_mtx();
    bool _execute();
    void hane_move();
    void set_at();
    void set_co();
    bool _draw();
    
    static const s16 m_max_rot_speed[];
    static const char* m_arcname[];
    static const s16 m_bmdidx[];
    static const s16 m_dzbidx[];
    static const s16 m_heapsize[];
    static const Vec m_cull_size[][2];

public:
    /* 0x0290 */ request_of_phase_process_class mPhs;
    /* 0x0298 */ J3DModel* mpModel;
    /* 0x029C */ dCcD_Stts mStts;
    /* 0x02D8 */ dCcD_Sph mSph[9];
    /* 0x06D4 */ dCcD_Cps mCps[4];
    /* 0x1244 */ cM3dGCpsS m1244[4];
    /* 0x12B4 */ dBgW* mpBgW;
    /* 0x12B8 */ Mtx mMtx;
    /* 0x12E8 */ dCcD_Cyl mCyl;
    /* 0x1418 */ u8 mType;
    /* 0x141A */ s16 mAngle[3];
    /* 0x1420 */ u32 mWindTagId;
};

namespace daWindMill_prm {
    inline u8 getType(daWindMill_c* i_this) { return fopAcM_GetParam(i_this) & 0xF; }
};

#endif /* D_A_WINDMILL_H */