Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_tornado2.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_TORNADO2_H
2#define D_A_OBJ_TORNADO2_H
3
5#include "d/d_cc_d.h"
6
15class daObjTrnd2_c : public fopAc_ac_c {
16public:
17 /* 80D1C4D8 */ void setPntWind();
18 /* 80D1C54C */ void cutPntWind();
19 /* 80D1C570 */ void movePntWind();
20 /* 80D1C780 */ void setCpsInfo();
21 /* 80D1C924 */ void initBaseMtx();
22 /* 80D1C944 */ void setBaseMtx();
23 /* 80D1C98C */ int Create();
24 /* 80D1CC80 */ int create();
25 /* 80D1CDC0 */ int execute();
26 /* 80D1D0AC */ void setParticle();
27 /* 80D1D214 */ void endParticle();
28 /* 80D1D278 */ void startParticle();
29 /* 80D1D2AC */ void stopParticle();
30 /* 80D1D2E0 */ int draw();
31 /* 80D1D2E8 */ int _delete();
32
36 u32 getPower() { return fopAcM_GetParamBit(this, 8, 8); }
37 u32 getSwbit() { return fopAcM_GetParamBit(this, 0, 8); }
38 u32 getSwType() { return fopAcM_GetParamBit(this, 16, 4); }
39 u32 getOffTime() { return fopAcM_GetParamBit(this, 20, 4); }
40 u32 getOnTime() { return fopAcM_GetParamBit(this, 24, 4); }
41 u32 getScale() { return fopAcM_GetParamBit(this, 28, 1); }
42
43 /* 0x568 */ dCcD_Stts mStts;
44 /* 0x5A4 */ dCcD_Cps mCps;
45 /* 0x6E8 */ cM3dGCpsS mWindCps;
46 /* 0x704 */ f32 mNowLength;
47 /* 0x708 */ Mtx mMtx;
48 /* 0x738 */ f32 mTargetLength;
50 /* 0x768 */ f32 mDefaultRadius;
51 /* 0x76C */ f32 mDefaultLength;
52 /* 0x770 */ int mTimer;
53 /* 0x774 */ f32 mWindPower;
54 /* 0x778 */ bool mColumnOn;
55 /* 0x778 */ JPABaseEmitter* mParticles[3];
56};
57
58STATIC_ASSERT(sizeof(daObjTrnd2_c) == 0x788);
59
60#endif /* D_A_OBJ_TORNADO2_H */
Definition JPAEmitter.h:94
Definition d_cc_d.h:444
Strong Wind Column.
Definition d_a_obj_tornado2.h:15
JPABaseEmitter * mParticles[3]
Definition d_a_obj_tornado2.h:55
int Create()
Definition d_a_obj_tornado2.cpp:136
int mTimer
Definition d_a_obj_tornado2.h:52
u32 getPower()
Definition d_a_obj_tornado2.h:36
WIND_INFLUENCE mWindInfluence
Definition d_a_obj_tornado2.h:49
f32 getTargetLength()
Definition d_a_obj_tornado2.h:33
void setPntWind()
Definition d_a_obj_tornado2.cpp:30
f32 getNowLength()
Definition d_a_obj_tornado2.h:34
f32 mWindPower
Definition d_a_obj_tornado2.h:53
void endParticle()
Definition d_a_obj_tornado2.cpp:357
u32 getOffTime()
Definition d_a_obj_tornado2.h:39
Vec & getWindEndPos()
Definition d_a_obj_tornado2.h:35
int create()
Definition d_a_obj_tornado2.cpp:218
Mtx mMtx
Definition d_a_obj_tornado2.h:47
void movePntWind()
Definition d_a_obj_tornado2.cpp:47
u32 getOnTime()
Definition d_a_obj_tornado2.h:40
u32 getScale()
Definition d_a_obj_tornado2.h:41
int _delete()
Definition d_a_obj_tornado2.cpp:392
f32 mDefaultRadius
Definition d_a_obj_tornado2.h:50
void startParticle()
Definition d_a_obj_tornado2.cpp:369
void initBaseMtx()
Definition d_a_obj_tornado2.cpp:111
void setCpsInfo()
Definition d_a_obj_tornado2.cpp:76
void stopParticle()
Definition d_a_obj_tornado2.cpp:378
u32 getSwType()
Definition d_a_obj_tornado2.h:38
int execute()
Definition d_a_obj_tornado2.cpp:228
f32 mDefaultLength
Definition d_a_obj_tornado2.h:51
int draw()
Definition d_a_obj_tornado2.cpp:387
void setParticle()
Definition d_a_obj_tornado2.cpp:313
cM3dGCpsS mWindCps
Definition d_a_obj_tornado2.h:45
u32 getSwbit()
Definition d_a_obj_tornado2.h:37
void cutPntWind()
Definition d_a_obj_tornado2.cpp:42
dCcD_Stts mStts
Definition d_a_obj_tornado2.h:43
f32 mTargetLength
Definition d_a_obj_tornado2.h:48
bool mColumnOn
Definition d_a_obj_tornado2.h:54
void setBaseMtx()
Definition d_a_obj_tornado2.cpp:116
dCcD_Cps mCps
Definition d_a_obj_tornado2.h:44
f32 mNowLength
Definition d_a_obj_tornado2.h:46
STATIC_ASSERT(sizeof(daObjTrnd2_c)==0x788)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_hozelda.cpp:18
Definition d_kankyo.h:66
Definition c_m3d_g_cps.h:7
Vec mEnd
Definition c_m3d_g_cps.h:9
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22