Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_mg_rod.h
Go to the documentation of this file.
1#ifndef D_A_MG_ROD_H
2#define D_A_MG_ROD_H
3
6#include "d/d_bg_s_acch.h"
7#include "d/d_cc_d.h"
8#include "d/d_msg_flow.h"
10
11struct mg_rod_s {
12 /* 0x0 */ cXyz field_0x0[16];
13};
14
15struct mg_line_s {
16 /* 0x0 */ cXyz field_0x0[100];
17};
18
19struct mg_hook_s {
20 /* 804BAF78 */ ~mg_hook_s();
21 /* 804BAFD8 */ mg_hook_s();
22
23 /* 0x00 */ cXyz field_0x0[2];
24 /* 0x18 */ u8 field_0x18[0x20 - 0x18];
25};
26
27struct wd_ss {};
28
37class dmg_rod_class : public fopAc_ac_c {
38public:
39 /* 804BAC0C */ dmg_rod_class();
40
43 bool checkRodEquipPermission() { return field_0x1514 == 0; }
44 bool checkReelSpin() { return field_0x14f0 != 0; }
45
46 /* 0x0568 */ u8 field_0x568[0x5A4 - 0x568];
47 /* 0x05A4 */ mg_rod_s field_0x5a4;
48 /* 0x0664 */ u8 field_0x664[0x6AC - 0x664];
49 /* 0x06AC */ cXyz field_0x6ac;
50 /* 0x06B8 */ cXyz field_0x6b8;
51 /* 0x06C4 */ u8 field_0x6c4[0x6C8 - 0x6C4];
52 /* 0x06C8 */ cXyz field_0x6c8;
53 /* 0x06D4 */ cXyz field_0x6d4;
54 /* 0x06E0 */ u8 field_0x6e0[0x6EC - 0x6E0];
55 /* 0x06EC */ cXyz field_0x6ec;
56 /* 0x06F8 */ u8 field_0x6f8[0x71C - 0x6F8];
57 /* 0x071C */ csXyz field_0x71c[6];
58 /* 0x0740 */ u8 field_0x740[0x744 - 0x740];
59 /* 0x0744 */ cXyz field_0x744;
60 /* 0x0750 */ cXyz field_0x750;
61 /* 0x075C */ u8 field_0x75c[0x764 - 0x75C];
62 /* 0x0764 */ cXyz field_0x764;
63 /* 0x0770 */ mg_line_s field_0x770;
64 /* 0x0C20 */ u8 field_0xc20[0xF7C - 0xC20];
65 /* 0x0F7C */ s16 field_0xf7c;
66 /* 0x0F7E */ s16 field_0xf7e;
67 /* 0x0F80 */ u8 field_0xf80[0xFAC - 0xF80];
68 /* 0x0FAC */ mg_hook_s field_0xfac[2];
69 /* 0x0FEC */ u8 field_0xfec[0x1060 - 0xFEC];
70 /* 0x1060 */ cXyz field_0x1060;
71 /* 0x106C */ cXyz field_0x106c;
72 /* 0x1078 */ cXyz field_0x1078;
73 /* 0x1084 */ csXyz field_0x1084;
74 /* 0x108A */ u8 field_0x108a[0x10B4 - 0x108A];
76 /* 0x1144 */ u8 field_0x1144[0x1190 - 0x1144];
79 /* 0x13A8 */ u8 field_0x13a8[0x13B4 - 0x13A8];
80 /* 0x13B4 */ s16 field_0x13b4;
81 /* 0x13B6 */ u8 field_0x13b6[0x1474 - 0x13B6];
82 /* 0x1474 */ dMsgFlow_c mMsgFlow;
83 /* 0x14C0 */ u8 field_0x14c0[0x14C8 - 0x14C0];
84 /* 0x14C8 */ f32 mRodStickX;
85 /* 0x14CC */ f32 mRodStickY;
86 /* 0x14D0 */ u8 field_0x14d0[0x14F0 - 0x14D0];
87 /* 0x14F0 */ int field_0x14f0;
88 /* 0x14F4 */ u8 field_0x14f4[0x1514 - 0x14F4];
89 /* 0x1514 */ u8 field_0x1514;
90 /* 0x1515 */ u8 field_0x1515[0x1518 - 0x1515];
91 /* 0x1518 */ dCcD_Stts field_0x1518;
92 /* 0x1554 */ dCcD_Sph field_0x1554;
93 /* 0x168C */ u8 field_0x168c;
94};
95
96STATIC_ASSERT(sizeof(dmg_rod_class) == 0x1690);
97
99public:
100 /* 804A95EC */ dmg_rod_HIO_c();
101 /* 804BB070 */ ~dmg_rod_HIO_c();
102};
103
104#endif /* D_A_MG_ROD_H */
Definition d_cc_d.h:432
Definition d_a_mg_rod.h:98
~dmg_rod_HIO_c()
Definition d_a_mg_rod.cpp:2615
dmg_rod_HIO_c()
Definition d_a_mg_rod.cpp:785
Fishing Rod.
Definition d_a_mg_rod.h:37
mg_line_s field_0x770
Definition d_a_mg_rod.h:63
u8 field_0xc20[0xF7C - 0xC20]
Definition d_a_mg_rod.h:64
f32 mRodStickX
Definition d_a_mg_rod.h:84
int field_0x14f0
Definition d_a_mg_rod.h:87
cXyz field_0x6ac
Definition d_a_mg_rod.h:49
u8 field_0x6c4[0x6C8 - 0x6C4]
Definition d_a_mg_rod.h:51
csXyz field_0x1084
Definition d_a_mg_rod.h:73
u8 field_0x6f8[0x71C - 0x6F8]
Definition d_a_mg_rod.h:56
u8 field_0x108a[0x10B4 - 0x108A]
Definition d_a_mg_rod.h:74
dmg_rod_class()
Definition d_a_mg_rod.cpp:2552
dBgS_ObjAcch field_0x11d0
Definition d_a_mg_rod.h:78
s16 field_0xf7e
Definition d_a_mg_rod.h:66
f32 mRodStickY
Definition d_a_mg_rod.h:85
u8 field_0x13a8[0x13B4 - 0x13A8]
Definition d_a_mg_rod.h:79
u8 field_0xfec[0x1060 - 0xFEC]
Definition d_a_mg_rod.h:69
u8 field_0x168c
Definition d_a_mg_rod.h:93
u8 field_0xf80[0xFAC - 0xF80]
Definition d_a_mg_rod.h:67
u8 field_0x14f4[0x1514 - 0x14F4]
Definition d_a_mg_rod.h:88
u8 field_0x1144[0x1190 - 0x1144]
Definition d_a_mg_rod.h:76
u8 field_0x6e0[0x6EC - 0x6E0]
Definition d_a_mg_rod.h:54
dMsgFlow_c mMsgFlow
Definition d_a_mg_rod.h:82
s16 field_0x13b4
Definition d_a_mg_rod.h:80
cXyz field_0x764
Definition d_a_mg_rod.h:62
u8 field_0x13b6[0x1474 - 0x13B6]
Definition d_a_mg_rod.h:81
f32 getRodStickY()
Definition d_a_mg_rod.h:42
bool checkRodEquipPermission()
Definition d_a_mg_rod.h:43
u8 field_0x14c0[0x14C8 - 0x14C0]
Definition d_a_mg_rod.h:83
cXyz field_0x6c8
Definition d_a_mg_rod.h:52
u8 field_0x568[0x5A4 - 0x568]
Definition d_a_mg_rod.h:46
Z2Creature field_0x10b4
Definition d_a_mg_rod.h:75
f32 getRodStickX()
Definition d_a_mg_rod.h:41
cXyz field_0x106c
Definition d_a_mg_rod.h:71
cXyz field_0x1060
Definition d_a_mg_rod.h:70
u8 field_0x14d0[0x14F0 - 0x14D0]
Definition d_a_mg_rod.h:86
cXyz field_0x6b8
Definition d_a_mg_rod.h:50
cXyz field_0x1078
Definition d_a_mg_rod.h:72
cXyz field_0x744
Definition d_a_mg_rod.h:59
cXyz field_0x750
Definition d_a_mg_rod.h:60
bool checkReelSpin()
Definition d_a_mg_rod.h:44
mg_hook_s field_0xfac[2]
Definition d_a_mg_rod.h:68
u8 field_0x664[0x6AC - 0x664]
Definition d_a_mg_rod.h:48
csXyz field_0x71c[6]
Definition d_a_mg_rod.h:57
u8 field_0x75c[0x764 - 0x75C]
Definition d_a_mg_rod.h:61
u8 field_0x1515[0x1518 - 0x1515]
Definition d_a_mg_rod.h:90
dCcD_Sph field_0x1554
Definition d_a_mg_rod.h:92
cXyz field_0x6d4
Definition d_a_mg_rod.h:53
dCcD_Stts field_0x1518
Definition d_a_mg_rod.h:91
s16 field_0xf7c
Definition d_a_mg_rod.h:65
cXyz field_0x6ec
Definition d_a_mg_rod.h:55
dBgS_AcchCir field_0x1190
Definition d_a_mg_rod.h:77
u8 field_0x1514
Definition d_a_mg_rod.h:89
mg_rod_s field_0x5a4
Definition d_a_mg_rod.h:47
u8 field_0x740[0x744 - 0x740]
Definition d_a_mg_rod.h:58
STATIC_ASSERT(sizeof(dmg_rod_class)==0x1690)
Definition d_a_hozelda.cpp:163
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:70
Definition d_a_obj_sekizoa.cpp:318
Definition d_a_ep.cpp:19
Definition d_a_mg_rod.h:19
u8 field_0x18[0x20 - 0x18]
Definition d_a_mg_rod.h:24
cXyz field_0x0[2]
Definition d_a_mg_rod.h:23
~mg_hook_s()
Definition d_a_mg_rod.cpp:2587
mg_hook_s()
Definition d_a_mg_rod.cpp:2592
Definition d_a_mg_rod.h:15
cXyz field_0x0[100]
Definition d_a_mg_rod.h:16
Definition d_a_mg_rod.h:11
cXyz field_0x0[16]
Definition d_a_mg_rod.h:12
Definition d_a_mg_rod.h:27
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8