summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_sm_door.h
blob: bec15a0ae8b088b320361cbd85aaa5167b550ad0 (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
#ifndef D_A_OBJ_SM_DOOR_H
#define D_A_OBJ_SM_DOOR_H

#include "SSystem/SComponent/c_phase.h"
#include "d/d_bg_s_acch.h"
#include "d/d_bg_s_movebg_actor.h"
#include "d/d_cc_d.h"
#include "d/d_cc_uty.h"

/**
 * @ingroup actors-objects
 * @class daObjSM_DOOR_c
 * @brief Sacred Meadow Door
 *
 * @details
 *
 */
class daObjSM_DOOR_c : public dBgS_MoveBgActor {
public:
    void ChangeModel();
    void Action();
    int SetDzb();
    int ReleaceDzb();
    void DrawChk1();
    void DrawChk2();
    void setBaseMtx();
    cPhs_Step create();
    int CreateHeap();
    int Create();
    int Execute(Mtx**);
    int Draw();
    int Delete();

private:
    /* 0x5A0 */ bool mUseAlphaModel;
    /* 0x5A1 */ u8 field_0x5a1[0x5AC - 0x5A1];
    /* 0x5AC */ s16 mMode;
    /* 0x5AE */ u8 field_0x5ae[0x5B8 - 0x5AE];
    /* 0x5B8 */ u8 mAlpha;
    /* 0x5B9 */ u8 mType;
    /* 0x5BA */ u8 mSwType;
    /* 0x5BB */ u8 mSwBit;
    /* 0x5BC */ bool mActive;
    /* 0x5BD */ u8 field_0x5bd[0x5CC - 0x5BD];
    /* 0x5CC */ J3DModel* mpModel;
    /* 0x5D0 */ J3DModel* mpAlphaModel;
    /* 0x5D4 */ request_of_phase_process_class mPhase;
    /* 0x5DC */ dBgS_AcchCir mAcchCir;
    /* 0x61C */ dBgS_ObjAcch mAcch;
    /* 0x7F4 */ dCcD_Stts mCcStts;
    /* 0x830 */ dCcU_AtInfo mAtInfo;
    /* 0x854 */ u8 field_0x854[0x858 - 0x854];
};

STATIC_ASSERT(sizeof(daObjSM_DOOR_c) == 0x858);


#endif /* D_A_OBJ_SM_DOOR_H */