Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_e_df.h
Go to the documentation of this file.
1#ifndef D_A_E_DF_H
2#define D_A_E_DF_H
3
5#include "d/d_cc_d.h"
6#include "d/d_cc_uty.h"
7#include "f_op/f_op_actor.h"
8
17class daE_DF_c : public fopEn_enemy_c {
18public:
19 enum {
20 /* 0x0 */ EAT_TYPE_OBJ,
21 /* 0x1 */ EAT_TYPE_LINK,
22 /* 0x2 */ EAT_TYPE_BOMB,
23 };
24
25 enum {
26 /* 0x0 */ ACT_WAIT,
27 /* 0x1 */ ACT_EAT,
28 /* 0x2 */ ACT_DAMAGE,
29 /* 0x3 */ ACT_MISS,
30 /* 0x4 */ ANIM_BOUND,
31 /* 0x5 */ ANIM_BURST,
32 /* 0x6 */ ANIM_DIE,
33 /* 0x7 */ ANIM_EAT,
34 /* 0x8 */ ANIM_EAT_WAIT,
35 /* 0x9 */ ANIM_SPITOUT,
36 /* 0xA */ ANIM_WAIT,
37 };
38
39 int CreateHeap();
40 void initCcCylinder();
41 void setCcCylinder();
42 void SetAnm(int, int, f32, f32);
43 void CameraSet(f32);
44 bool DemoStart();
45 void SetReleaseCam();
47 void Link_Eat_Pos();
48 void Set_Angle(cXyz*);
49 void Obj_Damage();
50 void DamageAction();
51 void BombEatAction();
52 void Spid_Out();
53 void LinkEatAction();
54 bool Mogu_Mogu();
55 void ObjEatAction();
56 void EatAction();
57 void SearchAction();
58 void WaitAction();
59 void MissAction();
60 void Action();
61 int Execute();
62 void Yazirushi();
63 int Draw();
64 int Delete();
65 void setBaseMtx();
66 int Create();
67
68 /* 0x5AC */ u8 mAction;
69 /* 0x5AD */ u8 mEatObjType;
70 /* 0x5AE */ u8 mEatStep;
71 /* 0x5B0 */ csXyz mChaseAngle;
72 /* 0x5B8 */ s32 mCarryType;
73 /* 0x5BC */ u8 mMoguCount;
74 /* 0x5BE */ s16 mTimer;
75 /* 0x5C0 */ s32 mAnim;
76 /* 0x5C4 */ s16 mTargetAngle;
80 /* 0x5D4 */ u8 field_0x5d4[0x5D8 - 0x5D4];
82 /* 0x67C */ dCcD_Stts mStts;
83 /* 0x6B8 */ dCcD_Cyl mCyl;
84 /* 0x7F4 */ dCcU_AtInfo mAtInfo;
85 /* 0x818 */ u8 mHIOInit;
86 /* 0x819 */ u8 mArg0;
87 /* 0x81C */ cXyz mCenterPos;
88 /* 0x828 */ cXyz mEyePos;
89 /* 0x834 */ f32 mFovY;
90};
91
92STATIC_ASSERT(sizeof(daE_DF_c) == 0x838);
93
94#endif /* D_A_E_DF_H */
Definition J3DJoint.h:63
Definition J3DModel.h:43
Definition Z2Creature.h:37
Definition c_sxyz.h:10
Definition d_cc_d.h:461
Definition d_cc_d.h:269
Deku Flower.
Definition d_a_e_df.h:17
void ObjEatAction()
Definition d_a_e_df.cpp:435
void setBaseMtx()
Definition d_a_e_df.cpp:621
bool Mogu_Mogu()
Definition d_a_e_df.cpp:410
u8 mEatObjType
Definition d_a_e_df.h:69
void BombEatAction()
Definition d_a_e_df.cpp:272
s32 mCarryType
Definition d_a_e_df.h:72
Z2CreatureEnemy mCreatureSound
Definition d_a_e_df.h:81
int Delete()
Definition d_a_e_df.cpp:609
request_of_phase_process_class mPhaseReq
Definition d_a_e_df.h:79
u8 field_0x5d4[0x5D8 - 0x5D4]
Definition d_a_e_df.h:80
cXyz mCenterPos
Definition d_a_e_df.h:87
mDoExt_McaMorfSO * mpMorfSO
Definition d_a_e_df.h:78
void SetAnm(int, int, f32, f32)
Definition d_a_e_df.cpp:84
void Link_Eat_Pos()
Definition d_a_e_df.cpp:201
void Action()
Definition d_a_e_df.cpp:548
void initCcCylinder()
Definition d_a_e_df.cpp:57
s32 mAnim
Definition d_a_e_df.h:75
dCcU_AtInfo mAtInfo
Definition d_a_e_df.h:84
u8 mMoguCount
Definition d_a_e_df.h:73
@ ACT_MISS
Definition d_a_e_df.h:29
@ ANIM_SPITOUT
Definition d_a_e_df.h:35
@ ANIM_WAIT
Definition d_a_e_df.h:36
@ ANIM_BOUND
Definition d_a_e_df.h:30
@ ACT_WAIT
Definition d_a_e_df.h:26
@ ANIM_BURST
Definition d_a_e_df.h:31
@ ANIM_EAT
Definition d_a_e_df.h:33
@ ACT_DAMAGE
Definition d_a_e_df.h:28
@ ANIM_DIE
Definition d_a_e_df.h:32
@ ANIM_EAT_WAIT
Definition d_a_e_df.h:34
@ ACT_EAT
Definition d_a_e_df.h:27
int ctrlJoint(J3DJoint *, J3DModel *)
Definition d_a_e_df.cpp:148
void Set_Angle(cXyz *)
Definition d_a_e_df.cpp:208
cXyz mEyePos
Definition d_a_e_df.h:88
s16 mTargetAngle
Definition d_a_e_df.h:76
void Obj_Damage()
Definition d_a_e_df.cpp:218
void LinkEatAction()
Definition d_a_e_df.cpp:359
void WaitAction()
Definition d_a_e_df.cpp:518
csXyz mChaseAngle
Definition d_a_e_df.h:71
f32 mFovY
Definition d_a_e_df.h:89
s16 mTimer
Definition d_a_e_df.h:74
u8 mArg0
Definition d_a_e_df.h:86
s16 mInvincibilityTimer
Definition d_a_e_df.h:77
int Create()
Definition d_a_e_df.cpp:647
u8 mHIOInit
Definition d_a_e_df.h:85
u8 mAction
Definition d_a_e_df.h:68
void setCcCylinder()
Definition d_a_e_df.cpp:80
dCcD_Cyl mCyl
Definition d_a_e_df.h:83
void CameraSet(f32)
Definition d_a_e_df.cpp:90
dCcD_Stts mStts
Definition d_a_e_df.h:82
void SearchAction()
Definition d_a_e_df.cpp:477
int CreateHeap()
Definition d_a_e_df.cpp:38
void Spid_Out()
Definition d_a_e_df.cpp:333
void DamageAction()
Definition d_a_e_df.cpp:252
u8 mEatStep
Definition d_a_e_df.h:70
void EatAction()
Definition d_a_e_df.cpp:463
int Execute()
Definition d_a_e_df.cpp:567
void MissAction()
Definition d_a_e_df.cpp:531
void Yazirushi()
Definition d_a_e_df.cpp:592
void SetReleaseCam()
Definition d_a_e_df.cpp:140
bool DemoStart()
Definition d_a_e_df.cpp:121
int Draw()
Definition d_a_e_df.cpp:601
@ EAT_TYPE_OBJ
Definition d_a_e_df.h:20
@ EAT_TYPE_BOMB
Definition d_a_e_df.h:22
@ EAT_TYPE_LINK
Definition d_a_e_df.h:21
Definition f_op_actor.h:285
Definition m_Do_ext.h:331
STATIC_ASSERT(sizeof(daE_DF_c)==0x838)
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
signed long s32
Definition types.h:11
unsigned char u8
Definition types.h:8
Definition c_xyz.h:7
Definition d_cc_uty.h:20
Definition c_phase.h:17