summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_akabe.h
blob: 99a398859c5225a0f90ed798642ac13cb74a90ed (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
#ifndef D_A_OBJ_AKABE_H
#define D_A_OBJ_AKABE_H

#include "f_op/f_op_actor.h"
#include "d/d_bg_w.h"
#include "SSystem/SComponent/c_phase.h"
#include "d/d_a_obj.h"

namespace daObjAkabe {
    class Act_c : public fopAc_ac_c {
    public:
        enum Prm_e {
            PRM_SWSAVE_W = 8,
            PRM_SWSAVE_S = 0,

            PRM_SCL_W = 2,
            PRM_SCL_S = 8,

            PRM_ALWAYS_W = 1,
            PRM_ALWAYS_S = 12,

            PRM_ARG0_W = 4,
            PRM_ARG0_S = 16,
        };

        s32 prm_get_swSave() const { return daObj::PrmAbstract(this, PRM_SWSAVE_W, PRM_SWSAVE_S); }
        s32 prm_get_scl() const { return daObj::PrmAbstract(this, PRM_SCL_W, PRM_SCL_S); }
        s32 prm_get_always() const { return daObj::PrmAbstract(this, PRM_ALWAYS_W, PRM_ALWAYS_S); }
        s32 prm_get_arg0() const { return daObj::PrmAbstract(this, PRM_ARG0_W, PRM_ARG0_S); }
    
        cPhs_State _create();
        u8 create_heap();
        bool _delete();
        void init_scale();
        void init_mtx();
        bool chk_appear();
        bool _execute();
        bool _draw();

        static BOOL solidHeapCB(fopAc_ac_c*);
        static const char* const M_arcname[4];

    public:
        /* 0x290 */ request_of_phase_process_class mPhs;
        /* 0x298 */ dBgW* mpBgW;
        /* 0x29C */ Mtx mMtx;
        /* 0x2CC */ s32 mType;
        /* 0x2D0 */ u8 mbAppear;
    };
};

#endif /* D_A_OBJ_AKABE_H */