summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_door_dbdoor00.h
blob: e635eb4f003bf1efa340e636859674f2e13cdd5e (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
61
62
63
64
65
66
67
68
69
70
#ifndef D_A_DOOR_DBDOOR00_H
#define D_A_DOOR_DBDOOR00_H

#include "d/d_bg_w.h"
#include "d/d_com_inf_game.h"

/**
 * @ingroup actors-doors
 * @class daDbDoor00_c
 * @brief Double Door
 *
 * @details
 *
 */
class daDbDoor00_c : public fopAc_ac_c {
public:
    char* getAlwaysArcName();
    char* getDzb();
    char* getDummyBmdName();
    char* getBmdArcName();
    char* getBmdName();
    J3DModelData* getDoorModelData();
    int CreateHeap();
    void calcMtx();
    int CreateInit();
    int create();
    int getDemoAction();
    void demoProc();
    int checkArea();
    int checkUnlock();
    int actionWait();
    int actionLockWait();
    int actionLockOff();
    int actionLockDemo();
    int actionCloseWait();
    int actionOpen();
    int execute();
    int checkDraw();
    int draw();
    int Delete();

    void setAction(u8 i_action) { mAction = i_action; }

// private:
    /* 0x568 */ request_of_phase_process_class mPhaseReq;
    /* 0x570 */ request_of_phase_process_class mPhaseReq2;
    /* 0x578 */ J3DModel* mpModel;
    /* 0x57C */ J3DModel* mpModel2;
    /* 0x580 */ dBgW* mpBgW;
    /* 0x584 */ u8 field_0x584;
    /* 0x585 */ u8 field_0x585;
    /* 0x586 */ u8 mAction;
    /* 0x587 */ u8 field_0x587[0x58A - 0x587];
    /* 0x58A */ s16 field_0x58a;
    /* 0x58C */ s16 field_0x58c;
    /* 0x58E */ u8 field_0x58E[0x590 - 0x58E];
    /* 0x590 */ s16 field_0x590;
    /* 0x594 */ s32 field_0x594;
    /* 0x598 */ s32 field_0x598;
    /* 0x59C */ cXyz field_0x59c;
    /* 0x5A8 */ cXyz field_0x5a8;
    /* 0x5B4 */ cXyz field_0x5b4;
    /* 0x5C0 */ s8 field_0x5c0;
    /* 0x5C1 */ s8 field_0x5c1;
    /* 0x5C2 */ s16 field_0x5c2;
};

STATIC_ASSERT(sizeof(daDbDoor00_c) == 0x5C4);

#endif /* D_A_DOOR_DBDOOR00_H */