Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_e_ba.h
Go to the documentation of this file.
1#ifndef D_A_E_BA_H
2#define D_A_E_BA_H
3
6#include "d/d_cc_d.h"
7#include "d/d_bg_s_acch.h"
8#include "d/d_cc_uty.h"
9#include "d/d_path.h"
10
19class e_ba_class : public fopEn_enemy_c {
20public:
21 enum Type {
22 /* 0 */ TYPE_NORMAL,
23 /* 1 */ TYPE_FIRE,
24 /* 2 */ TYPE_ICE,
25 };
26
27 enum HomeType {
28 /* 0 */ HOME_ROOF,
29 /* 1 */ HOME_FLY,
30 /* 2 */ HOME_APPEAR,
31 };
32
33 enum Action {
34 /* 0x0 */ ACT_ROOF,
35 /* 0x1 */ ACT_FIGHT_FLY,
36 /* 0x2 */ ACT_FIGHT,
37 /* 0x3 */ ACT_ATTACK,
38 /* 0x4 */ ACT_RETURN,
39 /* 0x5 */ ACT_FLY,
40 /* 0x6 */ ACT_PATH_FLY,
41 /* 0xA */ ACT_CHANCE = 10,
42 /* 0xD */ ACT_WOLFBITE = 13,
43 /* 0xE */ ACT_WIND,
44 /* 0xF */ ACT_APPEAR,
45 };
46
47 enum Animation {
48 /* 0x4 */ ANM_APPEAR = 4,
49 /* 0x5 */ ANM_DEAD,
50 /* 0x6 */ ANM_FLY,
51 /* 0x7 */ ANM_FURA2,
52 /* 0x8 */ ANM_HOLDWAIT,
53 /* 0x9 */ ANM_HOVERING,
54 /* 0xA */ ANM_WAIT,
55 };
56
58 /* 0x5B4 */ u8 mHomeType;
59 /* 0x5B5 */ u8 mDistanceParam;
60 /* 0x5B6 */ u8 mType;
61 /* 0x5B7 */ u8 mPathIndex;
62 /* 0x5B8 */ char* mArcName;
63 /* 0x5BC */ u8 field_0x5bc;
64 /* 0x5BD */ s8 mPathPoint;
65 /* 0x5BE */ s8 mPathStep;
66 /* 0x5C0 */ dPath* mpPath;
69 /* 0x66C */ int mAnm;
70 /* 0x670 */ s16 mCounter;
71 /* 0x672 */ s16 mAction;
72 /* 0x674 */ s16 mMode;
73 /* 0x678 */ cXyz mTargetPos;
74 /* 0x684 */ s16 mPlayerAngleY;
77 /* 0x690 */ f32 mSpeedRatio;
78 /* 0x694 */ f32 mBaseAngleSpeed;
79 /* 0x698 */ f32 mKnockbackSpeed;
80 /* 0x69C */ s16 mKnockbackAngle;
81 /* 0x69E */ csXyz mChanceAngle;
82 /* 0x6A4 */ s8 mIsDying;
83 /* 0x6A6 */ s16 mTimer[4];
84 /* 0x6AE */ s16 mIFrames;
85 /* 0x6B0 */ cXyz field_0x6b0;
86 /* 0x6BC */ cXyz mWindOffset;
87 /* 0x6C8 */ s16 mWindSpinSpeed;
89 /* 0x70C */ dBgS_ObjAcch mAcch;
90 /* 0x8E4 */ dCcD_Stts mStts;
91 /* 0x920 */ dCcD_Sph mSph;
92 /* 0xA58 */ dCcU_AtInfo mAtInfo;
93 /* 0xA7C */ u32 mSmokeKey1;
94 /* 0xA80 */ u32 mSmokeKey2;
95 /* 0xA84 */ u32 mParticleKey[4];
96 /* 0xA94 */ u8 field_0xa94[0xc];
97 /* 0xAA0 */ bool mHIOInit;
98};
99
100STATIC_ASSERT(sizeof(e_ba_class) == 0xAA4);
101
103public:
104 /* 8067ECEC */ daE_BA_HIO_c();
105 /* 80681F00 */ virtual ~daE_BA_HIO_c() {}
106
107 /* 0x04 */ s8 field_0x04;
108 /* 0x08 */ f32 mScale;
109 /* 0x0C */ f32 mFlySpeed;
110 /* 0x10 */ f32 mFightDistance;
111 /* 0x14 */ f32 mFightSpeed;
112 /* 0x18 */ f32 mAttackSpeed;
113};
114
116
117#endif /* D_A_E_BA_H */
Definition Z2Creature.h:154
Definition d_cc_d.h:432
Definition d_a_e_ba.h:102
s8 field_0x04
Definition d_a_e_ba.h:107
f32 mFightSpeed
Definition d_a_e_ba.h:111
daE_BA_HIO_c()
Definition d_a_e_ba.cpp:23
f32 mAttackSpeed
Definition d_a_e_ba.h:112
f32 mFlySpeed
Definition d_a_e_ba.h:109
virtual ~daE_BA_HIO_c()
Definition d_a_e_ba.h:105
f32 mFightDistance
Definition d_a_e_ba.h:110
f32 mScale
Definition d_a_e_ba.h:108
Keese.
Definition d_a_e_ba.h:19
f32 mKnockbackSpeed
Definition d_a_e_ba.h:79
Z2CreatureEnemy mCreatureSound
Definition d_a_e_ba.h:68
Animation
Definition d_a_e_ba.h:47
@ ANM_DEAD
Definition d_a_e_ba.h:49
@ ANM_FURA2
Definition d_a_e_ba.h:51
@ ANM_WAIT
Definition d_a_e_ba.h:54
@ ANM_HOLDWAIT
Definition d_a_e_ba.h:52
@ ANM_FLY
Definition d_a_e_ba.h:50
@ ANM_APPEAR
Definition d_a_e_ba.h:48
@ ANM_HOVERING
Definition d_a_e_ba.h:53
s16 mWindSpinSpeed
Definition d_a_e_ba.h:87
cXyz mWindOffset
Definition d_a_e_ba.h:86
f32 mSpeedRatio
Definition d_a_e_ba.h:77
dBgS_ObjAcch mAcch
Definition d_a_e_ba.h:89
s16 mIFrames
Definition d_a_e_ba.h:84
csXyz mChanceAngle
Definition d_a_e_ba.h:81
u8 field_0xa94[0xc]
Definition d_a_e_ba.h:96
bool mHIOInit
Definition d_a_e_ba.h:97
u32 mParticleKey[4]
Definition d_a_e_ba.h:95
s16 mCounter
Definition d_a_e_ba.h:70
s16 mMode
Definition d_a_e_ba.h:72
f32 mFightFlyDistance
Definition d_a_e_ba.h:76
dBgS_AcchCir mAcchCir
Definition d_a_e_ba.h:88
dCcU_AtInfo mAtInfo
Definition d_a_e_ba.h:92
s8 mPathStep
Definition d_a_e_ba.h:65
s16 mAction
Definition d_a_e_ba.h:71
f32 mPlayerDistanceXZ
Definition d_a_e_ba.h:75
HomeType
Definition d_a_e_ba.h:27
@ HOME_FLY
Definition d_a_e_ba.h:29
@ HOME_APPEAR
Definition d_a_e_ba.h:30
@ HOME_ROOF
Definition d_a_e_ba.h:28
int mAnm
Definition d_a_e_ba.h:69
u8 mType
Definition d_a_e_ba.h:60
u8 mPathIndex
Definition d_a_e_ba.h:61
Action
Definition d_a_e_ba.h:33
@ ACT_RETURN
Definition d_a_e_ba.h:38
@ ACT_WOLFBITE
Definition d_a_e_ba.h:42
@ ACT_FIGHT
Definition d_a_e_ba.h:36
@ ACT_CHANCE
Definition d_a_e_ba.h:41
@ ACT_FLY
Definition d_a_e_ba.h:39
@ ACT_APPEAR
Definition d_a_e_ba.h:44
@ ACT_FIGHT_FLY
Definition d_a_e_ba.h:35
@ ACT_ROOF
Definition d_a_e_ba.h:34
@ ACT_PATH_FLY
Definition d_a_e_ba.h:40
@ ACT_WIND
Definition d_a_e_ba.h:43
@ ACT_ATTACK
Definition d_a_e_ba.h:37
s16 mTimer[4]
Definition d_a_e_ba.h:83
request_of_phase_process_class mPhase
Definition d_a_e_ba.h:57
s8 mIsDying
Definition d_a_e_ba.h:82
u32 mSmokeKey2
Definition d_a_e_ba.h:94
dPath * mpPath
Definition d_a_e_ba.h:66
dCcD_Sph mSph
Definition d_a_e_ba.h:91
dCcD_Stts mStts
Definition d_a_e_ba.h:90
mDoExt_McaMorfSO * mpMorf
Definition d_a_e_ba.h:67
cXyz mTargetPos
Definition d_a_e_ba.h:73
s8 mPathPoint
Definition d_a_e_ba.h:64
char * mArcName
Definition d_a_e_ba.h:62
u8 mHomeType
Definition d_a_e_ba.h:58
u8 field_0x5bc
Definition d_a_e_ba.h:63
s16 mKnockbackAngle
Definition d_a_e_ba.h:80
u32 mSmokeKey1
Definition d_a_e_ba.h:93
u8 mDistanceParam
Definition d_a_e_ba.h:59
Type
Definition d_a_e_ba.h:21
@ TYPE_NORMAL
Definition d_a_e_ba.h:22
@ TYPE_ICE
Definition d_a_e_ba.h:24
@ TYPE_FIRE
Definition d_a_e_ba.h:23
cXyz field_0x6b0
Definition d_a_e_ba.h:85
f32 mBaseAngleSpeed
Definition d_a_e_ba.h:78
s16 mPlayerAngleY
Definition d_a_e_ba.h:74
Definition f_op_actor.h:249
STATIC_ASSERT(sizeof(e_ba_class)==0xAA4)
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
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:99
Definition d_a_npc_cd2.cpp:35
Definition d_a_npc_fguard.cpp:23
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 char u8
Definition types.h:8