Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_bsGate.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_BSGATE_H
2#define D_A_OBJ_BSGATE_H
3
5#include "m_Do/m_Do_hostIO.h"
7
17public:
18 enum Mode {
19 /* 0 */ MODE_WAIT,
20 /* 1 */ MODE_OPEN,
21 /* 2 */ MODE_CLOSE,
22 };
23
24 /* 80BC2910 */ void setBaseMtx();
25 /* 80BC29AC */ int CreateHeap();
26 /* 80BC2A18 */ cPhs__Step create();
27 /* 80BC2B6C */ int Execute(Mtx**);
28 /* 80BC2BBC */ void moveGate();
29 /* 80BC2CC4 */ void init_modeWait();
30 /* 80BC2CD0 */ void modeWait();
31 /* 80BC2CD4 */ void init_modeOpen();
32 /* 80BC2CE0 */ void modeOpen();
33 /* 80BC2E34 */ void init_modeClose();
34 /* 80BC2E40 */ void modeClose();
35 /* 80BC2F94 */ int Draw();
36 /* 80BC3038 */ int Delete();
37
38private:
40 /* 0x5A8 */ J3DModel* mpModel;
41 /* 0x5AC */ u8 mMode;
42 /* 0x5AD */ u8 field_0x5ad;
43 /* 0x5AE */ u8 mOpen;
44 /* 0x5AF */ u8 mSide;
45 /* 0x5B0 */ f32 mTargetDist;
46 /* 0x5B4 */ f32 mOpenDist;
47};
48
49STATIC_ASSERT(sizeof(daBsGate_c) == 0x5B8);
50
52public:
53 /* 80BC288C */ daBsGate_HIO_c();
54 /* 80BC30F4 */ ~daBsGate_HIO_c() {}
55
56 /* 0x4 */ f32 mOpenSpeed;
57 /* 0x8 */ f32 mCloseSpeed;
58 /* 0xC */ u8 mShockStrength;
59};
60
62
63#endif /* D_A_OBJ_BSGATE_H */
cPhs__Step
Definition c_phase.h:8
Definition d_bg_s_movebg_actor.h:10
Definition d_a_obj_bsGate.h:51
u8 mShockStrength
Definition d_a_obj_bsGate.h:58
daBsGate_HIO_c()
Definition d_a_obj_bsGate.cpp:26
f32 mCloseSpeed
Definition d_a_obj_bsGate.h:57
~daBsGate_HIO_c()
Definition d_a_obj_bsGate.h:54
f32 mOpenSpeed
Definition d_a_obj_bsGate.h:56
Boss Gate.
Definition d_a_obj_bsGate.h:16
cPhs__Step create()
Definition d_a_obj_bsGate.cpp:52
void modeWait()
Definition d_a_obj_bsGate.cpp:114
void init_modeWait()
Definition d_a_obj_bsGate.cpp:109
void setBaseMtx()
Definition d_a_obj_bsGate.cpp:33
u8 mMode
Definition d_a_obj_bsGate.h:41
void modeOpen()
Definition d_a_obj_bsGate.cpp:124
int Execute(Mtx **)
Definition d_a_obj_bsGate.cpp:78
f32 mOpenDist
Definition d_a_obj_bsGate.h:46
int Delete()
Definition d_a_obj_bsGate.cpp:171
u8 mSide
Definition d_a_obj_bsGate.h:44
void modeClose()
Definition d_a_obj_bsGate.cpp:145
int Draw()
Definition d_a_obj_bsGate.cpp:161
request_of_phase_process_class mPhaseReq
Definition d_a_obj_bsGate.h:39
u8 field_0x5ad
Definition d_a_obj_bsGate.h:42
Mode
Definition d_a_obj_bsGate.h:18
@ MODE_WAIT
Definition d_a_obj_bsGate.h:19
@ MODE_CLOSE
Definition d_a_obj_bsGate.h:21
@ MODE_OPEN
Definition d_a_obj_bsGate.h:20
int CreateHeap()
Definition d_a_obj_bsGate.cpp:42
u8 mOpen
Definition d_a_obj_bsGate.h:43
void init_modeClose()
Definition d_a_obj_bsGate.cpp:140
void moveGate()
Definition d_a_obj_bsGate.cpp:89
J3DModel * mpModel
Definition d_a_obj_bsGate.h:40
void init_modeOpen()
Definition d_a_obj_bsGate.cpp:119
f32 mTargetDist
Definition d_a_obj_bsGate.h:45
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daBsGate_c)==0x5B8)
f32 Mtx[3][4]
Definition mtx.h:15
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