Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_lf.h
Go to the documentation of this file.
1#ifndef D_A_NPC_LF_H
2#define D_A_NPC_LF_H
3
4#include "d/actor/d_a_npc.h"
5
6struct lf_s {
7 /* 80A6A8A4 */ ~lf_s();
8 /* 80A6A8E0 */ lf_s();
9
10 /* 0x00 */ J3DModel* mpModel;
11 /* 0x04 */ cXyz field_0x04;
12 /* 0x10 */ csXyz field_0x10;
13 /* 0x16 */ s8 field_0x16;
14 /* 0x17 */ s8 field_0x17;
15 /* 0x18 */ s16 field_0x18;
16 /* 0x1A */ s16 mActionMode;
17 /* 0x1C */ s16 field_0x1c;
18 /* 0x20 */ cXyz field_0x20;
19 /* 0x2C */ u8 field_0x2c[0x34-0x2c];
20 /* 0x34 */ f32 mDistFromPlayer;
21 /* 0x38 */ s16 field_0x38[2];
22 /* 0x3C */ f32 field_0x3c;
23 /* 0x40 */ f32 field_0x40;
24 /* 0x44 */ f32 field_0x44;
25 /* 0x48 */ f32 field_0x48;
26 /* 0x4C */ s16 field_0x4c[2];
27 /* 0x50 */ s16 field_0x50[2];
28 /* 0x54 */ u8 field_0x54[4];
29 /* 0x58 */ f32 field_0x58;
30 /* 0x5C */ f32 field_0x5c;
31 /* 0x60 */ f32 field_0x60;
32 /* 0x64 */ u8 field_0x64[0x68-0x64];
33};
34
36public:
37 /* 80A69B6C */ daNPC_LF_HIO_c();
38 /* 80A6A8E4 */ virtual ~daNPC_LF_HIO_c();
39
40public:
41 /* 0x04 */ s8 field_0x04;
42 /* 0x08 */ f32 field_0x08;
43 /* 0x0C */ f32 field_0x0c;
44 /* 0x10 */ f32 field_0x10;
45 /* 0x14 */ f32 field_0x14;
46 /* 0x18 */ f32 field_0x18;
47};
48
58public:
59 enum Action {
61 };
62
63public:
65 /* 0x05B4 */ u8 mParam1;
66 /* 0x05B5 */ u8 mParam2;
67 /* 0x05B8 */ int mIter;
68 /* 0x05BC */ lf_s mFish[64];
69 /* 0x1FBC */ u8 field_0x1fbc[0x4];
70 /* 0x1FC0 */ u8 field_0x1fc0;
71};
72
73STATIC_ASSERT(sizeof(npc_lf_class) == 0x1fc4);
74
75#endif /* D_A_NPC_LF_H */
Definition d_a_npc_lf.h:35
f32 field_0x18
Definition d_a_npc_lf.h:46
virtual ~daNPC_LF_HIO_c()
Definition d_a_npc_lf.cpp:344
f32 field_0x10
Definition d_a_npc_lf.h:44
s8 field_0x04
Definition d_a_npc_lf.h:41
daNPC_LF_HIO_c()
Definition d_a_npc_lf.cpp:19
f32 field_0x0c
Definition d_a_npc_lf.h:43
f32 field_0x14
Definition d_a_npc_lf.h:45
f32 field_0x08
Definition d_a_npc_lf.h:42
Definition f_op_actor.h:249
Little Fish.
Definition d_a_npc_lf.h:57
u8 field_0x1fbc[0x4]
???
Definition d_a_npc_lf.h:69
u8 mParam1
Actor parameters.
Definition d_a_npc_lf.h:65
request_of_phase_process_class mPhase
Actor phase process class.
Definition d_a_npc_lf.h:64
u8 field_0x1fc0
???
Definition d_a_npc_lf.h:70
u8 mParam2
Actor parameters.
Definition d_a_npc_lf.h:66
int mIter
Iterator used to track mFish index.
Definition d_a_npc_lf.h:67
lf_s mFish[64]
The number of small fish spawned in the group?
Definition d_a_npc_lf.h:68
Action
Definition d_a_npc_lf.h:59
@ ACT_MOVE
Definition d_a_npc_lf.h:60
STATIC_ASSERT(sizeof(npc_lf_class)==0x1fc4)
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_npc_lf.h:6
s8 field_0x16
Definition d_a_npc_lf.h:13
J3DModel * mpModel
Definition d_a_npc_lf.h:10
f32 field_0x5c
Definition d_a_npc_lf.h:30
f32 field_0x40
Definition d_a_npc_lf.h:23
f32 field_0x44
Definition d_a_npc_lf.h:24
f32 field_0x60
Definition d_a_npc_lf.h:31
f32 field_0x58
Definition d_a_npc_lf.h:29
s16 mActionMode
Definition d_a_npc_lf.h:16
s16 field_0x50[2]
Definition d_a_npc_lf.h:27
cXyz field_0x04
Definition d_a_npc_lf.h:11
csXyz field_0x10
Definition d_a_npc_lf.h:12
s16 field_0x4c[2]
Definition d_a_npc_lf.h:26
s16 field_0x1c
Definition d_a_npc_lf.h:17
s16 field_0x18
Definition d_a_npc_lf.h:15
~lf_s()
Definition d_a_npc_lf.cpp:338
u8 field_0x2c[0x34-0x2c]
Definition d_a_npc_lf.h:19
f32 mDistFromPlayer
Definition d_a_npc_lf.h:20
cXyz field_0x20
Definition d_a_npc_lf.h:18
f32 field_0x3c
Definition d_a_npc_lf.h:22
s16 field_0x38[2]
Definition d_a_npc_lf.h:21
f32 field_0x48
Definition d_a_npc_lf.h:25
u8 field_0x54[4]
Definition d_a_npc_lf.h:28
s8 field_0x17
Definition d_a_npc_lf.h:14
lf_s()
Definition d_a_npc_lf.cpp:341
u8 field_0x64[0x68-0x64]
Definition d_a_npc_lf.h:32
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