Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_tk.h
Go to the documentation of this file.
1#ifndef D_A_NPC_TK_H
2#define D_A_NPC_TK_H
3
4#include "d/actor/d_a_npc.h"
5#include "d/d_path.h"
6
7struct cXyz;
8class fopAc_ac_c;
9class J3DJoint;
10class J3DModel;
11
20class daNPC_TK_c : public fopAc_ac_c {
21public:
22 /* 80B01498 */ void setBck(int, u8, f32, f32);
23 /* 80B0153C */ void checkBck(int);
24 /* 80B01598 */ void draw();
25 /* 80B016D4 */ void checkBeforeBg();
26 /* 80B01878 */ void setActionMode(int);
27 /* 80B018F4 */ void setAddCalcSpeedXZ(cXyz&, cXyz const&, f32, f32, f32);
28 /* 80B01C84 */ void chaseTargetPos(cXyz, f32, f32, s16);
29 /* 80B01D84 */ void getMasterPointer();
30 /* 80B01DA0 */ void setMasterShoulder(cXyz*);
31 /* 80B01E48 */ void setAwayAction(int);
32 /* 80B01EF4 */ void setFlySE();
33 /* 80B02254 */ void executeFly();
34 /* 80B026F8 */ void initPerchDemo(int);
35 /* 80B02B5C */ void executePerchDemo(int);
36 /* 80B03658 */ void executePerch();
37 /* 80B03754 */ void executeHandOn();
38 /* 80B039A8 */ void checkWaterSurface(f32);
39 /* 80B03A70 */ void executeAttack();
40 /* 80B048BC */ void executeAway();
41 /* 80B04BF8 */ void setCarryActorMtx();
42 /* 80B04F64 */ void getTakePosY();
43 /* 80B04FA8 */ void getTakeOffPosY();
44 /* 80B04FEC */ void executeBack();
45 /* 80B05BD0 */ void getHanjoHandPos();
46 /* 80B05C7C */ void executeStayHanjo();
47 /* 80B05EC8 */ void executeAttackLink();
48 /* 80B0686C */ void executeBackHanjo();
49 /* 80B07114 */ void checkAttackDemo();
50 /* 80B072CC */ void executeAttackDemo();
51 /* 80B07610 */ void executeBackHanjoDemo();
52 /* 80B08168 */ void executeWolfEvent();
53 /* 80B08208 */ void calcWolfDemoCam();
54 /* 80B082A4 */ void calcWolfDemoCam2();
55 /* 80B0839C */ void executeWolfPerch();
56 /* 80B09A3C */ void executeResistanceDemo();
57 /* 80B0A444 */ void setHawkSideCamera(cXyz);
58 /* 80B0A500 */ void setHawkCamera(fopAc_ac_c*);
59 /* 80B0A568 */ void endHawkCamera();
60 /* 80B0A614 */ void calcDemoCamera();
61 /* 80B0B004 */ void checkActionSet();
62 /* 80B0B284 */ void action();
63 /* 80B0B5CC */ void mtx_set();
64 /* 80B0B6DC */ void cc_set();
65 /* 80B0B7CC */ void execute();
66 /* 80B0B918 */ void _delete();
67 /* 80B0B9AC */ void ctrlJoint(J3DJoint*, J3DModel*);
68 /* 80B0BB7C */ void JointCallBack(J3DJoint*, int);
69 /* 80B0BBC8 */ void CreateHeap();
70 /* 80B0BD24 */ void create();
71
72 void setBump() { mFlags |= 4; }
73 void setEventWolf() { mFlags |= 0x80; }
74 void setEvent() { mFlags |= 0x8; }
75 void setAway() { mFlags |= 2; }
76 void setAttack() { mFlags |= 1; }
77
79 if (i_pathNo != 0xFF) {
81 }
82 }
83
84 BOOL isAttackLink() { return field_0x71a != 0; }
85 void setAttackLink() { mFlags |= 0x10; }
86 void setBackHanjo() { mFlags |= 0x20; }
87 void setHanjoHand() { mFlags |= 0x40; }
88 void setQuickHanjoHand() { mFlags |= 0x200; }
89 BOOL isHanjoHand() { return field_0x6ad != 0; }
90
91private:
92 /* 0x568 */ u8 field_0x568[0x6ad - 0x568];
93 /* 0x6AD */ u8 field_0x6ad;
94 /* 0x568 */ u8 field_0x6ae[0x6BE - 0x6ae];
95 /* 0x6BE */ u16 mFlags;
96 /* 0x6C0 */ u8 field_0x6c0[0x6C8 - 0x6C0];
97 /* 0x6C8 */ dPath* field_0x6c8;
98 /* 0x6CC */ u8 field_0x6cc[0x71a - 0x6CC];
99 /* 0x71A */ u8 field_0x71a;
100 /* 0x6CC */ u8 field_0x71b[0xB44 - 0x71b];
101};
102
103STATIC_ASSERT(sizeof(daNPC_TK_c) == 0xB44);
104
106public:
109};
110
111
112#endif /* D_A_NPC_TK_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_a_npc_tk.h:105
daNPC_TK_HIO_c()
Definition d_a_npc_tk.cpp:493
~daNPC_TK_HIO_c()
Definition d_a_npc_tk.cpp:1729
Hawk.
Definition d_a_npc_tk.h:20
void getMasterPointer()
Definition d_a_npc_tk.cpp:637
void executeBackHanjo()
Definition d_a_npc_tk.cpp:1281
void CreateHeap()
Definition d_a_npc_tk.cpp:1685
void setCarryActorMtx()
Definition d_a_npc_tk.cpp:1141
void setEventWolf()
Definition d_a_npc_tk.h:73
void checkActionSet()
Definition d_a_npc_tk.cpp:1598
void setQuickHanjoHand()
Definition d_a_npc_tk.h:88
void executeAway()
Definition d_a_npc_tk.cpp:1100
u8 field_0x71b[0xB44 - 0x71b]
Definition d_a_npc_tk.h:100
void executeAttackLink()
Definition d_a_npc_tk.cpp:1247
void setHawkSideCamera(cXyz)
Definition d_a_npc_tk.cpp:1555
void setHawkCamera(fopAc_ac_c *)
Definition d_a_npc_tk.cpp:1560
void executeStayHanjo()
Definition d_a_npc_tk.cpp:1212
void ctrlJoint(J3DJoint *, J3DModel *)
Definition d_a_npc_tk.cpp:1668
u8 field_0x568[0x6ad - 0x568]
Definition d_a_npc_tk.h:92
void _delete()
Definition d_a_npc_tk.cpp:1657
void action()
Definition d_a_npc_tk.cpp:1611
void execute()
Definition d_a_npc_tk.cpp:1641
void checkBeforeBg()
Definition d_a_npc_tk.cpp:568
BOOL isAttackLink()
Definition d_a_npc_tk.h:84
void setMasterShoulder(cXyz *)
Definition d_a_npc_tk.cpp:642
void setActionMode(int)
Definition d_a_npc_tk.cpp:573
void checkBck(int)
Definition d_a_npc_tk.cpp:517
void setFlySE()
Definition d_a_npc_tk.cpp:689
dPath * field_0x6c8
Definition d_a_npc_tk.h:97
void mtx_set()
Definition d_a_npc_tk.cpp:1631
void calcWolfDemoCam()
Definition d_a_npc_tk.cpp:1366
void getHanjoHandPos()
Definition d_a_npc_tk.cpp:1207
void executeBack()
Definition d_a_npc_tk.cpp:1194
void setAttack()
Definition d_a_npc_tk.h:76
void executeWolfEvent()
Definition d_a_npc_tk.cpp:1353
void getTakePosY()
Definition d_a_npc_tk.cpp:1161
u8 field_0x6ae[0x6BE - 0x6ae]
Definition d_a_npc_tk.h:94
void executePerch()
Definition d_a_npc_tk.cpp:968
void calcWolfDemoCam2()
Definition d_a_npc_tk.cpp:1379
void checkAttackDemo()
Definition d_a_npc_tk.cpp:1308
void cc_set()
Definition d_a_npc_tk.cpp:1636
void create()
Definition d_a_npc_tk.cpp:1695
void executeHandOn()
Definition d_a_npc_tk.cpp:981
u16 mFlags
Definition d_a_npc_tk.h:95
void setAwayAction(int)
Definition d_a_npc_tk.cpp:669
void executeWolfPerch()
Definition d_a_npc_tk.cpp:1420
void setBackHanjo()
Definition d_a_npc_tk.h:86
void executeAttackDemo()
Definition d_a_npc_tk.cpp:1314
u8 field_0x6ad
Definition d_a_npc_tk.h:93
void draw()
Definition d_a_npc_tk.cpp:537
void checkWaterSurface(f32)
Definition d_a_npc_tk.cpp:987
void setHanjoHand()
Definition d_a_npc_tk.h:87
void setAway()
Definition d_a_npc_tk.h:75
u8 field_0x6c0[0x6C8 - 0x6C0]
Definition d_a_npc_tk.h:96
void JointCallBack(J3DJoint *, int)
Definition d_a_npc_tk.cpp:1673
u8 field_0x6cc[0x71a - 0x6CC]
Definition d_a_npc_tk.h:98
void initPerchDemo(int)
Definition d_a_npc_tk.cpp:901
void setEvent()
Definition d_a_npc_tk.h:74
void calcDemoCamera()
Definition d_a_npc_tk.cpp:1593
void setAddCalcSpeedXZ(cXyz &, cXyz const &, f32, f32, f32)
Definition d_a_npc_tk.cpp:614
BOOL isHanjoHand()
Definition d_a_npc_tk.h:89
void setBck(int, u8, f32, f32)
Definition d_a_npc_tk.cpp:512
void getTakeOffPosY()
Definition d_a_npc_tk.cpp:1181
u8 field_0x71a
Definition d_a_npc_tk.h:99
void executeBackHanjoDemo()
Definition d_a_npc_tk.cpp:1341
void endHawkCamera()
Definition d_a_npc_tk.cpp:1573
void setBump()
Definition d_a_npc_tk.h:72
void executeAttack()
Definition d_a_npc_tk.cpp:1095
void executePerchDemo(int)
Definition d_a_npc_tk.cpp:956
void setAttackLink()
Definition d_a_npc_tk.h:85
void chaseTargetPos(cXyz, f32, f32, s16)
Definition d_a_npc_tk.cpp:632
void executeFly()
Definition d_a_npc_tk.cpp:847
void executeResistanceDemo()
Definition d_a_npc_tk.cpp:1486
void setHawkPath(u8 i_pathNo)
Definition d_a_npc_tk.h:78
STATIC_ASSERT(sizeof(daNPC_TK_c)==0xB44)
dPath * dPath_GetRoomPath(int path_index, int room_no)
Definition d_path.cpp:19
s8 fopAcM_GetRoomNo(const fopAc_ac_c *pActor)
Definition f_op_actor_mng.h:180
Definition d_a_hozelda.cpp:239
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_npc_cd2.cpp:35
Definition d_a_ep.cpp:19
int BOOL
Definition types.h:27
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8