summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_window.h
blob: 83b62740a48dd3ca1e1d9e905240d6377751af15 (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
#ifndef D_A_OBJ_WINDOW_H
#define D_A_OBJ_WINDOW_H

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

/**
 * @ingroup actors-objects
 * @class daObjWindow_c
 * @brief Destructable Kakariko Village Window
 *
 * @details
 *
 */
class daObjWindow_c : public dBgS_MoveBgActor {
public:
    void initBaseMtx();
    void setBaseMtx();
    int Create();
    int CreateHeap();
    cPhs_Step create1st();
    int Execute(Mtx**);
    int Draw();
    int Delete();

    u8 getType() { return fopAcM_GetParamBit(this, 0, 8); }
    u8 getLightInf() { return fopAcM_GetParamBit(this, 8, 8); }

private:
    /* 0x5A0 */ request_of_phase_process_class mPhaseReq;
    /* 0x5A8 */ J3DModel* mpModel;
    /* 0x5AC */ mDoExt_bckAnm* mpBckAnm;
    /* 0x5B0 */ u8 mType;
    /* 0x5B4 */ dCcD_Stts mStts;
    /* 0x5F0 */ dCcD_Cyl mCyl;
};

STATIC_ASSERT(sizeof(daObjWindow_c) == 0x72C);

#endif /* D_A_OBJ_WINDOW_H */