Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_kolin.h
Go to the documentation of this file.
1#ifndef D_A_NPC_KOLIN_H
2#define D_A_NPC_KOLIN_H
3
4#include "d/actor/d_a_npc.h"
5
14class daNpc_Kolin_c : public daNpcT_c {
15public:
16 /* 80553FEC */ ~daNpc_Kolin_c();
17 /* 80554138 */ void create();
18 /* 80554414 */ void CreateHeap();
19 /* 80554930 */ void Delete();
20 /* 80554964 */ void Execute();
21 /* 80554984 */ void Draw();
22 /* 80554A18 */ void createHeapCallBack(fopAc_ac_c*);
23 /* 80554A38 */ void ctrlJointCallBack(J3DJoint*, int);
24 /* 80554A90 */ void getType();
25 /* 80554B30 */ void isDelete();
26 /* 80554CB0 */ void reset();
27 /* 805552DC */ void srchActors();
28 /* 80555E38 */ void selectAction();
29 /* 80555F28 */ void chkAction(int (daNpc_Kolin_c::*)(void*));
30 /* 80555F54 */ void setAction(int (daNpc_Kolin_c::*)(void*));
31 /* 80555FFC */ void calcFollowSpeedAndAngle(fopAc_ac_c*, int, int);
32 /* 805563BC */ void followPlayer(int);
33 /* 805567AC */ void lookup(u8);
34 /* 805568AC */ void cutNoRide(int);
35 /* 80556A04 */ void cutHail(int);
36 /* 80556DB4 */ void cutGiveMeWoodSwd(int);
37 /* 80557054 */ void cutGetWoodSwd(int);
38 /* 805576C4 */ void cutConversationAboutLoopHole(int);
39 /* 805579DC */ void cutCacaricoConversation(int);
40 /* 80557BD4 */ void cutConversationAboutDeathMt(int);
41 /* 80557C6C */ void cutConversationAboutGoron(int);
42 /* 80557D04 */ void cutClothTry(int);
43 /* 80557E38 */ void cutThankYou(int);
44 /* 80557ED8 */ void wait(void*);
45 /* 80558698 */ void timidWalk(void*);
46 /* 80558AF8 */ void follow(void*);
47 /* 80558C4C */ void clothWait(void*);
48 /* 80558E90 */ void talk(void*);
52 daNpcT_evtData_c const*, char**);
53
54 /* 8055A4B8 */ virtual int checkChangeJoint(int);
55 /* 8055A4C8 */ virtual int checkRemoveJoint(int);
56 /* 8055A4B0 */ virtual s32 getBackboneJointNo();
57 /* 8055A4A8 */ virtual s32 getNeckJointNo();
58 /* 8055A4A0 */ virtual s32 getHeadJointNo();
59 /* 8055A4D8 */ virtual s32 getFootLJointNo();
60 /* 8055A4E0 */ virtual s32 getFootRJointNo();
61 /* 8055A498 */ virtual s32 getEyeballMaterialNo();
62 /* 80554EBC */ virtual void afterJntAnm(int);
63 /* 80554F48 */ virtual void setParam();
64 /* 80555118 */ virtual bool checkChangeEvt();
65 /* 80555448 */ virtual bool evtTalk();
66 /* 805554E8 */ virtual bool evtCutProc();
67 /* 8055523C */ virtual void setAfterTalkMotion();
68 /* 805555B0 */ virtual void action();
69 /* 8055574C */ virtual void beforeMove();
70 /* 80555810 */ virtual void setAttnPos();
71 /* 80555B48 */ virtual void setCollision();
72 /* 80555CE4 */ virtual int drawDbgInfo();
73 /* 80555CEC */ virtual void drawOtherMdl();
74 /* 80555DC4 */ virtual void changeAnm(int*, int*);
75 /* 80555DEC */ virtual void changeBck(int*, int*);
76
77 static void* mCutNameList[11];
78 static u8 mCutList[132];
79
81 if (field_0xf84 == 11) {
83 int var_r29 = 3;
84
85 if (var_r28 < 0) {
86 var_r29 = 2;
87 }
88
89 if (strlen(field_0x570[var_r29].eventName) != 0) {
91 if (len != 0) {
94 }
95
97 fopAcM_orderOtherEventId(this, field_0xe1c, 0xFF, 0xFFFF, 4, 1);
98 return 1;
99 }
100 }
101
102 return 0;
103 }
104
105private:
106 /* 0x0E40 */ u8 field_0xe40[0xF84 - 0xE40];
107 /* 0x0F84 */ u8 field_0xf84;
108 /* 0x0F85 */ u8 field_0xf85[0x1020 - 0xF85];
109};
110
111STATIC_ASSERT(sizeof(daNpc_Kolin_c) == 0x1020);
112
114public:
115 /* 8055A4E8 */ ~daNpc_Kolin_Param_c();
116
117 static u8 const m[160];
118};
119
120
121#endif /* D_A_NPC_KOLIN_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
char * getArchiveName()
Definition f_op_actor.h:142
void setArchiveName(char *name)
Definition f_op_actor.h:137
Definition d_a_npc_kolin.h:113
~daNpc_Kolin_Param_c()
Definition d_a_npc_kolin.cpp:2192
static u8 const m[160]
Definition d_a_npc_kolin.h:1039
Colin.
Definition d_a_npc_kolin.h:14
virtual s32 getBackboneJointNo()
Definition d_a_npc_kolin.cpp:2163
virtual s32 getNeckJointNo()
Definition d_a_npc_kolin.cpp:2158
void srchActors()
Definition d_a_npc_kolin.cpp:1272
virtual void setCollision()
Definition d_a_npc_kolin.cpp:1515
void create()
Definition d_a_npc_kolin.cpp:1110
virtual int drawDbgInfo()
Definition d_a_npc_kolin.cpp:1520
void follow(void *)
Definition d_a_npc_kolin.cpp:1845
BOOL orderNoRideEvt()
Definition d_a_npc_kolin.h:80
void reset()
Definition d_a_npc_kolin.cpp:1241
virtual void setAfterTalkMotion()
Definition d_a_npc_kolin.cpp:1267
void chkAction(int(daNpc_Kolin_c::*)(void *))
Definition d_a_npc_kolin.cpp:1556
void Draw()
Definition d_a_npc_kolin.cpp:1214
void Execute()
Definition d_a_npc_kolin.cpp:1204
virtual void drawOtherMdl()
Definition d_a_npc_kolin.cpp:1535
daNpc_Kolin_c(daNpcT_faceMotionAnmData_c const *, daNpcT_motionAnmData_c const *, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *, int, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *, int, daNpcT_evtData_c const *, char **)
void createHeapCallBack(fopAc_ac_c *)
Definition d_a_npc_kolin.cpp:1220
void cutConversationAboutDeathMt(int)
Definition d_a_npc_kolin.cpp:1782
u8 field_0xf85[0x1020 - 0xF85]
Definition d_a_npc_kolin.h:108
u8 field_0xf84
Definition d_a_npc_kolin.h:107
static void * mCutNameList[11]
Definition d_a_npc_kolin.h:600
virtual bool checkChangeEvt()
Definition d_a_npc_kolin.cpp:1257
void cutGiveMeWoodSwd(int)
Definition d_a_npc_kolin.cpp:1710
virtual void changeBck(int *, int *)
Definition d_a_npc_kolin.cpp:1545
virtual int checkChangeJoint(int)
Definition d_a_npc_kolin.cpp:2169
virtual int checkRemoveJoint(int)
Definition d_a_npc_kolin.cpp:2175
virtual bool evtTalk()
Definition d_a_npc_kolin.cpp:1277
virtual void changeAnm(int *, int *)
Definition d_a_npc_kolin.cpp:1540
virtual void beforeMove()
Definition d_a_npc_kolin.cpp:1292
virtual s32 getHeadJointNo()
Definition d_a_npc_kolin.cpp:2152
void cutCacaricoConversation(int)
Definition d_a_npc_kolin.cpp:1776
virtual void afterJntAnm(int)
Definition d_a_npc_kolin.cpp:1246
void cutNoRide(int)
Definition d_a_npc_kolin.cpp:1626
virtual s32 getEyeballMaterialNo()
Definition d_a_npc_kolin.cpp:2146
void Delete()
Definition d_a_npc_kolin.cpp:1199
virtual void action()
Definition d_a_npc_kolin.cpp:1287
void cutGetWoodSwd(int)
Definition d_a_npc_kolin.cpp:1731
void selectAction()
Definition d_a_npc_kolin.cpp:1550
void wait(void *)
Definition d_a_npc_kolin.cpp:1820
void isDelete()
Definition d_a_npc_kolin.cpp:1236
void getType()
Definition d_a_npc_kolin.cpp:1231
void cutThankYou(int)
Definition d_a_npc_kolin.cpp:1798
void followPlayer(int)
Definition d_a_npc_kolin.cpp:1603
void calcFollowSpeedAndAngle(fopAc_ac_c *, int, int)
Definition d_a_npc_kolin.cpp:1583
void cutConversationAboutGoron(int)
Definition d_a_npc_kolin.cpp:1788
void lookup(u8)
Definition d_a_npc_kolin.cpp:1614
void setAction(int(daNpc_Kolin_c::*)(void *))
Definition d_a_npc_kolin.cpp:1562
void ctrlJointCallBack(J3DJoint *, int)
Definition d_a_npc_kolin.cpp:1226
static u8 mCutList[132]
Definition d_a_npc_kolin.h:715
void talk(void *)
Definition d_a_npc_kolin.cpp:1855
virtual s32 getFootLJointNo()
Definition d_a_npc_kolin.cpp:2181
void cutHail(int)
Definition d_a_npc_kolin.cpp:1661
virtual void setAttnPos()
Definition d_a_npc_kolin.cpp:1468
virtual s32 getFootRJointNo()
Definition d_a_npc_kolin.cpp:2187
u8 field_0xe40[0xF84 - 0xE40]
Definition d_a_npc_kolin.h:106
void cutClothTry(int)
Definition d_a_npc_kolin.cpp:1793
void CreateHeap()
Definition d_a_npc_kolin.cpp:1134
void clothWait(void *)
Definition d_a_npc_kolin.cpp:1850
void timidWalk(void *)
Definition d_a_npc_kolin.cpp:1840
~daNpc_Kolin_c()
Definition d_a_npc_kolin.cpp:1033
void cutConversationAboutLoopHole(int)
Definition d_a_npc_kolin.cpp:1770
virtual bool evtCutProc()
Definition d_a_npc_kolin.cpp:1282
virtual void setParam()
Definition d_a_npc_kolin.cpp:1251
STATIC_ASSERT(sizeof(daNpc_Kolin_c)==0x1020)
void strlen()
dEvent_manager_c & dComIfGp_getEventManager()
Definition d_com_inf_game.h:3288
s32 fopAcM_orderOtherEventId(fopAc_ac_c *actor, s16 eventID, u8 mapToolID, u16 param_3, u16 priority, u16 flag)
Definition f_op_actor_mng.cpp:999
s16 fopAcM_searchPlayerAngleY(const fopAc_ac_c *actor)
Definition f_op_actor_mng.h:678
Definition d_a_hozelda.cpp:239
s16 y
Definition vec.h:19
csXyz angle
Definition f_op_actor.h:171
void setObjectArchive(char *)
Definition d_event_manager.cpp:138
void getEventIdx(char const *, u8, s32)
Definition d_event_manager.cpp:509
Definition d_a_obj_sekizoa.cpp:98
Definition d_a_obj_sekizoa.cpp:195
daNpcT_evtData_c const * field_0x570
Definition d_a_npc.h:337
char ** field_0x574
Definition d_a_npc.h:338
s16 field_0xe1c
Definition d_a_npc.h:412
Definition d_a_obj_sekizoa.cpp:105
Definition d_a_obj_sekizoa.cpp:95
Definition d_a_obj_sekizoa.cpp:107
Definition d_a_ep.cpp:19
actor_place home
Definition f_op_actor.h:213
dEvt_info_c eventInfo
Definition f_op_actor.h:202
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8