Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_b_dr.h
Go to the documentation of this file.
1#ifndef D_A_B_DR_H
2#define D_A_B_DR_H
3
6#include "d/d_cc_d.h"
7#include "d/d_msg_flow.h"
8#include "d/d_bg_s_acch.h"
9
18class daB_DR_c : public fopEn_enemy_c {
19public:
20 /* 805BAF80 */ void ctrlJoint(J3DJoint*, J3DModel*);
21 /* 805BB120 */ void JointCallBack(J3DJoint*, int);
22 /* 805BB16C */ void draw();
23 /* 805BB408 */ void setBck(int, u8, f32, f32);
24 /* 805BB4B4 */ void setActionMode(int, int);
25 /* 805BB4CC */ void mGlider_WindPosSet();
26 /* 805BB540 */ void mBoot_c_tranceSet(bool);
27 /* 805BB64C */ void mStatusONOFF(int);
28 /* 805BB6E8 */ void setSe();
29 /* 805BBFC0 */ void setDeathLightEffect();
30 /* 805BC0B8 */ void chkPartCreate(bool);
31 /* 805BC248 */ void mHabatakiAnmSet(int);
32 /* 805BC57C */ void mGlider_AniSet(bool);
33 /* 805BC8B4 */ void mGliderAtAniSet();
34 /* 805BCA10 */ void tail_hit_check();
35 /* 805BCAD4 */ void week_hit_check();
36 /* 805BCBD0 */ void mTimerClr();
37 /* 805BCBF4 */ void mCountClr();
38 /* 805BCC18 */ void mAllClr();
39 /* 805BCC4C */ void mHeadAngleSet();
40 /* 805BCD7C */ void flapMove(bool);
41 /* 805BCEA4 */ void revolutionMove();
42 /* 805BD05C */ void mPlayerHighCheck();
43 /* 805BD15C */ void mBgFallGroundCheck();
44 /* 805BD3E4 */ void normalHoverMove();
45 /* 805BD5FC */ void executeWait();
46 /* 805BD98C */ void executeFlyWait();
47 /* 805BDBC4 */ void executeTailHit();
48 /* 805BE9B4 */ void executeWeekHit();
49 /* 805BF4C8 */ void mBreathSet();
50 /* 805BF768 */ void mBreathHighSet(bool);
51 /* 805BFA6C */ void mFeintBreath();
52 /* 805BFD88 */ void executeBreathAttack();
53 /* 805C062C */ void executeWindAttack();
54 /* 805C0CAC */ void mGliderMoveSub(f32);
55 /* 805C0EF8 */ void executeGliderAttack();
56 /* 805C1E0C */ void executePillarSearch();
57 /* 805C24BC */ void executePillarWait();
58 /* 805C2BE8 */ void startDemoCheck();
59 /* 805C2CD0 */ void executeDamageDemo();
60 /* 805C3558 */ void executeMiddleDemo();
61 /* 805C36A4 */ void executeDead();
62 /* 805C382C */ void executeBullet();
63 /* 805C39D8 */ void executeParts();
64 /* 805C3CB0 */ void action();
65 /* 805C40E0 */ void action_fire();
66 /* 805C4130 */ void action_parts();
67 /* 805C41A4 */ void mtx_set();
68 /* 805C4684 */ void parts_mtx_set();
69 /* 805C46E0 */ void cc_set();
70 /* 805C4E14 */ void down_cc_set();
71 /* 805C4FB4 */ void demo_skip(int);
72 /* 805C50BC */ void DemoSkipCallBack(void*, int);
73 /* 805C50F0 */ void execute();
74 /* 805C55B0 */ void _delete();
75 /* 805C56A4 */ void CreateHeap();
76 /* 805C5974 */ void create();
77 /* 805C62B0 */ daB_DR_c();
78
80
81 void onTarget() { mTarget = true; }
82 bool isBack() { return mPrm0; }
83
84private:
87 /* 0x05B8 */ J3DModel* mpPartModel;
88 /* 0x05BC */ mDoExt_brkAnm* mpCoreBrk;
91 /* 0x0708 */ int mAction;
92 /* 0x070C */ int mMode;
93 /* 0x0710 */ int mAnmID;
94 /* 0x0714 */ u8 field_0x714[0x0718 - 0x0714];
95 /* 0x0718 */ int field_0x718;
96 /* 0x071C */ u8 field_0x71C[0x0720 - 0x071C];
97 /* 0x0720 */ f32 field_0x720;
98 /* 0x0724 */ f32 field_0x724;
99 /* 0x0728 */ f32 field_0x728;
100 /* 0x072C */ f32 field_0x72c;
101 /* 0x0730 */ u8 field_0x730[0x0734 - 0x0730];
102 /* 0x0734 */ f32 field_0x734;
103 /* 0x0738 */ u8 field_0x738[0x073C - 0x0738];
104 /* 0x073C */ f32 field_0x73c;
105 /* 0x0740 */ f32 field_0x740;
106 /* 0x0744 */ f32 field_0x744;
107 /* 0x0748 */ f32 field_0x748;
108 /* 0x074C */ s16 field_0x74c;
109 /* 0x074E */ s16 field_0x74e;
110 /* 0x0750 */ s16 field_0x750;
111 /* 0x0752 */ s16 field_0x752;
112 /* 0x0754 */ s16 field_0x754;
113 /* 0x0756 */ s16 field_0x756;
114 /* 0x0758 */ s16 field_0x758;
115 /* 0x075A */ s16 field_0x75a;
116 /* 0x075C */ u8 field_0x75C[0x0760 - 0x075C];
117 /* 0x0760 */ cXyz field_0x760;
118 /* 0x076C */ cXyz field_0x76c;
119 /* 0x0778 */ cXyz field_0x778;
120 /* 0x0784 */ cXyz field_0x784;
121 /* 0x0790 */ cXyz field_0x790;
122 /* 0x079C */ cXyz field_0x79c;
123 /* 0x07A8 */ cXyz field_0x7a8;
124 /* 0x07B4 */ cXyz field_0x7b4;
125 /* 0x07C0 */ int mTimer[4];
126 /* 0x07D0 */ u8 field_0x7d0;
127 /* 0x07D1 */ u8 field_0x7d1;
128 /* 0x07D2 */ u8 field_0x7d2;
129 /* 0x07D3 */ u8 field_0x7d3;
130 /* 0x07D4 */ u8 field_0x7d4;
131 /* 0x07D5 */ u8 field_0x7D5[0x07D6 - 0x07D5];
132 /* 0x07D6 */ u8 field_0x7d6;
133 /* 0x07D7 */ u8 field_0x7d7;
134 /* 0x07D8 */ u8 field_0x7D8[0x07D9 - 0x07D8];
135 /* 0x07D9 */ u8 mTarget;
136 /* 0x07DA */ u8 field_0x7DA[0x07DB - 0x07DA];
137 /* 0x07DB */ u8 field_0x7db;
138 /* 0x07DC */ u8 field_0x7DC[0x07E0 - 0x07DC];
139 /* 0x07E0 */ int field_0x7e0;
140 /* 0x07E4 */ u8 field_0x7e4[4];
141 /* 0x07E8 */ u8 field_0x7e8;
142 /* 0x07E9 */ u8 field_0x7E9[0x07EA - 0x07E9];
143 /* 0x07EA */ u8 mPrm0;
144 /* 0x07EB */ u8 field_0x7eb;
145 /* 0x07EC */ u8 mPrm1;
146 /* 0x07ED */ u8 mPrm2;
147 /* 0x07EE */ u8 mPrm3;
148 /* 0x07EF */ u8 field_0x7EF[0x07F0 - 0x07EF];
149 /* 0x07F0 */ dBgS_AcchCir mAcchCir;
150 /* 0x0830 */ dBgS_ObjAcch mAcch;
151 /* 0x0A08 */ dCcD_Stts field_0xa08;
152 /* 0x0A44 */ dCcD_Cyl mWeekCc;
153 /* 0x0B80 */ dCcD_Sph mFootAtCc[2];
154 /* 0x0DF0 */ dCcD_Sph field_0xdf0;
155 /* 0x0F28 */ dCcD_Sph mBreathAtCc;
156 /* 0x1060 */ dCcD_Sph mWindAtCc;
157 /* 0x1198 */ dCcD_Sph mWindAtCc2;
158 /* 0x12D0 */ dCcD_Sph mWindAtCc3;
159 /* 0x1408 */ dCcD_Sph mTailCc;
160 /* 0x1540 */ dCcD_Cyl mPillarCc;
161 /* 0x167C */ dCcD_Sph mDownSphCc[9];
162 /* 0x2174 */ dCcD_Cyl mDownCc[5];
163 /* 0x27A0 */ u8 field_0x27A0[0x27A8 - 0x27A0];
165 /* 0x27AC */ u8 field_0x27AC[0x27C4 - 0x27AC];
166 /* 0x27C4 */ cXyz field_0x27c4;
167 /* 0x27D0 */ cXyz field_0x27d0;
168 /* 0x27DC */ u32 field_0x27dc[4];
169 /* 0x27EC */ u32 field_0x27ec[4];
170 /* 0x27FC */ u32 field_0x27fc[4];
171 /* 0x280C */ u32 field_0x280c;
172 /* 0x2810 */ u8 field_0x2810[0x2814 - 0x2810];
173 /* 0x2814 */ dMsgFlow_c mMsgFlow;
174};
175
176STATIC_ASSERT(sizeof(daB_DR_c) == 0x2860);
177
178
180public:
181 /* 805BAE6C */ daB_DR_HIO_c();
182 /* 805C6B94 */ ~daB_DR_HIO_c();
183};
184
185#endif /* D_A_B_DR_H */
Definition Z2Creature.h:154
Definition d_cc_d.h:432
Definition d_a_b_dr.h:179
daB_DR_HIO_c()
Definition d_a_b_dr.cpp:809
~daB_DR_HIO_c()
Definition d_a_b_dr.cpp:2885
Argorok.
Definition d_a_b_dr.h:18
u8 field_0x7d7
Definition d_a_b_dr.h:133
void JointCallBack(J3DJoint *, int)
Definition d_a_b_dr.cpp:825
dCcD_Sph mWindAtCc2
Definition d_a_b_dr.h:157
void mHeadAngleSet()
Definition d_a_b_dr.cpp:1971
s16 field_0x752
Definition d_a_b_dr.h:111
u8 field_0x7DC[0x07E0 - 0x07DC]
Definition d_a_b_dr.h:138
void down_cc_set()
Definition d_a_b_dr.cpp:2697
u8 field_0x2810[0x2814 - 0x2810]
Definition d_a_b_dr.h:172
dCcD_Sph mFootAtCc[2]
Definition d_a_b_dr.h:153
dCcD_Sph mWindAtCc3
Definition d_a_b_dr.h:158
Z2CreatureEnemy field_0x5c0
Definition d_a_b_dr.h:89
s16 field_0x74c
Definition d_a_b_dr.h:108
void executeBullet()
Definition d_a_b_dr.cpp:2518
cXyz field_0x7b4
Definition d_a_b_dr.h:124
u8 field_0x27A0[0x27A8 - 0x27A0]
Definition d_a_b_dr.h:163
void draw()
Definition d_a_b_dr.cpp:851
cXyz field_0x79c
Definition d_a_b_dr.h:122
void executeGliderAttack()
Definition d_a_b_dr.cpp:2317
void action_fire()
Definition d_a_b_dr.cpp:2548
u8 field_0x7d1
Definition d_a_b_dr.h:127
f32 field_0x720
Definition d_a_b_dr.h:97
void executeWait()
Definition d_a_b_dr.cpp:2138
void executeWindAttack()
Definition d_a_b_dr.cpp:2277
Z2CreatureEnemy * field_0x27a8
Definition d_a_b_dr.h:164
u8 field_0x738[0x073C - 0x0738]
Definition d_a_b_dr.h:103
dBgS_ObjAcch mAcch
Definition d_a_b_dr.h:150
int mAnmID
Definition d_a_b_dr.h:93
dCcD_Sph mDownSphCc[9]
Definition d_a_b_dr.h:161
void executeParts()
Definition d_a_b_dr.cpp:2538
u8 field_0x7d2
Definition d_a_b_dr.h:128
u8 field_0x7eb
Definition d_a_b_dr.h:144
int mMode
Definition d_a_b_dr.h:92
void mTimerClr()
Definition d_a_b_dr.cpp:1956
void setSe()
Definition d_a_b_dr.cpp:932
void executeMiddleDemo()
Definition d_a_b_dr.cpp:2465
u8 mPrm3
Definition d_a_b_dr.h:147
void mGlider_WindPosSet()
Definition d_a_b_dr.cpp:887
u8 mPrm2
Definition d_a_b_dr.h:146
void ctrlJoint(J3DJoint *, J3DModel *)
Definition d_a_b_dr.cpp:814
u8 field_0x7d6
Definition d_a_b_dr.h:132
u8 field_0x7e8
Definition d_a_b_dr.h:141
void mBoot_c_tranceSet(bool)
Definition d_a_b_dr.cpp:914
void onTarget()
Definition d_a_b_dr.h:81
void execute()
Definition d_a_b_dr.cpp:2720
s16 field_0x74e
Definition d_a_b_dr.h:109
void executeDamageDemo()
Definition d_a_b_dr.cpp:2460
u8 field_0x7E9[0x07EA - 0x07E9]
Definition d_a_b_dr.h:142
void _delete()
Definition d_a_b_dr.cpp:2735
u8 field_0x7D8[0x07D9 - 0x07D8]
Definition d_a_b_dr.h:134
u32 field_0x280c
Definition d_a_b_dr.h:171
request_of_phase_process_class mPhase
Definition d_a_b_dr.h:85
u8 field_0x730[0x0734 - 0x0730]
Definition d_a_b_dr.h:101
u32 field_0x27fc[4]
Definition d_a_b_dr.h:170
cXyz field_0x784
Definition d_a_b_dr.h:120
f32 field_0x728
Definition d_a_b_dr.h:99
f32 field_0x73c
Definition d_a_b_dr.h:104
u8 field_0x71C[0x0720 - 0x071C]
Definition d_a_b_dr.h:96
dMsgFlow_c mMsgFlow
Definition d_a_b_dr.h:173
void CreateHeap()
Definition d_a_b_dr.cpp:2745
dCcD_Cyl mPillarCc
Definition d_a_b_dr.h:160
cXyz field_0x76c
Definition d_a_b_dr.h:118
void executeFlyWait()
Definition d_a_b_dr.cpp:2143
int field_0x7e0
Definition d_a_b_dr.h:139
void mBgFallGroundCheck()
Definition d_a_b_dr.cpp:2054
s16 field_0x756
Definition d_a_b_dr.h:113
dCcD_Cyl mWeekCc
Definition d_a_b_dr.h:152
void DemoSkipCallBack(void *, int)
Definition d_a_b_dr.cpp:2707
s16 field_0x750
Definition d_a_b_dr.h:110
u8 field_0x7d4
Definition d_a_b_dr.h:130
dCcD_Sph mBreathAtCc
Definition d_a_b_dr.h:155
void executeWeekHit()
Definition d_a_b_dr.cpp:2211
mDoExt_brkAnm * mpCoreBrk
Definition d_a_b_dr.h:88
s16 field_0x758
Definition d_a_b_dr.h:114
mDoExt_McaMorfSO * mpModelMorf
Definition d_a_b_dr.h:86
int field_0x718
Definition d_a_b_dr.h:95
Z2CreatureEnemy field_0x664
Definition d_a_b_dr.h:90
void setActionMode(int, int)
Definition d_a_b_dr.cpp:877
u8 field_0x7D5[0x07D6 - 0x07D5]
Definition d_a_b_dr.h:131
u8 mPrm0
Definition d_a_b_dr.h:143
dBgS_AcchCir mAcchCir
Definition d_a_b_dr.h:149
cXyz field_0x760
Definition d_a_b_dr.h:117
cXyz field_0x7a8
Definition d_a_b_dr.h:123
int mTimer[4]
Definition d_a_b_dr.h:125
f32 field_0x724
Definition d_a_b_dr.h:98
void chkPartCreate(bool)
Definition d_a_b_dr.cpp:1818
u8 mPrm1
Definition d_a_b_dr.h:145
void mtx_set()
Definition d_a_b_dr.cpp:2594
void executeDead()
Definition d_a_b_dr.cpp:2470
void mFeintBreath()
Definition d_a_b_dr.cpp:2237
void mGliderMoveSub(f32)
Definition d_a_b_dr.cpp:2290
void action_parts()
Definition d_a_b_dr.cpp:2553
void startDemoCheck()
Definition d_a_b_dr.cpp:2455
u8 field_0x714[0x0718 - 0x0714]
Definition d_a_b_dr.h:94
cXyz field_0x27c4
Definition d_a_b_dr.h:166
f32 field_0x744
Definition d_a_b_dr.h:106
u8 field_0x7d0
Definition d_a_b_dr.h:126
u8 field_0x7DA[0x07DB - 0x07DA]
Definition d_a_b_dr.h:136
dCcD_Stts field_0xa08
Definition d_a_b_dr.h:151
f32 field_0x72c
Definition d_a_b_dr.h:100
MtxP getMtx()
Definition d_a_b_dr.h:79
cXyz field_0x778
Definition d_a_b_dr.h:119
void executePillarSearch()
Definition d_a_b_dr.cpp:2423
void demo_skip(int)
Definition d_a_b_dr.cpp:2702
dCcD_Cyl mDownCc[5]
Definition d_a_b_dr.h:162
daB_DR_c()
Definition d_a_b_dr.cpp:2809
void tail_hit_check()
Definition d_a_b_dr.cpp:1946
void mStatusONOFF(int)
Definition d_a_b_dr.cpp:919
void mGliderAtAniSet()
Definition d_a_b_dr.cpp:1941
dCcD_Sph mWindAtCc
Definition d_a_b_dr.h:156
f32 field_0x734
Definition d_a_b_dr.h:102
f32 field_0x748
Definition d_a_b_dr.h:107
void revolutionMove()
Definition d_a_b_dr.cpp:2036
void mBreathHighSet(bool)
Definition d_a_b_dr.cpp:2232
cXyz field_0x790
Definition d_a_b_dr.h:121
s16 field_0x75a
Definition d_a_b_dr.h:115
u8 field_0x27AC[0x27C4 - 0x27AC]
Definition d_a_b_dr.h:165
void mGlider_AniSet(bool)
Definition d_a_b_dr.cpp:1936
void setBck(int, u8, f32, f32)
Definition d_a_b_dr.cpp:872
u8 field_0x7e4[4]
Definition d_a_b_dr.h:140
void mAllClr()
Definition d_a_b_dr.cpp:1966
void create()
Definition d_a_b_dr.cpp:2804
u8 field_0x7d3
Definition d_a_b_dr.h:129
u32 field_0x27ec[4]
Definition d_a_b_dr.h:169
void executePillarWait()
Definition d_a_b_dr.cpp:2450
void parts_mtx_set()
Definition d_a_b_dr.cpp:2599
void setDeathLightEffect()
Definition d_a_b_dr.cpp:937
s16 field_0x754
Definition d_a_b_dr.h:112
void executeBreathAttack()
Definition d_a_b_dr.cpp:2250
f32 field_0x740
Definition d_a_b_dr.h:105
void week_hit_check()
Definition d_a_b_dr.cpp:1951
void mHabatakiAnmSet(int)
Definition d_a_b_dr.cpp:1931
u8 field_0x75C[0x0760 - 0x075C]
Definition d_a_b_dr.h:116
void flapMove(bool)
Definition d_a_b_dr.cpp:2016
void mPlayerHighCheck()
Definition d_a_b_dr.cpp:2041
void normalHoverMove()
Definition d_a_b_dr.cpp:2133
u8 field_0x7EF[0x07F0 - 0x07EF]
Definition d_a_b_dr.h:148
int mAction
Definition d_a_b_dr.h:91
u8 field_0x7db
Definition d_a_b_dr.h:137
dCcD_Sph field_0xdf0
Definition d_a_b_dr.h:154
dCcD_Sph mTailCc
Definition d_a_b_dr.h:159
u32 field_0x27dc[4]
Definition d_a_b_dr.h:168
J3DModel * mpPartModel
Definition d_a_b_dr.h:87
void action()
Definition d_a_b_dr.cpp:2543
void executeTailHit()
Definition d_a_b_dr.cpp:2191
void mCountClr()
Definition d_a_b_dr.cpp:1961
void mBreathSet()
Definition d_a_b_dr.cpp:2227
bool isBack()
Definition d_a_b_dr.h:82
u8 mTarget
Definition d_a_b_dr.h:135
cXyz field_0x27d0
Definition d_a_b_dr.h:167
void cc_set()
Definition d_a_b_dr.cpp:2661
Definition f_op_actor.h:249
STATIC_ASSERT(sizeof(daB_DR_c)==0x2860)
f32(* MtxP)[4]
Definition mtx.h:18
Definition d_a_hozelda.cpp:239
Definition d_a_ep.cpp:155
MtxP getAnmMtx(int jointNo)
Definition J3DModel.h:101
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:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_obj_sekizoa.cpp:318
Definition d_a_npc_fguard.cpp:23
J3DModel * getModel()
Definition m_Do_ext.h:328
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:14
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