Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_groundwater.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_GROUNDWATER_H
2#define D_A_OBJ_GROUNDWATER_H
3
7#include "m_Do/m_Do_hostIO.h"
8
18public:
19 typedef void (daGrdWater_c::*modeFunc)();
20
28
29 /* 80C13540 */ void setBaseMtx();
30 /* 80C13618 */ int CreateHeap();
31 /* 80C139E4 */ int create();
32 /* 80C13DB0 */ daGrdWater_c();
33 /* 80C13FEC */ int Execute(Mtx**);
34 /* 80C14194 */ void init_modeWait();
35 /* 80C141A0 */ void modeWait();
36 /* 80C141A4 */ void init_modeLevelUpA();
37 /* 80C1423C */ void modeLevelUpA();
38 /* 80C142AC */ void init_modeLevelDownA();
39 /* 80C14320 */ void modeLevelDownA();
40 /* 80C1437C */ void init_modeLevelUpB();
41 /* 80C14414 */ void modeLevelUpB();
42 /* 80C14484 */ void init_modeLevelDownB();
43 /* 80C144F8 */ void modeLevelDownB();
44 /* 80C14554 */ int Draw();
45 /* 80C147EC */ int Delete();
46
47 u8 getSw() { return fopAcM_GetParamBit(this, 8, 8); }
48 u8 getSw2() { return fopAcM_GetParamBit(this, 16, 8); }
49
50private:
52 /* 0x5A8 */ J3DModel* mModel1;
53 /* 0x5AC */ J3DModel* mModel2;
54 /* 0x5B0 */ mDoExt_btkAnm mBtk1;
55 /* 0x5C8 */ mDoExt_btkAnm mBtk2;
56 /* 0x5E0 */ mDoExt_brkAnm mBrk1;
57 /* 0x5F8 */ mDoExt_brkAnm mBrk2;
58 /* 0x610 */ mDoExt_bckAnm mBck1a;
59 /* 0x62C */ mDoExt_bckAnm mBck1b;
60 /* 0x648 */ mDoExt_bckAnm mBck1c;
61 /* 0x664 */ mDoExt_bckAnm mBck1d;
62 /* 0x680 */ mDoExt_bckAnm mBck2a;
63 /* 0x69C */ mDoExt_bckAnm mBck2b;
64 /* 0x6B8 */ mDoExt_bckAnm mBck2c;
65 /* 0x6D4 */ mDoExt_bckAnm mBck2d;
66 /* 0x6F0 */ u8 field_0x6f0;
67 /* 0x6F1 */ u8 field_0x6f1;
68 /* 0x6F2 */ u8 mMode;
69 /* 0x6F3 */ u8 field_0x6f3;
70};
71
72STATIC_ASSERT(sizeof(daGrdWater_c) == 0x6f4);
73
75public:
76 /* 80C134AC */ daGrdWater_HIO_c();
77 /* 80C148A8 */ virtual ~daGrdWater_HIO_c() {}
78
79 /* 0x04 */ u8 field_0x04;
80 /* 0x05 */ u8 field_0x05;
81 /* 0x06 */ u8 field_0x06;
82 /* 0x07 */ u8 field_0x07;
83 /* 0x08 */ f32 field_0x08;
84 /* 0x0C */ f32 field_0x0c;
85 /* 0x10 */ f32 field_0x10;
86};
87
88
89#endif /* D_A_OBJ_GROUNDWATER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition d_bg_s_movebg_actor.h:10
Definition d_a_obj_groundwater.h:74
f32 field_0x08
Definition d_a_obj_groundwater.h:83
u8 field_0x05
Definition d_a_obj_groundwater.h:80
u8 field_0x06
Definition d_a_obj_groundwater.h:81
daGrdWater_HIO_c()
Definition d_a_obj_groundwater.cpp:41
f32 field_0x0c
Definition d_a_obj_groundwater.h:84
u8 field_0x04
Definition d_a_obj_groundwater.h:79
virtual ~daGrdWater_HIO_c()
Definition d_a_obj_groundwater.h:77
f32 field_0x10
Definition d_a_obj_groundwater.h:85
u8 field_0x07
Definition d_a_obj_groundwater.h:82
Ground Water.
Definition d_a_obj_groundwater.h:17
int Delete()
Definition d_a_obj_groundwater.cpp:354
void modeWait()
Definition d_a_obj_groundwater.cpp:228
J3DModel * mModel1
Definition d_a_obj_groundwater.h:52
void modeLevelDownB()
Definition d_a_obj_groundwater.cpp:293
mDoExt_bckAnm mBck2b
Definition d_a_obj_groundwater.h:63
u8 field_0x6f3
Definition d_a_obj_groundwater.h:69
void init_modeLevelDownA()
Definition d_a_obj_groundwater.cpp:251
void init_modeLevelDownB()
Definition d_a_obj_groundwater.cpp:286
void modeLevelDownA()
Definition d_a_obj_groundwater.cpp:258
request_of_phase_process_class mPhase
Definition d_a_obj_groundwater.h:51
int create()
Definition d_a_obj_groundwater.cpp:117
void setBaseMtx()
Definition d_a_obj_groundwater.cpp:52
mDoExt_bckAnm mBck2a
Definition d_a_obj_groundwater.h:62
J3DModel * mModel2
Definition d_a_obj_groundwater.h:53
u8 field_0x6f1
Definition d_a_obj_groundwater.h:67
u8 mMode
Definition d_a_obj_groundwater.h:68
void(daGrdWater_c::* modeFunc)()
Definition d_a_obj_groundwater.h:19
int CreateHeap()
Definition d_a_obj_groundwater.cpp:64
u8 field_0x6f0
Definition d_a_obj_groundwater.h:66
mDoExt_brkAnm mBrk2
Definition d_a_obj_groundwater.h:57
void modeLevelUpB()
Definition d_a_obj_groundwater.cpp:276
mDoExt_bckAnm mBck1d
Definition d_a_obj_groundwater.h:61
void modeLevelUpA()
Definition d_a_obj_groundwater.cpp:241
mDoExt_bckAnm mBck2d
Definition d_a_obj_groundwater.h:65
int Draw()
Definition d_a_obj_groundwater.cpp:302
daGrdWater_c()
Definition d_a_obj_groundwater.cpp:176
mDoExt_bckAnm mBck1b
Definition d_a_obj_groundwater.h:59
mDoExt_bckAnm mBck1a
Definition d_a_obj_groundwater.h:58
u8 getSw()
Definition d_a_obj_groundwater.h:47
void init_modeLevelUpA()
Definition d_a_obj_groundwater.cpp:233
mDoExt_brkAnm mBrk1
Definition d_a_obj_groundwater.h:56
void init_modeLevelUpB()
Definition d_a_obj_groundwater.cpp:268
u8 getSw2()
Definition d_a_obj_groundwater.h:48
mDoExt_btkAnm mBtk1
Definition d_a_obj_groundwater.h:54
Mode
Definition d_a_obj_groundwater.h:21
@ LEVEL_DOWN_B
Definition d_a_obj_groundwater.h:26
@ LEVEL_UP_A
Definition d_a_obj_groundwater.h:23
@ WAIT
Definition d_a_obj_groundwater.h:22
@ LEVEL_UP_B
Definition d_a_obj_groundwater.h:25
@ LEVEL_DOWN_A
Definition d_a_obj_groundwater.h:24
int Execute(Mtx **)
Definition d_a_obj_groundwater.cpp:181
mDoExt_bckAnm mBck1c
Definition d_a_obj_groundwater.h:60
mDoExt_bckAnm mBck2c
Definition d_a_obj_groundwater.h:64
void init_modeWait()
Definition d_a_obj_groundwater.cpp:223
mDoExt_btkAnm mBtk2
Definition d_a_obj_groundwater.h:55
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daGrdWater_c)==0x6f4)
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:56
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8