Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_lv4PoGate.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LV4POGATE_H
2#define D_A_OBJ_LV4POGATE_H
3
6#include "m_Do/m_Do_hostIO.h"
7
17public:
27
28 /* 80C5FCA4 */ void setBaseMtx();
29 /* 80C5FDAC */ int create();
30 /* 80C5FF2C */ void moveGate();
31 /* 80C60090 */ void init_modeWait();
32 /* 80C6009C */ void modeWait();
33 /* 80C600A0 */ void init_modeMoveOpen();
34 /* 80C60150 */ void modeMoveOpen();
35 /* 80C60200 */ void init_modeMoveClose();
36 /* 80C602B0 */ void modeMoveClose();
37 /* 80C6031C */ void init_modeMoveCloseWait();
38 /* 80C60338 */ void modeMoveCloseWait();
39 /* 80C60370 */ void init_modeMoveClose2();
40 /* 80C6037C */ void modeMoveClose2();
41 /* 80C603E0 */ void init_modeMoveClose2Wait();
42 /* 80C603FC */ void modeMoveClose2Wait();
43 /* 80C60434 */ void init_modeMoveClose3();
44 /* 80C60450 */ void modeMoveClose3();
45 /* 80C604D8 */ void setSe();
46 /* 80C60534 */ void setEffect(int);
47
48 /* 80C5FD40 */ virtual int CreateHeap();
49 /* 80C5FEDC */ virtual int Execute(f32 (**)[3][4]);
50 /* 80C605F8 */ virtual int Draw();
51 /* 80C6069C */ virtual int Delete();
52
53 int getSw() { return fopAcM_GetParamBit(this, 0, 8); }
54
55private:
57 /* 0x5A8 */ J3DModel* mpModel;
58 /* 0x5AC */ u8 mMode;
59 /* 0x5AD */ u8 mSw;
60 /* 0x5AE */ u8 mInitMove;
61 /* 0x5B0 */ f32 mMoveTarget;
62 /* 0x5B4 */ f32 mMoveValue;
63 /* 0x5B8 */ u8 mCloseWaitTime;
64};
65
66STATIC_ASSERT(sizeof(daLv4PoGate_c) == 0x5BC);
67
69public:
70 /* 80C5FBEC */ daLv4PoGate_HIO_c();
71 /* 80C60758 */ virtual ~daLv4PoGate_HIO_c() {};
72
73 /* 0x04 */ f32 mOpenSpeed;
78 /* 0x18 */ u8 mCloseStep1Wait;
79 /* 0x19 */ u8 mCloseStep2Wait;
81 /* 0x20 */ f32 mCloseStep3Max;
82 /* 0x24 */ u8 mShockStrength;
83};
84
85#endif /* D_A_OBJ_LV4POGATE_H */
Definition d_bg_s_movebg_actor.h:10
Definition d_a_obj_lv4PoGate.h:68
f32 mCloseStep3Speed
Definition d_a_obj_lv4PoGate.h:80
f32 mCloseStep1Amount
Definition d_a_obj_lv4PoGate.h:76
u8 mCloseStep2Wait
Definition d_a_obj_lv4PoGate.h:79
virtual ~daLv4PoGate_HIO_c()
Definition d_a_obj_lv4PoGate.h:71
daLv4PoGate_HIO_c()
Definition d_a_obj_lv4PoGate.cpp:27
f32 mCloseStep1Speed
Definition d_a_obj_lv4PoGate.h:74
u8 mShockStrength
Definition d_a_obj_lv4PoGate.h:82
u8 mCloseStep1Wait
Definition d_a_obj_lv4PoGate.h:78
f32 mCloseStep3Max
Definition d_a_obj_lv4PoGate.h:81
f32 mCloseStep2Amount
Definition d_a_obj_lv4PoGate.h:77
f32 mOpenSpeed
Definition d_a_obj_lv4PoGate.h:73
f32 mCloseStep2Speed
Definition d_a_obj_lv4PoGate.h:75
Arbiter's Grounds Poe Gate.
Definition d_a_obj_lv4PoGate.h:16
int create()
Definition d_a_obj_lv4PoGate.cpp:63
void init_modeMoveClose()
Definition d_a_obj_lv4PoGate.cpp:158
void moveGate()
Definition d_a_obj_lv4PoGate.cpp:107
void modeMoveOpen()
Definition d_a_obj_lv4PoGate.cpp:149
int getSw()
Definition d_a_obj_lv4PoGate.h:53
void modeMoveClose()
Definition d_a_obj_lv4PoGate.cpp:168
virtual int Draw()
Definition d_a_obj_lv4PoGate.cpp:267
void modeWait()
Definition d_a_obj_lv4PoGate.cpp:136
u8 mInitMove
Definition d_a_obj_lv4PoGate.h:60
u8 mCloseWaitTime
Definition d_a_obj_lv4PoGate.h:63
void init_modeMoveClose2()
Definition d_a_obj_lv4PoGate.cpp:192
void init_modeMoveClose2Wait()
Definition d_a_obj_lv4PoGate.cpp:208
virtual int Execute(f32(**)[3][4])
Definition d_a_obj_lv4PoGate.cpp:95
void init_modeMoveClose3()
Definition d_a_obj_lv4PoGate.cpp:223
void init_modeMoveOpen()
Definition d_a_obj_lv4PoGate.cpp:139
void setBaseMtx()
Definition d_a_obj_lv4PoGate.cpp:41
void init_modeWait()
Definition d_a_obj_lv4PoGate.cpp:131
virtual int CreateHeap()
Definition d_a_obj_lv4PoGate.cpp:51
Mode_e
Definition d_a_obj_lv4PoGate.h:18
@ MODE_MOVE_CLOSE_e
Definition d_a_obj_lv4PoGate.h:21
@ MODE_MOVE_CLOSE2_WAIT_e
Definition d_a_obj_lv4PoGate.h:24
@ MODE_WAIT_e
Definition d_a_obj_lv4PoGate.h:19
@ MODE_MOVE_CLOSE_WAIT_e
Definition d_a_obj_lv4PoGate.h:22
@ MODE_MOVE_CLOSE3_e
Definition d_a_obj_lv4PoGate.h:25
@ MODE_MOVE_OPEN_e
Definition d_a_obj_lv4PoGate.h:20
@ MODE_MOVE_CLOSE2_e
Definition d_a_obj_lv4PoGate.h:23
void modeMoveCloseWait()
Definition d_a_obj_lv4PoGate.cpp:183
u8 mMode
Definition d_a_obj_lv4PoGate.h:58
f32 mMoveValue
Definition d_a_obj_lv4PoGate.h:62
void setSe()
Definition d_a_obj_lv4PoGate.cpp:240
request_of_phase_process_class mPhase
Definition d_a_obj_lv4PoGate.h:56
u8 mSw
Definition d_a_obj_lv4PoGate.h:59
J3DModel * mpModel
Definition d_a_obj_lv4PoGate.h:57
virtual int Delete()
Definition d_a_obj_lv4PoGate.cpp:278
void modeMoveClose2Wait()
Definition d_a_obj_lv4PoGate.cpp:214
void setEffect(int)
Definition d_a_obj_lv4PoGate.cpp:245
f32 mMoveTarget
Definition d_a_obj_lv4PoGate.h:61
void modeMoveClose3()
Definition d_a_obj_lv4PoGate.cpp:230
void init_modeMoveCloseWait()
Definition d_a_obj_lv4PoGate.cpp:177
void modeMoveClose2()
Definition d_a_obj_lv4PoGate.cpp:198
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daLv4PoGate_c)==0x5BC)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8