Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
d_a_npc_gnd.h
Go to the documentation of this file.
1#ifndef D_A_NPC_GND_H
2#define D_A_NPC_GND_H
3
4#include "d/actor/d_a_npc.h"
5
14class daNpc_Gnd_c : public daNpcT_c {
15public:
16 typedef int (daNpc_Gnd_c::*cutFunc)(int);
17
18 enum Type {
21 };
22
23 /* 809BB60C */ ~daNpc_Gnd_c();
24 /* 809BB730 */ int create();
25 /* 809BB9D4 */ int CreateHeap();
26 /* 809BBE2C */ int Delete();
27 /* 809BBE60 */ int Execute();
28 /* 809BBE80 */ int Draw();
29 /* 809BBF44 */ static int createHeapCallBack(fopAc_ac_c*);
30 /* 809BBF64 */ int ctrlJointCallBack(J3DJoint*, int);
31 /* 809BBFBC */ u8 getType();
32 /* 809BBFDC */ int getFlowNodeNo();
33 /* 809BBFF8 */ int isDelete();
34 /* 809BC028 */ void reset();
35 /* 809BC168 */ void afterJntAnm(int);
36 /* 809BC1F4 */ BOOL ctrlBtk();
37 /* 809BC328 */ void setParam();
38 /* 809BC448 */ void setAfterTalkMotion();
39 /* 809BC4A8 */ void srchActors();
40 /* 809BC4AC */ BOOL evtTalk();
41 /* 809BC5AC */ BOOL evtCutProc();
42 /* 809BC674 */ void action();
43 /* 809BC760 */ void beforeMove();
44 /* 809BC7D8 */ void setAttnPos();
45 /* 809BCA14 */ void setCollision();
46 /* 809BCB48 */ int drawDbgInfo();
47 /* 809BCB50 */ bool afterSetMotionAnm(int, int, f32, int);
48 /* 809BCCE8 */ void selectAction();
49 /* 809BCD30 */ void chkAction(int (daNpc_Gnd_c::*)(void*));
50 /* 809BCD5C */ void setAction(int (daNpc_Gnd_c::*)(void*));
51 /* 809BCE04 */ void wait(void*);
52 /* 809BD050 */ void talk(void*);
53 /* 809BE2D0 */ daNpc_Gnd_c(daNpcT_faceMotionAnmData_c const* param_1, daNpcT_motionAnmData_c const* param_2,
54 daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_3, int param_4,
55 daNpcT_MotionSeqMngr_c::sequenceStepData_c const* param_5, int param_6,
56 daNpcT_evtData_c const* param_7, char** param_8) :
57 daNpcT_c(param_1, param_2, param_3, param_4, param_5, param_6, param_7, param_8)
58 {}
59 /* 809BE40C */ s32 getEyeballRMaterialNo();
60 /* 809BE414 */ s32 getEyeballLMaterialNo();
61 /* 809BE41C */ s32 getHeadJointNo();
62 /* 809BE424 */ s32 getNeckJointNo();
63 /* 809BE42C */ s32 getBackboneJointNo();
64
65 static char* mCutNameList;
66 static cutFunc mCutList[1];
67
68private:
69 /* 0xE40 */ u8 field_0xe40[0xf80 - 0xe40];
70 /* 0xF80 */ u8 mType;
71 /* 0xF81 */ u8 field_0xf81[0xfa0 - 0xf81];
72};
73
74STATIC_ASSERT(sizeof(daNpc_Gnd_c) == 0xfa0);
75
77public:
78 /* 809BE434 */ ~daNpc_Gnd_Param_c();
79
80 struct Data {
81 /* 0x00 */ f32 field_0x00;
82 /* 0x04 */ f32 field_0x04;
83 /* 0x08 */ f32 field_0x08;
84 /* 0x0C */ f32 field_0x0c;
85 /* 0x10 */ f32 field_0x10;
86 /* 0x14 */ f32 field_0x14;
87 /* 0x18 */ f32 field_0x18;
88 /* 0x1C */ f32 field_0x1c;
89 /* 0x20 */ f32 field_0x20;
90 /* 0x24 */ f32 field_0x24;
91 /* 0x28 */ f32 field_0x28;
92 /* 0x2C */ f32 field_0x2c;
93 /* 0x30 */ f32 field_0x30;
94 /* 0x34 */ f32 field_0x34;
95 /* 0x38 */ f32 field_0x38;
96 /* 0x3C */ f32 field_0x3c;
97 /* 0x40 */ f32 field_0x40;
98 /* 0x44 */ f32 field_0x44;
99 /* 0x48 */ s16 field_0x48;
100 /* 0x4A */ s16 field_0x4a;
101 /* 0x4C */ s16 field_0x4c;
102 /* 0x4E */ s16 field_0x4e;
103 /* 0x50 */ f32 field_0x50;
104 /* 0x54 */ f32 field_0x54;
105 /* 0x58 */ f32 field_0x58;
106 /* 0x5C */ f32 field_0x5c;
107 /* 0x60 */ s16 field_0x60;
108 /* 0x62 */ s16 field_0x62;
109 /* 0x64 */ f32 field_0x64;
110 /* 0x68 */ f32 field_0x68;
111 /* 0x6C */ f32 field_0x6c;
112 /* 0x70 */ f32 field_0x70;
113 /* 0x74 */ f32 field_0x74;
114 /* 0x78 */ f32 field_0x78;
115 /* 0x7C */ f32 field_0x7c;
116 /* 0x80 */ f32 field_0x80;
117 /* 0x84 */ f32 field_0x84;
118 /* 0x88 */ f32 field_0x88;
119 };
120
121 static const Data m;
122};
123
124
125#endif /* D_A_NPC_GND_H */
Definition d_a_npc.h:424
Definition d_a_npc_gnd.h:76
static const Data m
Definition d_a_npc_gnd.h:543
Ganondorf.
Definition d_a_npc_gnd.h:14
int ctrlJointCallBack(J3DJoint *, int)
Definition d_a_npc_gnd.cpp:729
static char * mCutNameList
Definition d_a_npc_gnd.h:65
BOOL ctrlBtk()
Definition d_a_npc_gnd.cpp:795
static int createHeapCallBack(fopAc_ac_c *)
Definition d_a_npc_gnd.cpp:723
u8 getType()
Definition d_a_npc_gnd.cpp:741
void setAfterTalkMotion()
Definition d_a_npc_gnd.cpp:807
void setAction(int(daNpc_Gnd_c::*)(void *))
Definition d_a_npc_gnd.cpp:904
BOOL evtCutProc()
Definition d_a_npc_gnd.cpp:823
int(daNpc_Gnd_c::*) cutFunc(int)
Definition d_a_npc_gnd.h:16
s32 getHeadJointNo()
Definition d_a_npc_gnd.cpp:1218
int drawDbgInfo()
Definition d_a_npc_gnd.cpp:881
void chkAction(int(daNpc_Gnd_c::*)(void *))
Definition d_a_npc_gnd.cpp:898
s32 getNeckJointNo()
Definition d_a_npc_gnd.cpp:1223
void setCollision()
Definition d_a_npc_gnd.cpp:876
int getFlowNodeNo()
Definition d_a_npc_gnd.cpp:751
s32 getEyeballRMaterialNo()
Definition d_a_npc_gnd.cpp:1208
int Delete()
Definition d_a_npc_gnd.cpp:696
void setAttnPos()
Definition d_a_npc_gnd.cpp:871
void selectAction()
Definition d_a_npc_gnd.cpp:892
void setParam()
Definition d_a_npc_gnd.cpp:801
void beforeMove()
Definition d_a_npc_gnd.cpp:834
static cutFunc mCutList[1]
Definition d_a_npc_gnd.h:332
s32 getEyeballLMaterialNo()
Definition d_a_npc_gnd.cpp:1213
void talk(void *)
Definition d_a_npc_gnd.cpp:914
s32 getBackboneJointNo()
Definition d_a_npc_gnd.cpp:1229
void reset()
Definition d_a_npc_gnd.cpp:774
void action()
Definition d_a_npc_gnd.cpp:829
Type
Definition d_a_npc_gnd.h:18
@ TYPE_0
Definition d_a_npc_gnd.h:19
@ TYPE_1
Definition d_a_npc_gnd.h:20
int CreateHeap()
Definition d_a_npc_gnd.cpp:630
u8 mType
Definition d_a_npc_gnd.h:70
int isDelete()
Definition d_a_npc_gnd.cpp:760
daNpc_Gnd_c(daNpcT_faceMotionAnmData_c const *param_1, daNpcT_motionAnmData_c const *param_2, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_3, int param_4, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_5, int param_6, daNpcT_evtData_c const *param_7, char **param_8)
Definition d_a_npc_gnd.h:53
~daNpc_Gnd_c()
Definition d_a_npc_gnd.cpp:537
int Execute()
Definition d_a_npc_gnd.cpp:703
int Draw()
Definition d_a_npc_gnd.cpp:713
bool afterSetMotionAnm(int, int, f32, int)
Definition d_a_npc_gnd.cpp:886
int create()
Definition d_a_npc_gnd.cpp:587
void wait(void *)
Definition d_a_npc_gnd.cpp:909
u8 field_0xf81[0xfa0 - 0xf81]
Definition d_a_npc_gnd.h:71
BOOL evtTalk()
Definition d_a_npc_gnd.cpp:817
u8 field_0xe40[0xf80 - 0xe40]
Definition d_a_npc_gnd.h:69
void afterJntAnm(int)
Definition d_a_npc_gnd.cpp:779
void srchActors()
Definition d_a_npc_gnd.cpp:812
STATIC_ASSERT(sizeof(daNpc_Gnd_c)==0xfa0)
Definition d_a_hozelda.cpp:239
Definition d_a_npc.h:325
Definition d_a_npc.h:330
Definition d_a_npc.h:345
Definition d_a_npc_gnd.h:80
s16 field_0x4e
Definition d_a_npc_gnd.h:102
s16 field_0x4c
Definition d_a_npc_gnd.h:101
f32 field_0x08
Definition d_a_npc_gnd.h:83
f32 field_0x84
Definition d_a_npc_gnd.h:117
f32 field_0x70
Definition d_a_npc_gnd.h:112
f32 field_0x64
Definition d_a_npc_gnd.h:109
f32 field_0x50
Definition d_a_npc_gnd.h:103
f32 field_0x54
Definition d_a_npc_gnd.h:104
f32 field_0x28
Definition d_a_npc_gnd.h:91
f32 field_0x6c
Definition d_a_npc_gnd.h:111
f32 field_0x24
Definition d_a_npc_gnd.h:90
f32 field_0x74
Definition d_a_npc_gnd.h:113
f32 field_0x10
Definition d_a_npc_gnd.h:85
f32 field_0x00
Definition d_a_npc_gnd.h:81
s16 field_0x62
Definition d_a_npc_gnd.h:108
f32 field_0x40
Definition d_a_npc_gnd.h:97
s16 field_0x60
Definition d_a_npc_gnd.h:107
f32 field_0x20
Definition d_a_npc_gnd.h:89
f32 field_0x58
Definition d_a_npc_gnd.h:105
f32 field_0x1c
Definition d_a_npc_gnd.h:88
f32 field_0x04
Definition d_a_npc_gnd.h:82
f32 field_0x68
Definition d_a_npc_gnd.h:110
f32 field_0x78
Definition d_a_npc_gnd.h:114
f32 field_0x44
Definition d_a_npc_gnd.h:98
f32 field_0x18
Definition d_a_npc_gnd.h:87
f32 field_0x88
Definition d_a_npc_gnd.h:118
f32 field_0x14
Definition d_a_npc_gnd.h:86
f32 field_0x38
Definition d_a_npc_gnd.h:95
f32 field_0x3c
Definition d_a_npc_gnd.h:96
f32 field_0x30
Definition d_a_npc_gnd.h:93
s16 field_0x48
Definition d_a_npc_gnd.h:99
f32 field_0x80
Definition d_a_npc_gnd.h:116
f32 field_0x2c
Definition d_a_npc_gnd.h:92
s16 field_0x4a
Definition d_a_npc_gnd.h:100
f32 field_0x5c
Definition d_a_npc_gnd.h:106
f32 field_0x34
Definition d_a_npc_gnd.h:94
f32 field_0x7c
Definition d_a_npc_gnd.h:115
f32 field_0x0c
Definition d_a_npc_gnd.h:84
Definition d_a_hozelda.cpp:74
int BOOL
Definition types.h:30
signed short int s16
Definition types.h:6
float f32
Definition types.h:22
signed long s32
Definition types.h:8
unsigned char u8
Definition types.h:5