Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_e_bee.h
Go to the documentation of this file.
1#ifndef D_A_E_BEE_H
2#define D_A_E_BEE_H
3
4#include "f_op/f_op_actor.h"
7#include "d/d_cc_d.h"
8
9struct bee_s {
10 enum Action {
11 /* 0x0 */ ACT_DEAD,
12 /* 0x1 */ ACT_FLY,
13 /* 0x2 */ ACT_FLY_HOME_A,
14 /* 0x3 */ ACT_FLY_HOME_B,
15 /* 0x4 */ ACT_FAIL,
16 /* 0x5 */ ACT_START,
17 /* 0xA */ ACT_HOME = 10,
18 };
19
20 /* 80685368 */ bee_s() {}
21 /* 806852FC */ ~bee_s() {}
22
23 /* 0x00 */ J3DModel* mpModel1;
24 /* 0x04 */ J3DModel* mpModel2;
25 /* 0x08 */ J3DModel* mpModel3;
26 /* 0x0C */ J3DModel* mpModel4;
27 /* 0x10 */ cXyz mPos;
28 /* 0x1C */ cXyz mTarget;
29 /* 0x28 */ cXyz mSpeed;
30 /* 0x34 */ csXyz mAngle;
31 /* 0x3C */ f32 mSpeedF;
32 /* 0x40 */ f32 mScale;
33 /* 0x44 */ f32 mStartDistance;
34 /* 0x48 */ s16 mCounter;
35 /* 0x4A */ s16 mHomeTimer;
36 /* 0x4C */ s8 mAction;
37 /* 0x4D */ s8 mMode;
38 /* 0x4E */ s8 mIsFlying;
39 /* 0x4F */ u8 mTimer;
40 /* 0x50 */ bool mNoDraw;
42};
43
44STATIC_ASSERT(sizeof(bee_s) == 0x74);
45
54class e_bee_class : public fopAc_ac_c {
55public:
57 /* 0x0570 */ u8 mParam0;
58 /* 0x0571 */ u8 mParam1;
59 /* 0x0572 */ u8 mParam2;
61 /* 0x0594 */ s16 mCounter;
62 /* 0x0596 */ u8 unused_0x596[4];
63 /* 0x059A */ s16 mTimers[2];
64 /* 0x059E */ u8 mCcSetTimer;
65 /* 0x059F */ u8 mHomeTimer;
66 /* 0x05A0 */ bee_s mBees[0x40];
67 /* 0x22A0 */ int mNumBees;
68 /* 0x22A4 */ u8 unused_0x22a4[0x30];
69 /* 0x22D4 */ dCcD_Stts mCcStts;
70 /* 0x2310 */ dCcD_Cyl mCcCyl;
71 /* 0x244C */ dCcD_Sph mCcSph;
72 /* 0x2584 */ s16 mBoomerangAngle;
73 /* 0x2586 */ bool mHIOInit;
74 /* 0x2587 */ bool mResLoaded;
75};
76
77STATIC_ASSERT(sizeof(e_bee_class) == 0x2588);
78
80public:
81 /* 8068286C */ daE_Bee_HIO_c();
82 /* 8068539C */ virtual ~daE_Bee_HIO_c() {}
83
84 /* 0x4 */ s8 field_0x4;
85 /* 0x8 */ f32 mScale;
86 /* 0xC */ bool mDelete;
87 /* 0xD */ bool mNoKill;
88};
89
91
92#endif /* D_A_E_BEE_H */
Definition Z2Creature.h:201
Definition Z2SoundObject.h:34
Definition d_cc_d.h:432
Definition d_a_e_bee.h:79
virtual ~daE_Bee_HIO_c()
Definition d_a_e_bee.h:82
f32 mScale
Definition d_a_e_bee.h:85
s8 field_0x4
Definition d_a_e_bee.h:84
bool mNoKill
Definition d_a_e_bee.h:87
bool mDelete
Definition d_a_e_bee.h:86
daE_Bee_HIO_c()
Definition d_a_e_bee.cpp:110
Bee.
Definition d_a_e_bee.h:54
bee_s mBees[0x40]
Definition d_a_e_bee.h:66
u8 mParam2
Definition d_a_e_bee.h:59
s16 mCounter
Definition d_a_e_bee.h:61
u8 mCcSetTimer
Definition d_a_e_bee.h:64
Z2SoundObjBeeGroup mSound
Definition d_a_e_bee.h:60
bool mHIOInit
Definition d_a_e_bee.h:73
u8 unused_0x22a4[0x30]
Definition d_a_e_bee.h:68
int mNumBees
Definition d_a_e_bee.h:67
u8 mParam1
Definition d_a_e_bee.h:58
s16 mBoomerangAngle
Definition d_a_e_bee.h:72
bool mResLoaded
Definition d_a_e_bee.h:74
dCcD_Stts mCcStts
Definition d_a_e_bee.h:69
u8 mHomeTimer
Definition d_a_e_bee.h:65
u8 mParam0
Definition d_a_e_bee.h:57
dCcD_Cyl mCcCyl
Definition d_a_e_bee.h:70
dCcD_Sph mCcSph
Definition d_a_e_bee.h:71
s16 mTimers[2]
Definition d_a_e_bee.h:63
u8 unused_0x596[4]
Definition d_a_e_bee.h:62
request_of_phase_process_class mPhase
Definition d_a_e_bee.h:56
STATIC_ASSERT(sizeof(bee_s)==0x74)
Definition d_a_ep.cpp:155
Definition d_a_e_bee.h:9
s16 mHomeTimer
Definition d_a_e_bee.h:35
bee_s()
Definition d_a_e_bee.h:20
s16 mCounter
Definition d_a_e_bee.h:34
f32 mSpeedF
Definition d_a_e_bee.h:31
s8 mIsFlying
Definition d_a_e_bee.h:38
f32 mStartDistance
Definition d_a_e_bee.h:33
f32 mScale
Definition d_a_e_bee.h:32
csXyz mAngle
Definition d_a_e_bee.h:30
cXyz mPos
Definition d_a_e_bee.h:27
cXyz mSpeed
Definition d_a_e_bee.h:29
Z2SoundObjSimple mSound
Definition d_a_e_bee.h:41
J3DModel * mpModel3
Definition d_a_e_bee.h:25
cXyz mTarget
Definition d_a_e_bee.h:28
~bee_s()
Definition d_a_e_bee.h:21
s8 mAction
Definition d_a_e_bee.h:36
J3DModel * mpModel2
Definition d_a_e_bee.h:24
bool mNoDraw
Definition d_a_e_bee.h:40
Action
Definition d_a_e_bee.h:10
@ ACT_FLY_HOME_A
Definition d_a_e_bee.h:13
@ ACT_FAIL
Definition d_a_e_bee.h:15
@ ACT_FLY
Definition d_a_e_bee.h:12
@ ACT_DEAD
Definition d_a_e_bee.h:11
@ ACT_FLY_HOME_B
Definition d_a_e_bee.h:14
@ ACT_HOME
Definition d_a_e_bee.h:17
@ ACT_START
Definition d_a_e_bee.h:16
s8 mMode
Definition d_a_e_bee.h:37
J3DModel * mpModel1
Definition d_a_e_bee.h:23
u8 mTimer
Definition d_a_e_bee.h:39
J3DModel * mpModel4
Definition d_a_e_bee.h:26
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8