Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_e_oct_bg.h
Go to the documentation of this file.
1#ifndef D_A_E_OCT_BG_H
2#define D_A_E_OCT_BG_H
3
4#include "dolphin/types.h"
5#include "f_op/f_op_actor.h"
6#include "d/d_bg_s_acch.h"
8#include "d/d_cc_d.h"
9#include "d/d_cc_uty.h"
11
20class daE_OctBg_c : public fopEn_enemy_c {
21public:
23
24 /* 8073626C */ void setAction(actionFunc);
25 /* 80736310 */ void setSparkEffect();
26 /* 80736418 */ bool checkExplode();
27 /* 8073651C */ void action();
28 /* 80736840 */ int _delete();
29 /* 807368C8 */ void cc_set();
30 /* 80736A78 */ void mtx_set();
31 /* 80736BB4 */ bool checkNormalAttack();
32 /* 80736DAC */ bool checkChase();
33 /* 80736E30 */ void born_swim();
34 /* 80737028 */ void swim();
35 /* 80737574 */ void setChasePos(cXyz&, f32);
36 /* 8073762C */ bool checkCoreFishAttack();
37 /* 80737678 */ void chase_core();
38 /* 80737C48 */ void normal_attack();
39 /* 8073814C */ void core_fish_attack();
40 /* 80738714 */ void back_swim();
41 /* 80738914 */ bool setBombCarry(int);
42 /* 807389E8 */ void hook();
43 /* 80738A4C */ void damage();
44 /* 80738C2C */ void bomb_wait();
45 /* 80738E30 */ void damage_check();
46 /* 8073905C */ int execute();
47 /* 807390E4 */ int ctrlJoint(J3DJoint*, J3DModel*);
48 /* 807391D0 */ static int JointCallBack(J3DJoint*, int);
49 /* 8073921C */ int CreateHeap();
50 /* 80739424 */ int create();
51 /* 807399A4 */ int draw();
52
54 u32 checkAction(actionFunc func) { return field_0xb58 == func; }
56
57private:
62 /* 0x660 */ cXyz field_0x660;
66 /* 0x8C0 */ dCcD_Sph field_0x8c0;
67 /* 0x9F8 */ dCcD_Sph field_0x9f8;
69 /* 0xB54 */ u8 field_0xb54[0xb58 - 0xb54];
72 /* 0xB70 */ int field_0xb70;
73 /* 0xB74 */ bool field_0xb74;
74 /* 0xB75 */ u8 field_0xb75;
75 /* 0xB76 */ u8 field_0xb76;
76 /* 0xB77 */ u8 field_0xb77;
77 /* 0xB78 */ int field_0xb78;
78 /* 0xB7C */ s16 field_0xb7c;
79 /* 0xB7E */ s16 field_0xb7e;
80 /* 0xB80 */ s16 field_0xb80;
81 /* 0xB82 */ s16 field_0xb82;
82 /* 0xB84 */ s16 field_0xb84[4];
83 /* 0xB8C */ s16 field_0xb8c;
84 /* 0xB8E */ u8 field_0xb8e[0xb90 - 0xb8e];
85 /* 0xB90 */ int field_0xb90;
86 /* 0xB94 */ s16 field_0xb94;
87 /* 0xB96 */ s16 field_0xb96;
88 /* 0xB98 */ u32 field_0xb98[5];
89 /* 0xBAC */ u8 field_0xbac;
90 /* 0xBAD */ u8 field_0xbad;
91 /* 0xBAE */ u8 field_0xbae;
92 /* 0xBAF */ u8 field_0xbaf;
93 /* 0xBB0 */ u16 field_0xbb0;
94 /* 0xBB2 */ u8 field_0xbb2;
95 /* 0xBB3 */ u8 field_0xbb3;
96};
97
98STATIC_ASSERT(sizeof(daE_OctBg_c) == 0xBB4);
99
101public:
102 /* 8073620C */ daE_OctBg_HIO_c();
103 /* 80739CB8 */ virtual ~daE_OctBg_HIO_c() {}
104
105 /* 0x04 */ s8 field_0x04;
106 /* 0x08 */ f32 field_0x08;
107 /* 0x0C */ f32 field_0x0c;
108 /* 0x10 */ f32 field_0x10;
109 /* 0x14 */ f32 field_0x14;
110 /* 0x18 */ f32 field_0x18;
111 /* 0x1C */ f32 field_0x1c;
112 /* 0x20 */ u8 field_0x20;
113 /* 0x21 */ u8 field_0x21;
114};
115
116#endif /* D_A_E_OCT_BG_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition Z2Creature.h:154
Definition d_cc_d.h:432
Definition d_a_e_oct_bg.h:100
s8 field_0x04
Definition d_a_e_oct_bg.h:105
f32 field_0x18
Definition d_a_e_oct_bg.h:110
f32 field_0x10
Definition d_a_e_oct_bg.h:108
u8 field_0x21
Definition d_a_e_oct_bg.h:113
f32 field_0x14
Definition d_a_e_oct_bg.h:109
f32 field_0x08
Definition d_a_e_oct_bg.h:106
f32 field_0x0c
Definition d_a_e_oct_bg.h:107
daE_OctBg_HIO_c()
Definition d_a_e_oct_bg.cpp:76
f32 field_0x1c
Definition d_a_e_oct_bg.h:111
virtual ~daE_OctBg_HIO_c()
Definition d_a_e_oct_bg.h:103
u8 field_0x20
Definition d_a_e_oct_bg.h:112
Morpheel Bomb Fish.
Definition d_a_e_oct_bg.h:20
static int JointCallBack(J3DJoint *, int)
Definition d_a_e_oct_bg.cpp:902
s16 field_0xb82
Definition d_a_e_oct_bg.h:81
int field_0xb78
Definition d_a_e_oct_bg.h:77
s16 field_0xb94
Definition d_a_e_oct_bg.h:86
void chase_core()
Definition d_a_e_oct_bg.cpp:494
u8 field_0xbad
Definition d_a_e_oct_bg.h:90
u8 field_0xbb2
Definition d_a_e_oct_bg.h:94
void normal_attack()
Definition d_a_e_oct_bg.cpp:546
s16 field_0xb80
Definition d_a_e_oct_bg.h:80
int ctrlJoint(J3DJoint *, J3DModel *)
Definition d_a_e_oct_bg.cpp:882
void hook()
Definition d_a_e_oct_bg.cpp:721
u32 field_0xb98[5]
Definition d_a_e_oct_bg.h:88
bool checkChase()
Definition d_a_e_oct_bg.cpp:366
u8 field_0xbaf
Definition d_a_e_oct_bg.h:92
void action()
Definition d_a_e_oct_bg.cpp:136
int _delete()
Definition d_a_e_oct_bg.cpp:276
void damage()
Definition d_a_e_oct_bg.cpp:733
request_of_phase_process_class mPhase
Definition d_a_e_oct_bg.h:58
u8 field_0xb54[0xb58 - 0xb54]
Definition d_a_e_oct_bg.h:69
mDoExt_brkAnm * field_0x5b8
Definition d_a_e_oct_bg.h:60
s16 field_0xb84[4]
Definition d_a_e_oct_bg.h:82
int field_0xb90
Definition d_a_e_oct_bg.h:85
void(daE_OctBg_c::* actionFunc)()
Definition d_a_e_oct_bg.h:22
int execute()
Definition d_a_e_oct_bg.cpp:861
int CreateHeap()
Definition d_a_e_oct_bg.cpp:914
u8 field_0xb8e[0xb90 - 0xb8e]
Definition d_a_e_oct_bg.h:84
s16 field_0xb7c
Definition d_a_e_oct_bg.h:78
bool checkNormalAttk()
Definition d_a_e_oct_bg.h:55
bool checkExplode()
Definition d_a_e_oct_bg.cpp:114
u16 field_0xbb0
Definition d_a_e_oct_bg.h:93
u8 getChaseFlag()
Definition d_a_e_oct_bg.h:53
u8 field_0xb75
Definition d_a_e_oct_bg.h:74
dBgS_AcchCir field_0x66c
Definition d_a_e_oct_bg.h:63
void back_swim()
Definition d_a_e_oct_bg.cpp:669
u8 field_0xbb3
Definition d_a_e_oct_bg.h:95
bool setBombCarry(int)
Definition d_a_e_oct_bg.cpp:699
u8 field_0xbae
Definition d_a_e_oct_bg.h:91
dCcD_Stts field_0x884
Definition d_a_e_oct_bg.h:65
bool checkNormalAttack()
Definition d_a_e_oct_bg.cpp:347
s16 field_0xb8c
Definition d_a_e_oct_bg.h:83
dBgS_ObjAcch field_0x6ac
Definition d_a_e_oct_bg.h:64
dCcD_Sph field_0x8c0
Definition d_a_e_oct_bg.h:66
void swim()
Definition d_a_e_oct_bg.cpp:415
void setSparkEffect()
Definition d_a_e_oct_bg.cpp:102
bool field_0xb74
Definition d_a_e_oct_bg.h:73
s16 field_0xb7e
Definition d_a_e_oct_bg.h:79
int draw()
Definition d_a_e_oct_bg.cpp:996
void bomb_wait()
Definition d_a_e_oct_bg.cpp:770
void mtx_set()
Definition d_a_e_oct_bg.cpp:328
void damage_check()
Definition d_a_e_oct_bg.cpp:819
s16 field_0xb96
Definition d_a_e_oct_bg.h:87
int create()
Definition d_a_e_oct_bg.cpp:939
void core_fish_attack()
Definition d_a_e_oct_bg.cpp:608
bool checkCoreFishAttack()
Definition d_a_e_oct_bg.cpp:482
u8 field_0xb77
Definition d_a_e_oct_bg.h:76
void setAction(actionFunc)
Definition d_a_e_oct_bg.cpp:90
mDoExt_McaMorfSO * field_0x5b4
Definition d_a_e_oct_bg.h:59
dCcU_AtInfo field_0xb30
Definition d_a_e_oct_bg.h:68
cXyz field_0x660
Definition d_a_e_oct_bg.h:62
int field_0xb70
Definition d_a_e_oct_bg.h:72
u32 checkAction(actionFunc func)
Definition d_a_e_oct_bg.h:54
actionFunc field_0xb58
Definition d_a_e_oct_bg.h:70
actionFunc field_0xb64
Definition d_a_e_oct_bg.h:71
u8 field_0xbac
Definition d_a_e_oct_bg.h:89
void setChasePos(cXyz &, f32)
Definition d_a_e_oct_bg.cpp:474
Z2CreatureEnemy field_0x5bc
Definition d_a_e_oct_bg.h:61
u8 field_0xb76
Definition d_a_e_oct_bg.h:75
dCcD_Sph field_0x9f8
Definition d_a_e_oct_bg.h:67
void born_swim()
Definition d_a_e_oct_bg.cpp:381
void cc_set()
Definition d_a_e_oct_bg.cpp:304
Definition f_op_actor.h:249
STATIC_ASSERT(sizeof(daE_OctBg_c)==0xBB4)
Definition d_a_hozelda.cpp:239
Definition d_a_ep.cpp:155
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:70
Definition d_a_ep.cpp:99
Definition d_a_npc_fguard.cpp:23
Definition d_a_obj_sekizoa.cpp:56
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 short u16
Definition types.h:9
unsigned char u8
Definition types.h:8