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
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
57 /* 0x000 */ fopEn_enemy_c mEnemy;
59 /* 0x5B4 */ u8 mHomeType;
60 /* 0x5B5 */ u8 mDistanceParam;
61 /* 0x5B6 */ u8 mType;
62 /* 0x5B7 */ u8 mPathIndex;
63 /* 0x5B8 */ char* mArcName;
64 /* 0x5BC */ u8 field_0x5bc;
65 /* 0x5BD */ s8 mPathPoint;
66 /* 0x5BE */ s8 mPathStep;
67 /* 0x5C0 */ dPath* mpPath;
70 /* 0x66C */ int mAnm;
71 /* 0x670 */ s16 mCounter;
72 /* 0x672 */ s16 mAction;
73 /* 0x674 */ s16 mMode;
74 /* 0x678 */ cXyz mTargetPos;
75 /* 0x684 */ s16 mPlayerAngleY;
78 /* 0x690 */ f32 mSpeedRatio;
79 /* 0x694 */ f32 mBaseAngleSpeed;
80 /* 0x698 */ f32 mKnockbackSpeed;
81 /* 0x69C */ s16 mKnockbackAngle;
82 /* 0x69E */ csXyz mChanceAngle;
83 /* 0x6A4 */ s8 mIsDying;
84 /* 0x6A6 */ s16 mTimer[4];
85 /* 0x6AE */ s16 mIFrames;
86 /* 0x6B0 */ cXyz field_0x6b0;
87 /* 0x6BC */ cXyz mWindOffset;
88 /* 0x6C8 */ s16 mWindSpinSpeed;
90 /* 0x70C */ dBgS_ObjAcch mAcch;
91 /* 0x8E4 */ dCcD_Stts mStts;
92 /* 0x920 */ dCcD_Sph mSph;
93 /* 0xA58 */ dCcU_AtInfo mAtInfo;
94 /* 0xA7C */ u32 mSmokeKey1;
95 /* 0xA80 */ u32 mSmokeKey2;
96 /* 0xA84 */ u32 mParticleKey[4];
97 /* 0xA94 */ u8 field_0xa94[0xc];
98 /* 0xAA0 */ bool mHIOInit;
99};
100
101STATIC_ASSERT(sizeof(e_ba_class) == 0xAA4);
102
103#endif /* D_A_E_BA_H */
Definition Z2Creature.h:37
Definition c_sxyz.h:10
Definition d_bg_s_acch.h:15
Definition d_bg_s_acch.h:247
Definition d_cc_d.h:473
Definition d_cc_d.h:269
Keese.
Definition d_a_e_ba.h:19
f32 mKnockbackSpeed
Definition d_a_e_ba.h:80
Z2CreatureEnemy mCreatureSound
Definition d_a_e_ba.h:69
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:88
cXyz mWindOffset
Definition d_a_e_ba.h:87
f32 mSpeedRatio
Definition d_a_e_ba.h:78
dBgS_ObjAcch mAcch
Definition d_a_e_ba.h:90
s16 mIFrames
Definition d_a_e_ba.h:85
csXyz mChanceAngle
Definition d_a_e_ba.h:82
u8 field_0xa94[0xc]
Definition d_a_e_ba.h:97
bool mHIOInit
Definition d_a_e_ba.h:98
u32 mParticleKey[4]
Definition d_a_e_ba.h:96
s16 mCounter
Definition d_a_e_ba.h:71
s16 mMode
Definition d_a_e_ba.h:73
f32 mFightFlyDistance
Definition d_a_e_ba.h:77
dBgS_AcchCir mAcchCir
Definition d_a_e_ba.h:89
dCcU_AtInfo mAtInfo
Definition d_a_e_ba.h:93
s8 mPathStep
Definition d_a_e_ba.h:66
s16 mAction
Definition d_a_e_ba.h:72
f32 mPlayerDistanceXZ
Definition d_a_e_ba.h:76
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:70
u8 mType
Definition d_a_e_ba.h:61
u8 mPathIndex
Definition d_a_e_ba.h:62
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:84
request_of_phase_process_class mPhase
Definition d_a_e_ba.h:58
s8 mIsDying
Definition d_a_e_ba.h:83
u32 mSmokeKey2
Definition d_a_e_ba.h:95
dPath * mpPath
Definition d_a_e_ba.h:67
dCcD_Sph mSph
Definition d_a_e_ba.h:92
dCcD_Stts mStts
Definition d_a_e_ba.h:91
mDoExt_McaMorfSO * mpMorf
Definition d_a_e_ba.h:68
cXyz mTargetPos
Definition d_a_e_ba.h:74
s8 mPathPoint
Definition d_a_e_ba.h:65
char * mArcName
Definition d_a_e_ba.h:63
u8 mHomeType
Definition d_a_e_ba.h:59
u8 field_0x5bc
Definition d_a_e_ba.h:64
s16 mKnockbackAngle
Definition d_a_e_ba.h:81
u32 mSmokeKey1
Definition d_a_e_ba.h:94
fopEn_enemy_c mEnemy
Definition d_a_e_ba.h:57
u8 mDistanceParam
Definition d_a_e_ba.h:60
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:86
f32 mBaseAngleSpeed
Definition d_a_e_ba.h:79
s16 mPlayerAngleY
Definition d_a_e_ba.h:75
Definition f_op_actor.h:285
Definition m_Do_ext.h:331
STATIC_ASSERT(sizeof(e_ba_class)==0xAA4)
signed char s8
Definition types.h:7
unsigned long u32
Definition types.h:12
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned char u8
Definition types.h:8
Definition c_xyz.h:7
Definition d_cc_uty.h:20
Definition d_path.h:18
Definition c_phase.h:17