Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_b_yo_ice.h
Go to the documentation of this file.
1#ifndef D_A_B_YO_ICE_H
2#define D_A_B_YO_ICE_H
3
6#include "f_op/f_op_actor.h"
7#include "d/d_bg_s_gnd_chk.h"
8#include "d/d_cc_d.h"
9#include "d/d_cc_uty.h"
10
11class daB_YO_c;
12
21class daB_YOI_c : public fopEn_enemy_c {
22public:
23 /* 8063A17C */ int draw();
24 /* 8063A2D8 */ void setActionMode(int, int);
25 /* 8063A2E4 */ void damage_check();
26 /* 8063A480 */ void setOperate(int);
27 /* 8063A628 */ void setWeight(u8);
28 /* 8063A638 */ void setBreakIceEffect();
29 /* 8063A6F8 */ void setWallBreakIceEffect();
30 /* 8063A79C */ void setApperEffect();
31 /* 8063A824 */ void setApperEffect2();
32 /* 8063A8C8 */ void setLandingEffect();
33 /* 8063A96C */ void executeFirst();
34 /* 8063ABC0 */ cXyz getSingleFallPos();
35 /* 8063ACCC */ void executeRiseUp();
36 /* 8063B238 */ void executeSingleFall();
37 /* 8063BB40 */ void executeYose();
38 /* 8063C3F0 */ void executeYoseFall();
39 /* 8063C76C */ void executeDemoRevival();
40 /* 8063C900 */ void executeDamage();
41 /* 8063CC90 */ void executeDeath();
42 /* 8063CD14 */ void crack_execute();
43 /* 8063CD90 */ void action();
44 /* 8063D0C8 */ void mtx_set();
45 /* 8063D1B0 */ void cc_set();
46 /* 8063D350 */ int execute();
47 /* 8063D45C */ int _delete();
48 /* 8063D4F8 */ int CreateHeap();
49 /* 8063D5D0 */ cPhs__Step create();
50 /* 8063D8FC */ daB_YOI_c();
51
53
54private:
56 /* 0x5B4 */ J3DModel* mpModel;
59 /* 0x668 */ daB_YO_c* mpBlizzeta;
60 /* 0x66C */ cXyz mFallTarget;
61 /* 0x678 */ csXyz mWobbleAngle;
62 /* 0x680 */ f32 mScaleF;
63 /* 0x684 */ f32 mYoseSpeed;
64 /* 0x688 */ f32 mCcOffset;
65 /* 0x68C */ int mIcicleNo;
66 /* 0x690 */ int mSubNumber;
67 /* 0x694 */ int mAction;
68 /* 0x698 */ int mMode;
69 /* 0x69C */ s16 mTargetAngleX;
70 /* 0x69E */ s16 mAngleSpeedY;
71 /* 0x6A0 */ u16 mIFrameTimer;
72 /* 0x6A4 */ int mTimer1;
73 /* 0x6A8 */ int mTimer2;
74 /* 0x6AC */ u8 mInitAction;
75 /* 0x6AD */ bool field_0x6ad;
76 /* 0x6AE */ u8 mDeleteTimer;
77 /* 0x6B0 */ J3DModel* mpCrackModel;
78 /* 0x6B4 */ cXyz mpCrackPos;
79 /* 0x6C0 */ f32 mCrackAlpha;
80 /* 0x6C4 */ s16 mpCrackAngleY;
81 /* 0x6C8 */ dBgS_GndChk mGndChk;
82 /* 0x71C */ dCcD_Stts mCcStts;
83 /* 0x758 */ dCcD_Cyl mCcCyl0;
84 /* 0x894 */ dCcD_Cyl mCcCyl1;
85 /* 0x9D0 */ dCcD_Cyl mCcCyl2;
86 /* 0xB0C */ dCcU_AtInfo mAtInfo;
87 /* 0xB30 */ u32 mParticleKey;
88 /* 0xB34 */ u32 mAppearKey;
89 /* 0xB38 */ bool mHIOInit;
90
91 enum Action {
92 /* 0 */ ACT_FIRST,
93 /* 1 */ ACT_RISE_UP,
96 /* 4 */ ACT_YOSE,
98 /* 6 */ ACT_DAMAGE,
99 /* 7 */ ACT_DEATH,
100 };
101};
102
103STATIC_ASSERT(sizeof(daB_YOI_c) == 0xB3C);
104
106public:
107 /* 8063A14C */ daB_YOI_HIO_c();
108 /* 8063DBD0 */ virtual ~daB_YOI_HIO_c() {}
109
110 /* 0x4 */ s8 field_0x4;
111 /* 0x8 */ f32 mScaleY;
112 /* 0xC */ f32 mScaleXZ;
113};
114
116
117#endif /* D_A_B_YO_ICE_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
cPhs__Step
Definition c_phase.h:8
Definition Z2SoundObject.h:34
Definition d_a_b_yo_ice.h:105
daB_YOI_HIO_c()
Definition d_a_b_yo_ice.cpp:89
f32 mScaleY
Definition d_a_b_yo_ice.h:111
s8 field_0x4
Definition d_a_b_yo_ice.h:110
virtual ~daB_YOI_HIO_c()
Definition d_a_b_yo_ice.h:108
f32 mScaleXZ
Definition d_a_b_yo_ice.h:112
Blizzeta Second Phase Ice Block.
Definition d_a_b_yo_ice.h:21
int mTimer1
Definition d_a_b_yo_ice.h:72
f32 mScaleF
Definition d_a_b_yo_ice.h:62
void mtx_set()
Definition d_a_b_yo_ice.cpp:907
bool mHIOInit
Definition d_a_b_yo_ice.h:89
u32 mAppearKey
Definition d_a_b_yo_ice.h:88
void setWallBreakIceEffect()
Definition d_a_b_yo_ice.cpp:241
dCcU_AtInfo mAtInfo
Definition d_a_b_yo_ice.h:86
cXyz getSingleFallPos()
Definition d_a_b_yo_ice.cpp:322
daB_YO_c * mpBlizzeta
Definition d_a_b_yo_ice.h:59
u16 mIFrameTimer
Definition d_a_b_yo_ice.h:71
dCcD_Cyl mCcCyl2
Definition d_a_b_yo_ice.h:85
Action
Definition d_a_b_yo_ice.h:91
@ ACT_YOSE_FALL
Definition d_a_b_yo_ice.h:97
@ ACT_DAMAGE
Definition d_a_b_yo_ice.h:98
@ ACT_RISE_UP
Definition d_a_b_yo_ice.h:93
@ ACT_DEATH
Definition d_a_b_yo_ice.h:99
@ ACT_SINGLE_FALL
Definition d_a_b_yo_ice.h:95
@ ACT_YOSE
Definition d_a_b_yo_ice.h:96
@ ACT_FIRST
Definition d_a_b_yo_ice.h:92
@ ACT_DEMO_REVIVAL
Definition d_a_b_yo_ice.h:94
Z2SoundObjSimple mSoundObj
Definition d_a_b_yo_ice.h:58
cXyz mpCrackPos
Definition d_a_b_yo_ice.h:78
void damage_check()
Definition d_a_b_yo_ice.cpp:132
void setSubNumber(int i_subNumber)
Definition d_a_b_yo_ice.h:52
int CreateHeap()
Definition d_a_b_yo_ice.cpp:1027
void executeRiseUp()
Definition d_a_b_yo_ice.cpp:337
u8 mDeleteTimer
Definition d_a_b_yo_ice.h:76
void setWeight(u8)
Definition d_a_b_yo_ice.cpp:225
void setApperEffect()
Definition d_a_b_yo_ice.cpp:249
request_of_phase_process_class mPhase
Definition d_a_b_yo_ice.h:55
void setApperEffect2()
Definition d_a_b_yo_ice.cpp:254
int mIcicleNo
Definition d_a_b_yo_ice.h:65
int draw()
Definition d_a_b_yo_ice.cpp:96
void executeYose()
Definition d_a_b_yo_ice.cpp:591
cPhs__Step create()
Definition d_a_b_yo_ice.cpp:1050
void cc_set()
Definition d_a_b_yo_ice.cpp:923
void executeYoseFall()
Definition d_a_b_yo_ice.cpp:679
s16 mpCrackAngleY
Definition d_a_b_yo_ice.h:80
void executeSingleFall()
Definition d_a_b_yo_ice.cpp:453
J3DModel * mpModel
Definition d_a_b_yo_ice.h:56
dBgS_GndChk mGndChk
Definition d_a_b_yo_ice.h:81
void setActionMode(int, int)
Definition d_a_b_yo_ice.cpp:126
u32 mParticleKey
Definition d_a_b_yo_ice.h:87
u8 mInitAction
Definition d_a_b_yo_ice.h:74
s16 mAngleSpeedY
Definition d_a_b_yo_ice.h:70
int mTimer2
Definition d_a_b_yo_ice.h:73
dCcD_Cyl mCcCyl0
Definition d_a_b_yo_ice.h:83
int _delete()
Definition d_a_b_yo_ice.cpp:1006
int mMode
Definition d_a_b_yo_ice.h:68
void executeFirst()
Definition d_a_b_yo_ice.cpp:270
void executeDeath()
Definition d_a_b_yo_ice.cpp:827
csXyz mWobbleAngle
Definition d_a_b_yo_ice.h:61
f32 mCcOffset
Definition d_a_b_yo_ice.h:64
int mAction
Definition d_a_b_yo_ice.h:67
Z2Creature mCreatureSound
Definition d_a_b_yo_ice.h:57
dCcD_Cyl mCcCyl1
Definition d_a_b_yo_ice.h:84
daB_YOI_c()
Definition d_a_b_yo_ice.cpp:1124
void executeDamage()
Definition d_a_b_yo_ice.cpp:784
int mSubNumber
Definition d_a_b_yo_ice.h:66
s16 mTargetAngleX
Definition d_a_b_yo_ice.h:69
dCcD_Stts mCcStts
Definition d_a_b_yo_ice.h:82
f32 mCrackAlpha
Definition d_a_b_yo_ice.h:79
int execute()
Definition d_a_b_yo_ice.cpp:962
cXyz mFallTarget
Definition d_a_b_yo_ice.h:60
void crack_execute()
Definition d_a_b_yo_ice.cpp:835
void setLandingEffect()
Definition d_a_b_yo_ice.cpp:262
J3DModel * mpCrackModel
Definition d_a_b_yo_ice.h:77
void setBreakIceEffect()
Definition d_a_b_yo_ice.cpp:231
f32 mYoseSpeed
Definition d_a_b_yo_ice.h:63
bool field_0x6ad
Definition d_a_b_yo_ice.h:75
void executeDemoRevival()
Definition d_a_b_yo_ice.cpp:753
void action()
Definition d_a_b_yo_ice.cpp:848
void setOperate(int)
Definition d_a_b_yo_ice.cpp:174
Blizzeta.
Definition d_a_b_yo.h:21
Definition f_op_actor.h:249
STATIC_ASSERT(sizeof(daB_YOI_c)==0xB3C)
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:163
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_ep.cpp:120
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:99
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
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