Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_fguard.h
Go to the documentation of this file.
1#ifndef D_A_NPC_FGUARD_H
2#define D_A_NPC_FGUARD_H
3
6
15class daNpcFgd_c : public daNpcCd2_c {
16public:
17 /* 809BA53C */ void initPosAngle(Vec&, s16);
18 /* 809BA584 */ void create();
19 /* 809BA730 */ void create_init();
20 /* 809BAA80 */ ~daNpcFgd_c();
21
22 void setAnime(int param_1) {
23 setAnm((J3DAnmTransformKey*)getAnmP(param_1, field_0xacc), 1.0f, 12.0f, 2, cM_rndF(5.0f), -1);
24 }
25
26 void offDrawFlag() {
27 field_0xad8 = 0;
28 }
29
30 void onDrawFlag() {
31 field_0xad8 = 1;
32 }
33
34 /* 0xAC8 */ u32 field_0xac8;
35 /* 0xACC */ u32 field_0xacc;
36 /* 0xAD0 */ u32 field_0xad0;
37 /* 0xAD4 */ u32 field_0xad4;
38 /* 0xAD8 */ u8 field_0xad8;
39};
40
41#endif /* D_A_NPC_FGUARD_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
float cM_rndF(float max)
Definition c_math.cpp:203
Definition d_a_npc_fguard.cpp:44
Definition d_a_hozelda.cpp:18
Definition d_a_npc_fguard.cpp:46
void setAnm(J3DAnmTransformKey *, f32, f32, int, int, int)
Definition d_a_npc_cd2.cpp:1804
void getAnmP(int, int)
Definition d_a_npc_cd2.cpp:1513
???
Definition d_a_npc_fguard.cpp:35
void create()
u32 field_0xad0
Definition d_a_npc_fguard.h:36
u32 field_0xacc
Definition d_a_npc_fguard.h:35
u32 field_0xad4
Definition d_a_npc_fguard.h:37
void create_init()
u32 field_0xac8
Definition d_a_npc_fguard.h:34
u8 field_0xad8
Definition d_a_npc_fguard.h:38
void initPosAngle(Vec &, s16)
void onDrawFlag()
Definition d_a_npc_fguard.h:30
void setAnime(int param_1)
Definition d_a_npc_fguard.h:22
void offDrawFlag()
Definition d_a_npc_fguard.h:26
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8