Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_mg_fish.h
Go to the documentation of this file.
1#ifndef D_A_MG_FISH_H
2#define D_A_MG_FISH_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
17struct mf_ke_s {
18 /* 0x00 */ cXyz mControlPoints[5];
19 /* 0x3C */ cXyz mMovementDir;
20};
21
31public:
34 /* 0x5B4 */ s16 mBobTimer;
35 /* 0x5B6 */ s16 mCurAction;
36 /* 0x5B8 */ s16 mActionPhase;
37 /* 0x5BC */ f32 mJointScale;
38 /* 0x5C0 */ cXyz mNextPos;
39 /* 0x5CC */ s16 mMovementYaw;
40 /* 0x5CE */ s16 mMovementPitch;
41 /* 0x5D0 */ s16 mMaxStep;
42 /* 0x5D2 */ s16 mCurSwimStep;
43 /* 0x5D4 */ f32 field_0x5d4;
44 /* 0x5D8 */ f32 mSurfaceY;
45 /* 0x5DC */ f32 mGroundY;
46 /* 0x5E0 */ cXyz field_0x5e0;
47 /* 0x5EC */ f32 field_0x5ec;
48 /* 0x5F0 */ f32 mDistToPlayer;
49 /* 0x5F4 */ s16 mYawToPlayer;
50 /* 0x5F6 */ s16 field_0x5f6;
51 /* 0x5F8 */ s16 field_0x5f8;
52 /* 0x5FC */ char* mResName;
53 /* 0x600 */ mDoExt_McaMorf* mpMorf;
55 /* 0x608 */ u32 mShadowId;
56 /* 0x60C */ int mAnmID;
57 /* 0x610 */ mDoExt_brkAnm* mpBrkAnm;
58 /* 0x614 */ J3DModel* mpModel[3];
59 /* 0x620 */ mDoExt_btpAnm* mpBtpAnm;
60 /* 0x624 */ s16 field_0x624[5];
61 /* 0x62E */ s16 field_0x62e;
63 /* 0x632 */ s16 field_0x632;
64 /* 0x634 */ u8 mGedouKind;
65 /* 0x635 */ u8 mKind2;
66 /* 0x638 */ cXyz field_0x638;
67 /* 0x644 */ s16 mRotZ;
68 /* 0x648 */ u32 mBaitId;
69 /* 0x64C */ u32 mRodId;
70 /* 0x650 */ f32 field_0x650;
71 /* 0x654 */ f32 field_0x654;
72 /* 0x658 */ s8 mHookedState;
73 /* 0x659 */ s8 field_0x659;
74 /* 0x65A */ s8 field_0x65a;
75 /* 0x65B */ u8 field_0x65b;
76 /* 0x65C */ u8 field_0x65c;
77 /* 0x65D */ u8 field_0x65d;
78 /* 0x660 */ f32 field_0x660;
79 /* 0x664 */ cXyz mJointTranslations[10];
80 /* 0x6DC */ csXyz mJointRotations[10];
81 /* 0x718 */ s16 jointYaws1[10];
82 /* 0x72C */ s32 mNumJoints;
83 /* 0x730 */ s16 jointYaws2[6];
84 /* 0x73C */ f32 field_0x73c;
85 /* 0x740 */ f32 field_0x740;
86 /* 0x744 */ f32 mBobAmp;
87 /* 0x748 */ f32 field_0x748;
88 /* 0x74C */ f32 field_0x74c;
89 /* 0x750 */ u8 field_0x750;
90 /* 0x754 */ mf_ke_s field_0x754[2];
92 /* 0x800 */ Z2Creature mSound;
94 /* 0x8D0 */ dBgS_ObjAcch mAcch;
95 /* 0xAA8 */ dCcD_Stts mCcStatus;
96 /* 0xAE4 */ dCcD_Cyl mCcCyl;
97 /* 0xC20 */ u32 field_0xc20;
98 /* 0xC24 */ u8 field_0xc24[0xc28 - 0xc24];
99 /* 0xC28 */ s32 mEmitterIds[3];
100 /* 0xC34 */ u32 field_0xc34;
101 /* 0xC38 */ u32 field_0xc38;
102 /* 0xC3C */ u8 field_0xc3c;
103 /* 0xC3D */ u8 mCaughtType;
104 /* 0xC3E */ u8 field_0xc3e;
105 /* 0xC3F */ u8 field_0xc3f;
106 /* 0xC40 */ f32 field_0xc40;
107 /* 0xC44 */ u8 field_0xc44;
109 /* 0xC4C */ u32 mSkullfishId;
110};
111
112STATIC_ASSERT(sizeof(mg_fish_class) == 0xC50);
113
115public:
117 virtual ~daMg_Fish_HIO_c() {}
118
119 /* 0x4 */ s8 field_0x4;
120 /* 0x8 */ f32 field_0x8;
121 /* 0xC */ f32 field_0xc;
122 /* 0x10 */ f32 field_0x10;
123 /* 0x14 */ f32 field_0x14;
124 /* 0x18 */ u8 field_0x18;
125 /* 0x19 */ u8 field_0x19;
126 /* 0x1A */ u8 field_0x1a;
127 /* 0x1B */ u8 field_0x1b;
128};
129
130
131#endif /* D_A_MG_FISH_H */
int(* J3DJointCallBack)(J3DJoint *, int)
Definition J3DJoint.h:57
Definition J3DAnimation.h:504
Definition J3DModel.h:43
Definition Z2Creature.h:7
Definition c_sxyz.h:10
Definition d_bg_s_acch.h:15
Definition d_bg_s_acch.h:247
Definition d_cc_d.h:461
Definition d_cc_d.h:269
Definition d_a_mg_fish.h:114
f32 field_0x10
Definition d_a_mg_fish.h:122
virtual ~daMg_Fish_HIO_c()
Definition d_a_mg_fish.h:117
s8 field_0x4
Definition d_a_mg_fish.h:119
f32 field_0x8
Definition d_a_mg_fish.h:120
u8 field_0x1a
Definition d_a_mg_fish.h:126
f32 field_0x14
Definition d_a_mg_fish.h:123
u8 field_0x19
Definition d_a_mg_fish.h:125
daMg_Fish_HIO_c()
Definition d_a_mg_fish.cpp:79
f32 field_0xc
Definition d_a_mg_fish.h:121
u8 field_0x1b
Definition d_a_mg_fish.h:127
u8 field_0x18
Definition d_a_mg_fish.h:124
Definition f_op_actor.h:285
Definition m_Do_ext.h:584
Definition m_Do_ext.h:369
Definition m_Do_ext.h:94
Definition m_Do_ext.h:182
Fish.
Definition d_a_mg_fish.h:30
u8 field_0xc44
Definition d_a_mg_fish.h:107
J3DModel * mpModel[3]
Definition d_a_mg_fish.h:58
f32 mJointScale
Definition d_a_mg_fish.h:37
u32 mBaitId
Definition d_a_mg_fish.h:68
f32 field_0x748
Definition d_a_mg_fish.h:87
u32 field_0xc34
Definition d_a_mg_fish.h:100
u32 mShadowId
Definition d_a_mg_fish.h:55
csXyz mJointRotations[10]
Definition d_a_mg_fish.h:80
u32 mRodId
Definition d_a_mg_fish.h:69
s16 mCurAction
Definition d_a_mg_fish.h:35
J3DAnmTransform * mAnmTransform
Definition d_a_mg_fish.h:54
u8 field_0xc3f
Definition d_a_mg_fish.h:105
f32 field_0x650
Definition d_a_mg_fish.h:70
s16 jointYaws2[6]
Definition d_a_mg_fish.h:83
u8 field_0x65b
Definition d_a_mg_fish.h:75
s16 field_0x62e
Definition d_a_mg_fish.h:61
dBgS_AcchCir mAcchCir
Definition d_a_mg_fish.h:93
f32 mBobAmp
Definition d_a_mg_fish.h:86
cXyz mNextPos
Definition d_a_mg_fish.h:38
s16 field_0x5f6
Definition d_a_mg_fish.h:50
dCcD_Stts mCcStatus
Definition d_a_mg_fish.h:95
f32 field_0x73c
Definition d_a_mg_fish.h:84
s32 mEmitterIds[3]
Definition d_a_mg_fish.h:99
f32 field_0x5ec
Definition d_a_mg_fish.h:47
J3DJointCallBack mNodeCallBack
Definition d_a_mg_fish.h:108
mDoExt_McaMorf * mpMorf
Definition d_a_mg_fish.h:53
u8 field_0xc3c
Definition d_a_mg_fish.h:102
u8 field_0x65d
Definition d_a_mg_fish.h:77
f32 field_0x654
Definition d_a_mg_fish.h:71
f32 field_0xc40
Definition d_a_mg_fish.h:106
mf_ke_s field_0x754[2]
Definition d_a_mg_fish.h:90
s16 field_0x632
Definition d_a_mg_fish.h:63
s16 mYawToPlayer
Definition d_a_mg_fish.h:49
s16 field_0x624[5]
Definition d_a_mg_fish.h:60
s8 mHookedState
Definition d_a_mg_fish.h:72
u8 field_0x65c
Definition d_a_mg_fish.h:76
mDoExt_btpAnm * mpBtpAnm
Definition d_a_mg_fish.h:59
s16 mCurSwimStep
Definition d_a_mg_fish.h:42
int mAnmID
Definition d_a_mg_fish.h:56
u32 field_0xc38
Definition d_a_mg_fish.h:101
mDoExt_brkAnm * mpBrkAnm
Definition d_a_mg_fish.h:57
f32 mDistToPlayer
Definition d_a_mg_fish.h:48
s16 field_0x5f8
Definition d_a_mg_fish.h:51
mDoExt_3DlineMat0_c mLineMat
Definition d_a_mg_fish.h:91
fopEn_enemy_c actor
Definition d_a_mg_fish.h:32
dBgS_ObjAcch mAcch
Definition d_a_mg_fish.h:94
s16 mMovementYaw
Definition d_a_mg_fish.h:39
cXyz field_0x638
Definition d_a_mg_fish.h:66
f32 field_0x5d4
Definition d_a_mg_fish.h:43
s32 mNumJoints
Definition d_a_mg_fish.h:82
cXyz mJointTranslations[10]
Definition d_a_mg_fish.h:79
s8 field_0x65a
Definition d_a_mg_fish.h:74
u8 mCaughtType
Definition d_a_mg_fish.h:103
Z2Creature mSound
Definition d_a_mg_fish.h:92
u8 mGedouKind
Definition d_a_mg_fish.h:64
char * mResName
Definition d_a_mg_fish.h:52
request_of_phase_process_class mPhaseReq
Definition d_a_mg_fish.h:33
dCcD_Cyl mCcCyl
Definition d_a_mg_fish.h:96
s16 mBobTimer
Definition d_a_mg_fish.h:34
s16 mMovementPitch
Definition d_a_mg_fish.h:40
f32 field_0x74c
Definition d_a_mg_fish.h:88
s16 mMaxStep
Definition d_a_mg_fish.h:41
s16 mActionPhase
Definition d_a_mg_fish.h:36
u32 field_0xc20
Definition d_a_mg_fish.h:97
u8 field_0xc24[0xc28 - 0xc24]
Definition d_a_mg_fish.h:98
f32 field_0x740
Definition d_a_mg_fish.h:85
f32 mGroundY
Definition d_a_mg_fish.h:45
s16 jointYaws1[10]
Definition d_a_mg_fish.h:81
u32 mSkullfishId
Definition d_a_mg_fish.h:109
s8 field_0x659
Definition d_a_mg_fish.h:73
u8 mKind2
Definition d_a_mg_fish.h:65
f32 mSurfaceY
Definition d_a_mg_fish.h:44
s16 mRemainingHookTime
Definition d_a_mg_fish.h:62
s16 mRotZ
Definition d_a_mg_fish.h:67
cXyz field_0x5e0
Definition d_a_mg_fish.h:46
u8 field_0x750
Definition d_a_mg_fish.h:89
f32 field_0x660
Definition d_a_mg_fish.h:78
u8 field_0xc3e
Definition d_a_mg_fish.h:104
STATIC_ASSERT(sizeof(mg_fish_class)==0xC50)
signed char s8
Definition types.h:7
unsigned long u32
Definition types.h:12
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
Fishing line ("keburu")
Definition d_a_mg_fish.h:17
cXyz mControlPoints[5]
Definition d_a_mg_fish.h:18
cXyz mMovementDir
Definition d_a_mg_fish.h:19
Definition c_phase.h:17