Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_firepillar2.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_FIREPILLAR2_H
2#define D_A_OBJ_FIREPILLAR2_H
3
6#include "d/d_bg_s_acch.h"
7#include "d/d_cc_d.h"
9
19public:
21
26
32
33 /* 80BE9CD8 */ void initBaseMtx();
34 /* 80BE9D5C */ void setBaseMtx();
35 /* 80BE9DDC */ int Create();
36 /* 80BEA034 */ int CreateHeap();
37 /* 80BEA228 */ int create();
38 /* 80BEA584 */ int execute();
39 /* 80BEA734 */ void action();
40 /* 80BEA808 */ void actionOffInit();
41 /* 80BEA854 */ void actionOff();
42 /* 80BEA98C */ void actionOnWaitInit();
43 /* 80BEAAE4 */ void actionOnWait();
44 /* 80BEAC68 */ void actionOnInit();
45 /* 80BEADD0 */ void actionOn();
46 /* 80BEB1B4 */ int draw();
47 /* 80BEB278 */ int _delete();
48
49 u8 getKind() { return (field_0x97a >> 4) & 0xf; }
50 u8 getSize() { return (field_0x97a) & 0xf; }
51 u8 getArg0() { return fopAcM_GetParamBit(this,8,8); }
52 u8 getSwNo() { return fopAcM_GetParamBit(this,0,8); }
53
54private:
56 /* 0x570 */ J3DModel* mModel;
57 /* 0x574 */ mDoExt_bckAnm* mBck;
58 /* 0x578 */ mDoExt_btkAnm* mBtk;
59 /* 0x57C */ dBgS_ObjAcch mAcch;
61 /* 0x794 */ dCcD_Stts mStts;
62 /* 0x7D0 */ dCcD_Cps mCps;
63 /* 0x914 */ Mtx mMtx;
64 /* 0x944 */ cXyz field_0x944;
65 /* 0x950 */ cXyz field_0x950;
67 /* 0x978 */ u16 mActionTimer;
68 /* 0x97A */ u16 field_0x97a;
69 /* 0x97C */ s16 field_0x97c;
70 /* 0x97E */ bool mInitAngles;
71 /* 0x97F */ u8 mAction;
75 /* 0x994 */ f32 mPipeFireRate;
77 /* 0x99C */ f32 mPipeFireScale;
80 /* 0x9B0 */ cXyz mYoganScale;
82 /* 0x9DC */ cXyz mSoundPos;
83 /* 0x9E8 */ s8 mSoundDir;
84 /* 0x9E9 */ u8 mFirePipeTimer;
85};
86
88
89
90#endif /* D_A_OBJ_FIREPILLAR2_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JPAEmitter.h:94
Definition Z2SoundObject.h:34
Definition d_cc_d.h:444
Lava Fire Pillar.
Definition d_a_obj_firepillar2.h:18
void actionOff()
Definition d_a_obj_firepillar2.cpp:294
void setBaseMtx()
Definition d_a_obj_firepillar2.cpp:33
Z2SoundObjSimple mSoundObj
Definition d_a_obj_firepillar2.h:81
void actionOn()
Definition d_a_obj_firepillar2.cpp:396
f32 mPipeFireLifeTime
Definition d_a_obj_firepillar2.h:78
void actionOnInit()
Definition d_a_obj_firepillar2.cpp:370
void action()
Definition d_a_obj_firepillar2.cpp:221
dCcD_Stts mStts
Definition d_a_obj_firepillar2.h:61
u16 field_0x97a
Definition d_a_obj_firepillar2.h:68
void initBaseMtx()
Definition d_a_obj_firepillar2.cpp:20
void actionOffInit()
Definition d_a_obj_firepillar2.cpp:281
JPABaseEmitter * mMagmaPoleEmitters[3]
Definition d_a_obj_firepillar2.h:79
cM3dGCpsS field_0x95c
Definition d_a_obj_firepillar2.h:66
mDoExt_bckAnm * mBck
Definition d_a_obj_firepillar2.h:57
int execute()
Definition d_a_obj_firepillar2.cpp:191
u8 getKind()
Definition d_a_obj_firepillar2.h:49
cXyz field_0x944
Definition d_a_obj_firepillar2.h:64
Mtx mMtx
Definition d_a_obj_firepillar2.h:63
JPABaseEmitter * field_0x984
Definition d_a_obj_firepillar2.h:73
cXyz mSoundPos
Definition d_a_obj_firepillar2.h:82
Kind
Definition d_a_obj_firepillar2.h:22
@ KIND_PIPE_FIRE
Definition d_a_obj_firepillar2.h:23
@ KIND_MAGMA_POLE
Definition d_a_obj_firepillar2.h:24
cXyz field_0x950
Definition d_a_obj_firepillar2.h:65
int Create()
Definition d_a_obj_firepillar2.cpp:84
int draw()
Definition d_a_obj_firepillar2.cpp:481
u16 mActionTimer
Definition d_a_obj_firepillar2.h:67
int CreateHeap()
Definition d_a_obj_firepillar2.cpp:134
int create()
Definition d_a_obj_firepillar2.cpp:157
void actionOnWaitInit()
Definition d_a_obj_firepillar2.cpp:320
s8 mSoundDir
Definition d_a_obj_firepillar2.h:83
mDoExt_btkAnm * mBtk
Definition d_a_obj_firepillar2.h:58
u8 mFirePipeTimer
Definition d_a_obj_firepillar2.h:84
dBgS_AcchCir mAcchCir
Definition d_a_obj_firepillar2.h:60
bool mInitAngles
Definition d_a_obj_firepillar2.h:70
f32 mPipeFireScale
Definition d_a_obj_firepillar2.h:77
f32 mPipeFireRate
Definition d_a_obj_firepillar2.h:75
J3DModel * mModel
Definition d_a_obj_firepillar2.h:56
f32 mPipeFireDirectionalSpeed
Definition d_a_obj_firepillar2.h:76
dCcD_Cps mCps
Definition d_a_obj_firepillar2.h:62
u8 getArg0()
Definition d_a_obj_firepillar2.h:51
u8 getSwNo()
Definition d_a_obj_firepillar2.h:52
int _delete()
Definition d_a_obj_firepillar2.cpp:495
void actionOnWait()
Definition d_a_obj_firepillar2.cpp:341
u8 getSize()
Definition d_a_obj_firepillar2.h:50
u8 mAction
Definition d_a_obj_firepillar2.h:71
cXyz mYoganScale
Definition d_a_obj_firepillar2.h:80
s16 field_0x97c
Definition d_a_obj_firepillar2.h:69
dBgS_ObjAcch mAcch
Definition d_a_obj_firepillar2.h:59
void(daObjFPillar2_c::* actionFunc)()
Definition d_a_obj_firepillar2.h:20
JPABaseEmitter * field_0x980
Definition d_a_obj_firepillar2.h:72
request_of_phase_process_class mPhase
Definition d_a_obj_firepillar2.h:55
JPABaseEmitter * mPipeFireEmitters[3]
Definition d_a_obj_firepillar2.h:74
Action
Definition d_a_obj_firepillar2.h:27
@ ACTION_ON
Definition d_a_obj_firepillar2.h:30
@ ACTION_ON_WAIT
Definition d_a_obj_firepillar2.h:29
@ ACTION_OFF
Definition d_a_obj_firepillar2.h:28
STATIC_ASSERT(sizeof(daObjFPillar2_c)==0x9ec)
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_ep.cpp:155
Definition c_m3d_g_cps.h:7
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8