Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_lv3Water.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LV3WATER_H
2#define D_A_OBJ_LV3WATER_H
3
5#include "d/d_event_lib.h"
7
18 public dEvLib_callback_c {
19public:
20 typedef void (daLv3Water_c::*modeFunc)();
21
22 enum Mode {
25 };
26
28
29 /* 80C58838 */ void setBaseMtx();
30 /* 80C5891C */ virtual int CreateHeap();
31 /* 80C58ABC */ int create();
32 /* 80C58D68 */ virtual int Execute(Mtx**);
33 /* 80C58E20 */ void effectSet();
34 /* 80C596F4 */ void mode_proc_wait();
35 /* 80C59754 */ void mode_init_levelCtrl();
36 /* 80C597FC */ void mode_proc_levelCtrl();
37 /* 80C598BC */ virtual int Draw();
38 /* 80C59AA0 */ virtual int Delete();
39
40 /* 80C59D80 */ virtual ~daLv3Water_c();
41 /* 80C59AE0 */ virtual BOOL eventStart();
42
43 int getParam() { return fpcM_GetParam(this) >> 0xC & 0x0FFF; }
44 int getParamSw() { return fpcM_GetParam(this) & 0xFF; }
45 int getParamEvent() { return shape_angle.x & 0xFF; }
46 u8 getParamType() { return (shape_angle.x >> 8) & 0xFF; }
47 u8 getType() { return mType; }
48
49private:
51 /* 0x5C0 */ J3DModel* mpModel1;
52 /* 0x5C4 */ J3DModel* mpModel2;
53 /* 0x5C8 */ mDoExt_btkAnm mBtk1;
54 /* 0x5E0 */ mDoExt_btkAnm mBtk2;
55 /* 0x5F8 */ u8 mMode;
56 /* 0x5F9 */ u8 mType;
57 /* 0x5FC */ f32 field_0x5fc;
58 /* 0x600 */ u8 field_0x600;
59 /* 0x601 */ u8 field_0x601;
60 /* 0x602 */ u8 mSwitch1;
61 /* 0x603 */ u8 mSwitch2;
62 /* 0x604 */ u8 field_0x604;
63 /* 0x605 */ u8 field_0x605;
64 /* 0x608 */ u32 mEmitterIDs[8];
65};
66
67STATIC_ASSERT(sizeof(daLv3Water_c) == 0x628);
68
70public:
71 /* 80C587CC */ daLv3Water_HIO_c();
72 /* 80C59C34 */ virtual ~daLv3Water_HIO_c();
73
74 /* 0x00 */ /* vtable */
75
76 /* 0x04 */ u8 field_0x04;
77};
78
79#endif /* D_A_OBJ_LV3WATER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition d_bg_s_movebg_actor.h:10
Definition d_event_lib.h:24
Definition d_a_obj_lv3Water.h:69
u8 field_0x04
Definition d_a_obj_lv3Water.h:76
virtual ~daLv3Water_HIO_c()
Definition d_a_obj_lv3Water.cpp:432
daLv3Water_HIO_c()
Definition d_a_obj_lv3Water.cpp:44
Lakebed Temple Water.
Definition d_a_obj_lv3Water.h:18
u8 field_0x605
Definition d_a_obj_lv3Water.h:63
int getParam()
Definition d_a_obj_lv3Water.h:43
mDoExt_btkAnm mBtk2
Definition d_a_obj_lv3Water.h:54
int create()
Definition d_a_obj_lv3Water.cpp:155
request_of_phase_process_class mPhase
Definition d_a_obj_lv3Water.h:50
virtual int Execute(Mtx **)
Definition d_a_obj_lv3Water.cpp:196
u8 mSwitch2
Definition d_a_obj_lv3Water.h:61
void(daLv3Water_c::* modeFunc)()
Definition d_a_obj_lv3Water.h:20
u8 field_0x600
Definition d_a_obj_lv3Water.h:58
u8 mMode
Definition d_a_obj_lv3Water.h:55
void mode_init_levelCtrl()
Definition d_a_obj_lv3Water.cpp:301
u8 mSwitch1
Definition d_a_obj_lv3Water.h:60
virtual ~daLv3Water_c()
Definition d_a_obj_lv3Water.cpp:435
mDoExt_btkAnm mBtk1
Definition d_a_obj_lv3Water.h:53
u8 getType()
Definition d_a_obj_lv3Water.h:47
virtual int Draw()
Definition d_a_obj_lv3Water.cpp:334
u32 mEmitterIDs[8]
Definition d_a_obj_lv3Water.h:64
virtual int CreateHeap()
Definition d_a_obj_lv3Water.cpp:91
f32 field_0x5fc
Definition d_a_obj_lv3Water.h:57
J3DModel * mpModel2
Definition d_a_obj_lv3Water.h:52
daLv3Water_c()
Definition d_a_obj_lv3Water.h:27
int getParamSw()
Definition d_a_obj_lv3Water.h:44
u8 field_0x601
Definition d_a_obj_lv3Water.h:59
u8 mType
Definition d_a_obj_lv3Water.h:56
void effectSet()
Definition d_a_obj_lv3Water.cpp:214
J3DModel * mpModel1
Definition d_a_obj_lv3Water.h:51
void mode_proc_wait()
Definition d_a_obj_lv3Water.cpp:289
void mode_proc_levelCtrl()
Definition d_a_obj_lv3Water.cpp:313
Mode
Definition d_a_obj_lv3Water.h:22
@ WAIT
Definition d_a_obj_lv3Water.h:23
@ LEVEL_CTRL
Definition d_a_obj_lv3Water.h:24
u8 getParamType()
Definition d_a_obj_lv3Water.h:46
void setBaseMtx()
Definition d_a_obj_lv3Water.cpp:49
virtual BOOL eventStart()
Definition d_a_obj_lv3Water.cpp:388
virtual int Delete()
Definition d_a_obj_lv3Water.cpp:382
u8 field_0x604
Definition d_a_obj_lv3Water.h:62
int getParamEvent()
Definition d_a_obj_lv3Water.h:45
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daLv3Water_c)==0x628)
u32 fpcM_GetParam(const void *i_process)
Definition f_pc_manager.h:27
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
s16 x
Definition vec.h:19
csXyz shape_angle
Definition f_op_actor.h:216
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8