Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_bou.h
Go to the documentation of this file.
1#ifndef D_A_NPC_BOU_H
2#define D_A_NPC_BOU_H
3
4#include "d/actor/d_a_npc.h"
5
14class daNpc_Bou_c : public daNpcT_c {
15public:
16 /* 8096CF8C */ ~daNpc_Bou_c();
17 /* 8096D0D8 */ void create();
18 /* 8096D38C */ void CreateHeap();
19 /* 8096D7B8 */ void Delete();
20 /* 8096D7EC */ void Execute();
21 /* 8096D80C */ void Draw();
22 /* 8096D8A0 */ void createHeapCallBack(fopAc_ac_c*);
23 /* 8096D8C0 */ void ctrlJointCallBack(J3DJoint*, int);
24 /* 8096D918 */ void srchCow(void*, void*);
25 /* 8096D9B4 */ void getCowP();
26 /* 8096DA78 */ void getType();
27 /* 8096DADC */ void isDelete();
28 /* 8096DBBC */ void reset();
29 /* 8096E18C */ void srchActors();
30 /* 8096ECC0 */ void selectAction();
31 /* 8096ED3C */ void chkAction(int (daNpc_Bou_c::*)(void*));
32 /* 8096ED68 */ void setAction(int (daNpc_Bou_c::*)(void*));
33 /* 8096EE10 */ void cutWildGoat(int);
34 /* 8096F2E4 */ void cutWildGoatSuccess(int);
35 /* 8096F510 */ void cutWildGoatFailure(int);
36 /* 8096F758 */ void cutSpeakTo(int);
37 /* 8096F9A4 */ void cutConversationWithBou(int);
38 /* 8096FB78 */ void cutConfidentialConversation(int);
39 /* 8096FE40 */ void cutFindWolf(int);
40 /* 80970278 */ void cutMeetingAgain(int);
41 /* 809709EC */ void wait(void*);
42 /* 80970DFC */ void talkwithJagar(void*);
43 /* 80970F9C */ void talk(void*);
47 daNpcT_evtData_c const*, char**);
48
49 /* 809727D4 */ virtual int checkChangeJoint(int);
50 /* 809727E4 */ virtual int checkRemoveJoint(int);
51 /* 809727CC */ virtual s32 getBackboneJointNo();
52 /* 809727C4 */ virtual s32 getNeckJointNo();
53 /* 809727BC */ virtual s32 getHeadJointNo();
54 /* 809727B4 */ virtual s32 getEyeballMaterialNo();
55 /* 8096DD44 */ virtual void afterJntAnm(int);
56 /* 8096DDC8 */ virtual void setParam();
57 /* 8096DF9C */ virtual bool checkChangeEvt();
58 /* 8096E27C */ virtual bool evtTalk();
59 /* 8096E31C */ virtual bool evtEndProc();
60 /* 8096E324 */ virtual bool evtCutProc();
61 /* 8096E0EC */ virtual void setAfterTalkMotion();
62 /* 8096E3EC */ virtual void action();
63 /* 8096E7E0 */ virtual void beforeMove();
64 /* 8096E8A4 */ virtual void setAttnPos();
65 /* 8096EB14 */ virtual void setCollision();
66 /* 8096EC6C */ virtual int drawDbgInfo();
67 /* 8096EC74 */ virtual void changeAnm(int*, int*);
68
69 static void* mCutNameList[9];
70 static u8 mCutList[108];
71
73 if (field_0xf80 == 4) {
74 if (current.pos.absXZ(daPy_getPlayerActorClass()->current.pos) < 1100.0f && strlen(field_0x570[5].eventName) != 0) {
76 if (len != 0) {
79 }
80
81 field_0xe1c = dComIfGp_getEventManager().getEventIdx(this, field_0x570[5].eventName, 0xFF);
82 fopAcM_orderOtherEventId(this, field_0xe1c, 0xFF, 0xFFFF, 4, 1);
83 return 1;
84 }
85 }
86
87 return 0;
88 }
89
90private:
91 /* 0xE40 */ u8 field_0xE40[0xE44 - 0xE40];
92 /* 0xE44 */ dCcD_Cyl field_0xe44;
93 /* 0xF80 */ u8 field_0xf80;
96 /* 0xFC4 */ u8 field_0xfc4[0xFFC - 0xFC4];
97};
98
99STATIC_ASSERT(sizeof(daNpc_Bou_c) == 0xffc);
100
102public:
103 /* 809727F4 */ ~daNpc_Bou_Param_c();
104
105 static u8 const m[156];
106};
107
108
109#endif /* D_A_NPC_BOU_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_bou.h:101
static u8 const m[156]
Definition d_a_npc_bou.h:886
~daNpc_Bou_Param_c()
Definition d_a_npc_bou.cpp:1723
Mayor Bo.
Definition d_a_npc_bou.h:14
void setAction(int(daNpc_Bou_c::*)(void *))
Definition d_a_npc_bou.cpp:1258
virtual void changeAnm(int *, int *)
Definition d_a_npc_bou.cpp:1241
void getCowP()
Definition d_a_npc_bou.cpp:1086
virtual void setCollision()
Definition d_a_npc_bou.cpp:1231
virtual int drawDbgInfo()
Definition d_a_npc_bou.cpp:1236
dCcD_Cyl field_0xe44
Definition d_a_npc_bou.h:92
void talk(void *)
Definition d_a_npc_bou.cpp:1383
virtual int checkChangeJoint(int)
Definition d_a_npc_bou.cpp:1712
void Execute()
Definition d_a_npc_bou.cpp:1049
void cutConfidentialConversation(int)
Definition d_a_npc_bou.cpp:1314
void srchCow(void *, void *)
Definition d_a_npc_bou.cpp:1076
virtual s32 getHeadJointNo()
Definition d_a_npc_bou.cpp:1695
void selectAction()
Definition d_a_npc_bou.cpp:1246
void ctrlJointCallBack(J3DJoint *, int)
Definition d_a_npc_bou.cpp:1071
static void * mCutNameList[9]
Definition d_a_npc_bou.h:558
daNpcT_Path_c field_0xf9c
Definition d_a_npc_bou.h:95
virtual void afterJntAnm(int)
Definition d_a_npc_bou.cpp:1106
~daNpc_Bou_c()
Definition d_a_npc_bou.cpp:880
void cutWildGoatSuccess(int)
Definition d_a_npc_bou.cpp:1284
virtual int checkRemoveJoint(int)
Definition d_a_npc_bou.cpp:1718
virtual bool checkChangeEvt()
Definition d_a_npc_bou.cpp:1116
void createHeapCallBack(fopAc_ac_c *)
Definition d_a_npc_bou.cpp:1065
void cutSpeakTo(int)
Definition d_a_npc_bou.cpp:1295
virtual s32 getEyeballMaterialNo()
Definition d_a_npc_bou.cpp:1690
void create()
Definition d_a_npc_bou.cpp:946
u8 field_0xfc4[0xFFC - 0xFC4]
Definition d_a_npc_bou.h:96
void cutMeetingAgain(int)
Definition d_a_npc_bou.cpp:1360
virtual void setAttnPos()
Definition d_a_npc_bou.cpp:1226
void cutWildGoatFailure(int)
Definition d_a_npc_bou.cpp:1290
u8 field_0xE40[0xE44 - 0xE40]
Definition d_a_npc_bou.h:91
void wait(void *)
Definition d_a_npc_bou.cpp:1365
void srchActors()
Definition d_a_npc_bou.cpp:1136
void Delete()
Definition d_a_npc_bou.cpp:1044
virtual s32 getNeckJointNo()
Definition d_a_npc_bou.cpp:1700
virtual bool evtTalk()
Definition d_a_npc_bou.cpp:1141
virtual s32 getBackboneJointNo()
Definition d_a_npc_bou.cpp:1706
void Draw()
Definition d_a_npc_bou.cpp:1059
void cutWildGoat(int)
Definition d_a_npc_bou.cpp:1278
daNpc_Bou_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 **)
u8 field_0xf80
Definition d_a_npc_bou.h:93
virtual bool evtCutProc()
Definition d_a_npc_bou.cpp:1151
virtual void setAfterTalkMotion()
Definition d_a_npc_bou.cpp:1131
daNpcT_ActorMngr_c field_0xf84[3]
Definition d_a_npc_bou.h:94
void reset()
Definition d_a_npc_bou.cpp:1101
void cutConversationWithBou(int)
Definition d_a_npc_bou.cpp:1308
virtual void action()
Definition d_a_npc_bou.cpp:1184
void isDelete()
Definition d_a_npc_bou.cpp:1096
static u8 mCutList[108]
Definition d_a_npc_bou.h:651
void chkAction(int(daNpc_Bou_c::*)(void *))
Definition d_a_npc_bou.cpp:1252
void CreateHeap()
Definition d_a_npc_bou.cpp:979
void talkwithJagar(void *)
Definition d_a_npc_bou.cpp:1370
virtual bool evtEndProc()
Definition d_a_npc_bou.cpp:1146
virtual void beforeMove()
Definition d_a_npc_bou.cpp:1189
void getType()
Definition d_a_npc_bou.cpp:1091
void cutFindWolf(int)
Definition d_a_npc_bou.cpp:1333
virtual void setParam()
Definition d_a_npc_bou.cpp:1111
BOOL speakTo()
Definition d_a_npc_bou.h:72
static void daPy_getPlayerActorClass()
Definition d_a_b_gnd.cpp:2857
STATIC_ASSERT(sizeof(daNpc_Bou_c)==0xffc)
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
Definition d_a_hozelda.cpp:239
cXyz pos
Definition f_op_actor.h:170
f32 absXZ() const
Definition c_xyz.h:144
Definition d_a_npc_fguard.cpp:86
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:286
Definition d_a_obj_sekizoa.cpp:98
Definition d_a_obj_sekizoa.cpp:263
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
dEvt_info_c eventInfo
Definition f_op_actor.h:202
actor_place current
Definition f_op_actor.h:215
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8