Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_b_go.h
Go to the documentation of this file.
1#ifndef D_A_B_GO_H
2#define D_A_B_GO_H
3
6#include "f_op/f_op_actor.h"
7#include "d/d_bg_s_acch.h"
8#include "d/d_cc_d.h"
9#include "d/d_cc_uty.h"
10
11#define GORON_CHILD_MAX 31
12#define RES_IS_MODEL 0x13
13
15 /* 0x04 */ ANM_ATTACK = 4,
16 /* 0x05 */ ANM_DAMAGE_01,
17 /* 0x06 */ ANM_DAMAGE_02,
18 /* 0x07 */ ANM_DEAD_01,
19 /* 0x08 */ ANM_DEAD_02,
20 /* 0x09 */ ANM_FALL,
21 /* 0x0A */ ANM_START_L,
22 /* 0x0B */ ANM_START_R,
23 /* 0x0C */ ANM_STEP,
24 /* 0x0D */ ANM_TRAP,
25 /* 0x0E */ ANM_WAIT_02,
26 /* 0x0F */ ANM_WAIT_03,
27 /* 0x10 */ ANM_WALK,
28};
29
31 /* 0x0 */ ACT_WAIT,
32 /* 0x1 */ ACT_WALK,
33 /* 0x2 */ ACT_ATTACK,
34};
35
44class b_go_class : public fopEn_enemy_c {
45public:
46 /* 80603CA0 */ b_go_class();
47
51 /* 0x65C */ int mAnmID;
52 /* 0x660 */ u8 unk_0x660;
53 /* 0x661 */ u8 field_0x661[0x668 - 0x661];
54 /* 0x668 */ s16 unk_0x668;
55 /* 0x66A */ s16 mActionID;
56 /* 0x66C */ s16 mMode;
57 /* 0x66E */ u8 field_0x66e[0x67e - 0x66e];
58 /* 0x67E */ s16 mAngleToPlayer;
59 /* 0x680 */ f32 mDistToPlayer;
60 /* 0x684 */ u8 field_0x684[4];
61 /* 0x688 */ s16 mTimers[4];
62 /* 0x690 */ s16 unk_0x690;
63 /* 0x692 */ s16 field_0x692;
65 /* 0x6D4 */ dBgS_ObjAcch mAcch;
66 /* 0x8AC */ dCcD_Stts mStts;
67 /* 0x8E8 */ dCcD_Sph field_0x8e8;
68 /* 0xA20 */ dCcD_Sph field_0xa20;
69 /* 0xB58 */ dCcD_Cyl field_0xb58;
70 /* 0xC94 */ dCcU_AtInfo mAtInfo;
72 /* 0xD34 */ u8 field_0xd34;
73};
74
75STATIC_ASSERT(sizeof(b_go_class) == 0xD38);
76
78public:
79 /* 806031AC */ daB_GO_HIO_c();
80 /* 80603F9C */ virtual ~daB_GO_HIO_c() {}
81
82 /* 0x04 */ s8 field_0x4;
83 /* 0x08 */ f32 mSmallSize;
84 /* 0x0C */ f32 mNormalSpeed;
86 /* 0x14 */ bool mDisplayModelImage;
87};
88
89
90#endif /* D_A_B_GO_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition Z2Creature.h:154
Goron Golem.
Definition d_a_b_go.h:44
s16 unk_0x690
Definition d_a_b_go.h:62
s16 unk_0x668
Definition d_a_b_go.h:54
s16 mAngleToPlayer
Definition d_a_b_go.h:58
request_of_phase_process_class mPhase
Definition d_a_b_go.h:48
u8 field_0xd34
Definition d_a_b_go.h:72
dBgS_AcchCir mAcchCir
Definition d_a_b_go.h:64
u8 unk_0x660
Definition d_a_b_go.h:52
dCcD_Sph field_0xa20
Definition d_a_b_go.h:68
u32 mGoronChildIDs[GORON_CHILD_MAX]
Definition d_a_b_go.h:71
int mAnmID
Definition d_a_b_go.h:51
s16 mTimers[4]
Definition d_a_b_go.h:61
f32 mDistToPlayer
Definition d_a_b_go.h:59
dCcD_Sph field_0x8e8
Definition d_a_b_go.h:67
dCcU_AtInfo mAtInfo
Definition d_a_b_go.h:70
s16 field_0x692
Definition d_a_b_go.h:63
u8 field_0x661[0x668 - 0x661]
Definition d_a_b_go.h:53
s16 mActionID
Definition d_a_b_go.h:55
Z2CreatureEnemy mSound
Definition d_a_b_go.h:50
dCcD_Cyl field_0xb58
Definition d_a_b_go.h:69
s16 mMode
Definition d_a_b_go.h:56
mDoExt_McaMorfSO * mpMorf
Definition d_a_b_go.h:49
u8 field_0x684[4]
Definition d_a_b_go.h:60
dBgS_ObjAcch mAcch
Definition d_a_b_go.h:65
u8 field_0x66e[0x67e - 0x66e]
Definition d_a_b_go.h:57
dCcD_Stts mStts
Definition d_a_b_go.h:66
b_go_class()
Definition d_a_b_go.cpp:300
Definition d_cc_d.h:432
Definition d_a_b_go.h:77
daB_GO_HIO_c()
Definition d_a_b_go.cpp:12
virtual ~daB_GO_HIO_c()
Definition d_a_b_go.h:80
f32 mAttackInitRange
Definition d_a_b_go.h:85
s8 field_0x4
Definition d_a_b_go.h:82
f32 mNormalSpeed
Definition d_a_b_go.h:84
f32 mSmallSize
Definition d_a_b_go.h:83
bool mDisplayModelImage
Definition d_a_b_go.h:86
Definition f_op_actor.h:249
daB_GO_ANM
Definition d_a_b_go.h:14
@ ANM_WAIT_02
Definition d_a_b_go.h:25
@ ANM_ATTACK
Definition d_a_b_go.h:15
@ ANM_DAMAGE_02
Definition d_a_b_go.h:17
@ ANM_WALK
Definition d_a_b_go.h:27
@ ANM_TRAP
Definition d_a_b_go.h:24
@ ANM_STEP
Definition d_a_b_go.h:23
@ ANM_START_R
Definition d_a_b_go.h:22
@ ANM_FALL
Definition d_a_b_go.h:20
@ ANM_WAIT_03
Definition d_a_b_go.h:26
@ ANM_DAMAGE_01
Definition d_a_b_go.h:16
@ ANM_DEAD_02
Definition d_a_b_go.h:19
@ ANM_DEAD_01
Definition d_a_b_go.h:18
@ ANM_START_L
Definition d_a_b_go.h:21
daB_GO_Action
Definition d_a_b_go.h:30
@ ACT_WALK
Definition d_a_b_go.h:32
@ ACT_ATTACK
Definition d_a_b_go.h:33
@ ACT_WAIT
Definition d_a_b_go.h:31
STATIC_ASSERT(sizeof(b_go_class)==0xD38)
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_ep.cpp:99
Definition d_a_npc_fguard.cpp:23
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 char u8
Definition types.h:8