Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_pdoor.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_PDOOR_H
2#define D_A_OBJ_PDOOR_H
3
6
16public:
17 typedef void (daObjPDoor_c::*modeFunc)();
18
23
24 /* 80CA9F9C */ void initBaseMtx();
25 /* 80CA9FD8 */ void setBaseMtx();
26 /* 80CAA03C */ int Create();
27 /* 80CAA14C */ int CreateHeap();
28 /* 80CAA1BC */ int create1st();
29 /* 80CAA23C */ int Execute(Mtx**);
30 /* 80CAA290 */ void mode_proc_call();
31 /* 80CAA31C */ void init_modeWait();
32 /* 80CAA354 */ void modeWait();
33 /* 80CAA698 */ void init_modeRotate();
34 /* 80CAA6B4 */ void modeRotate();
35 /* 80CAA968 */ int Draw();
36 /* 80CAAA0C */ int Delete();
37
38 u8 getSwbit() { return fopAcM_GetParamBit(this, 0, 8); }
39 u8 getSwbit2() { return fopAcM_GetParamBit(this, 8, 8); }
40
42 /* 0x5A8 */ J3DModel* mModel;
43 /* 0x5AC */ s8 mDoorDirection;
44 /* 0x5AD */ u8 mMode;
45 /* 0x5B0 */ int field_0x5b0;
46 /* 0x5B4 */ u8 field_0x5b4;
47 /* 0x5B5 */ u8 field_0x5b5;
48 /* 0x5B6 */ u8 field_0x5b6[2];
49 /* 0x5B8 */ s16 field_0x5b8;
50 /* 0x5BA */ s16 field_0x5ba;
51 /* 0x5BC */ s16 field_0x5bc;
53};
54
55STATIC_ASSERT(sizeof(daObjPDoor_c) == 0x5c4);
56
57
58#endif /* D_A_OBJ_PDOOR_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition d_bg_s_movebg_actor.h:10
PushPullLabel
Definition d_bg_w_base.h:28
Push Door.
Definition d_a_obj_pdoor.h:15
int Draw()
Definition d_a_obj_pdoor.cpp:260
void modeWait()
Definition d_a_obj_pdoor.cpp:142
void modeRotate()
Definition d_a_obj_pdoor.cpp:226
s8 mDoorDirection
Definition d_a_obj_pdoor.h:43
void mode_proc_call()
Definition d_a_obj_pdoor.cpp:123
Mode
Definition d_a_obj_pdoor.h:19
@ MODE_ROTATE
Definition d_a_obj_pdoor.h:21
@ MODE_WAIT
Definition d_a_obj_pdoor.h:20
s16 field_0x5b8
Definition d_a_obj_pdoor.h:49
u8 field_0x5b6[2]
Definition d_a_obj_pdoor.h:48
void setBaseMtx()
Definition d_a_obj_pdoor.cpp:50
request_of_phase_process_class mPhase
Definition d_a_obj_pdoor.h:41
int Create()
Definition d_a_obj_pdoor.cpp:69
u8 getSwbit2()
Definition d_a_obj_pdoor.h:39
u8 mMode
Definition d_a_obj_pdoor.h:44
s16 field_0x5ba
Definition d_a_obj_pdoor.h:50
void init_modeRotate()
Definition d_a_obj_pdoor.cpp:218
int Delete()
Definition d_a_obj_pdoor.cpp:270
void initBaseMtx()
Definition d_a_obj_pdoor.cpp:44
int field_0x5b0
Definition d_a_obj_pdoor.h:45
int create1st()
Definition d_a_obj_pdoor.cpp:101
J3DModel * mModel
Definition d_a_obj_pdoor.h:42
dBgW_Base::PushPullLabel mPushPullLabel
Definition d_a_obj_pdoor.h:52
u8 getSwbit()
Definition d_a_obj_pdoor.h:38
int Execute(Mtx **)
Definition d_a_obj_pdoor.cpp:114
int CreateHeap()
Definition d_a_obj_pdoor.cpp:93
u8 field_0x5b4
Definition d_a_obj_pdoor.h:46
s16 field_0x5bc
Definition d_a_obj_pdoor.h:51
void(daObjPDoor_c::* modeFunc)()
Definition d_a_obj_pdoor.h:17
u8 field_0x5b5
Definition d_a_obj_pdoor.h:47
void init_modeWait()
Definition d_a_obj_pdoor.cpp:132
STATIC_ASSERT(sizeof(daObjPDoor_c)==0x5c4)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:170
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8