Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_cdoor.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CDOOR_H
2#define D_A_OBJ_CDOOR_H
3
6
16public:
17 enum Mode {
18 /* 0 */ MODE_WAIT,
19 /* 1 */ MODE_OPEN,
20 /* 2 */ MODE_CLOSE,
21 };
22
23 enum Action {
24 /* 0 */ ACT_WAIT,
26 /* 2 */ ACT_EVENT,
27 /* 3 */ ACT_DEAD,
28 };
29
30 /* 80BC729C */ virtual ~daObjCdoor_c();
31 /* 80BC6DB8 */ int CreateHeap();
32 /* 80BC6F30 */ cPhs__Step create();
33 /* 80BC73C0 */ void setMatrix();
34 /* 80BC7424 */ int Execute(Mtx**);
35 /* 80BC7478 */ void execCdoor();
36 /* 80BC7630 */ void execWgate();
37 /* 80BC775C */ void init_modeWait();
38 /* 80BC7768 */ void modeWait();
39 /* 80BC776C */ void init_modeOpen();
40 /* 80BC77BC */ void modeOpen();
41 /* 80BC78B0 */ void init_modeClose();
42 /* 80BC7900 */ void modeClose();
43 /* 80BC7A14 */ void event_proc_call();
44 /* 80BC7AD0 */ void actionWait();
45 /* 80BC7B34 */ void actionOrderEvent();
46 /* 80BC7B9C */ void actionEvent();
47 /* 80BC7BF8 */ void actionDead();
48 /* 80BC7C04 */ int Draw();
49
51 int getSwitchNum() { return mSw; }
53
54private:
56 /* 0x5A8 */ J3DModel* mpModel;
57 /* 0x5AC */ bool mEnd;
58 /* 0x5AD */ bool mCamLock;
59 /* 0x5AE */ u8 mType;
60 /* 0x5AF */ u8 field_0x5af;
61 /* 0x5B0 */ u8 mIsOpen;
62 /* 0x5B1 */ u8 field_0x5b1[3];
63 /* 0x5B4 */ s16 mEventID;
64 /* 0x5B6 */ u8 mMapToolID;
65 /* 0x5B7 */ u8 mAction;
66 /* 0x5B8 */ u32 mChainID;
67 /* 0x5BC */ int mSw;
70 /* 0x5F8 */ u8 field_0x5f8;
71 /* 0x5F9 */ u8 mMode;
72};
73
74STATIC_ASSERT(sizeof(daObjCdoor_c) == 0x5FC);
75
76#endif /* D_A_OBJ_CDOOR_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
cPhs__Step
Definition c_phase.h:8
Definition d_bg_s_movebg_actor.h:10
Chain Door.
Definition d_a_obj_cdoor.h:15
void init_modeOpen()
Definition d_a_obj_cdoor.cpp:234
u8 mIsOpen
Definition d_a_obj_cdoor.h:61
void init_modeClose()
Definition d_a_obj_cdoor.cpp:249
void execWgate()
Definition d_a_obj_cdoor.cpp:201
request_of_phase_process_class mPhaseReq
Definition d_a_obj_cdoor.h:55
void modeWait()
Definition d_a_obj_cdoor.cpp:229
int getSwitchNum()
Definition d_a_obj_cdoor.h:51
void actionWait()
Definition d_a_obj_cdoor.cpp:282
u8 mMapToolID
Definition d_a_obj_cdoor.h:64
int mSw
Definition d_a_obj_cdoor.h:67
u8 mAction
Definition d_a_obj_cdoor.h:65
void setMatrix()
Definition d_a_obj_cdoor.cpp:145
void init_modeWait()
Definition d_a_obj_cdoor.cpp:224
cPhs__Step create()
Definition d_a_obj_cdoor.cpp:75
bool mCamLock
Definition d_a_obj_cdoor.h:58
void actionOrderEvent()
Definition d_a_obj_cdoor.cpp:292
void modeOpen()
Definition d_a_obj_cdoor.cpp:240
u8 field_0x5b1[3]
Definition d_a_obj_cdoor.h:62
bool mEnd
Definition d_a_obj_cdoor.h:57
int Execute(Mtx **)
Definition d_a_obj_cdoor.cpp:153
Mode
Definition d_a_obj_cdoor.h:17
@ MODE_OPEN
Definition d_a_obj_cdoor.h:19
@ MODE_WAIT
Definition d_a_obj_cdoor.h:18
@ MODE_CLOSE
Definition d_a_obj_cdoor.h:20
int Draw()
Definition d_a_obj_cdoor.cpp:315
u8 mType
Definition d_a_obj_cdoor.h:59
void event_proc_call()
Definition d_a_obj_cdoor.cpp:270
u32 mChainID
Definition d_a_obj_cdoor.h:66
s16 mEventID
Definition d_a_obj_cdoor.h:63
void execCdoor()
Definition d_a_obj_cdoor.cpp:167
int CreateHeap()
Definition d_a_obj_cdoor.cpp:45
void actionDead()
Definition d_a_obj_cdoor.cpp:310
u8 field_0x5af
Definition d_a_obj_cdoor.h:60
Action
Definition d_a_obj_cdoor.h:23
@ ACT_EVENT
Definition d_a_obj_cdoor.h:26
@ ACT_WAIT
Definition d_a_obj_cdoor.h:24
@ ACT_DEAD
Definition d_a_obj_cdoor.h:27
@ ACT_ORDER_EVENT
Definition d_a_obj_cdoor.h:25
J3DModel * mpModel
Definition d_a_obj_cdoor.h:56
mDoExt_bckAnm mCloseAnm
Definition d_a_obj_cdoor.h:69
void setChainID(u32 i_id)
Definition d_a_obj_cdoor.h:52
void modeClose()
Definition d_a_obj_cdoor.cpp:255
u8 field_0x5f8
Definition d_a_obj_cdoor.h:70
u8 mMode
Definition d_a_obj_cdoor.h:71
void actionEvent()
Definition d_a_obj_cdoor.cpp:302
void setAction(u8 i_action)
Definition d_a_obj_cdoor.h:50
virtual ~daObjCdoor_c()
Definition d_a_obj_cdoor.cpp:132
mDoExt_bckAnm mOpenAnm
Definition d_a_obj_cdoor.h:68
STATIC_ASSERT(sizeof(daObjCdoor_c)==0x5FC)
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:56
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8