summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_otble.h
blob: 9dcb1fc35bc5f01fcf8a3d9da13c4ff3bd58397d (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
#ifndef D_A_OBJ_OTBLE_H
#define D_A_OBJ_OTBLE_H

#include "f_op/f_op_actor.h"
#include "d/d_bg_s_acch.h"

class dBgW;

namespace daObj_Otble {
    struct Attr_c {
        u8 m00;
        u8 m01;
    }; // size = 0x2

    class Act_c : public fopAc_ac_c {
    public:
        inline cPhs_State _create();
        inline bool _delete();
        const Attr_c* attr() const { return &M_attr; }
    
        void set_mtx();
        BOOL _execute();
        BOOL _draw();
        BOOL _createHeap();
        void CreateInit();

        static const Attr_c M_attr;
    
    public:
        /* 0x290 */ J3DModel* mModel;
        /* 0x294 */ s32 m294;
        /* 0x298 */ request_of_phase_process_class mPhase;
        /* 0x2A0 */ dBgW* mBgW;
        /* 0x2A4 */ Mtx m2A4;
        /* 0x2D4 */ dBgS_ObjAcch mObjAcch;
        /* 0x498 */ dBgS_AcchCir mObjAcchCir;
    }; // size = 0x4D8

    namespace Mthd {
        cPhs_State Create(void*);
        BOOL Delete(void*);
        BOOL Execute(void*);
        BOOL Draw(void*);
        BOOL IsDelete(void*);
        extern actor_method_class Table;
    };
};

#endif /* D_A_OBJ_OTBLE_H */