summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_lv7PropellerY.h
blob: 414336519b755ffe34fb1940da6123c29faa0cd8 (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
58
59
60
#ifndef D_A_OBJ_LV7PROPELLERY_H
#define D_A_OBJ_LV7PROPELLERY_H

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

/**
 * @ingroup actors-objects
 * @class daPropY_c
 * @brief City in the Sky Propeller
 *
 * @details
 *
 */
class daPropY_c : public dBgS_MoveBgActor {
public:
    void setBaseMtx();
    int create();
    void procMain();
    void init_modeMoveWait();
    void modeMoveWait();
    void init_modeMove();
    void modeMove();
    void init_modeWait();
    void modeWait();
    void init_modeMove2();
    void modeMove2();
    void init_modeStop();
    void modeStop();

    virtual int CreateHeap();
    virtual int Execute(Mtx**);
    virtual int Draw();
    virtual int Delete();

    int getType() { return fopAcM_GetParamBit(this, 0, 4); }
    int getSw() { return fopAcM_GetParamBit(this, 8, 8); }
    int getTurnType() { return fopAcM_GetParamBit(this, 4, 4); }
    int getTurnVec() { return fopAcM_GetParamBit(this, 16, 4); }

    /* 0x5A0 */ request_of_phase_process_class mPhase;
    /* 0x5A8 */ J3DModel* mpModel;
    /* 0x5AC */ u8 mMode;
    /* 0x5AD */ u8 mSwbit;
    /* 0x5AE */ u8 mIsSwitch;
    /* 0x5AF */ u8 mType;
    /* 0x5B0 */ u8 mTurnType;
    /* 0x5B1 */ u8 mTurnVec;
    /* 0x5B2 */ s8 field_0x5b2;
    /* 0x5B4 */ s16 field_0x5b4;
    /* 0x5B6 */ s16 field_0x5b6;
    /* 0x5B8 */ u8 mTimer;
    /* 0x5BC */ f32 field_0x5bc;
    /* 0x5C0 */ f32 field_0x5c0;
    /* 0x5C4 */ f32 field_0x5c4;
};

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

#endif /* D_A_OBJ_LV7PROPELLERY_H */