Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_npc_kn.cpp File Reference

Functions

static void * s_sub6 (void *i_actor, void *i_other)
 
static void * s_subEnd6 (void *i_actor, void *i_other)
 
static void * s_sub7 (void *i_actor, void *i_other)
 
static void * s_subEnd7 (void *i_actor, void *i_other)
 
static int daNpc_Kn_Create (void *i_this)
 
static int daNpc_Kn_Delete (void *i_this)
 
static int daNpc_Kn_Execute (void *i_this)
 
static int daNpc_Kn_Draw (void *i_this)
 
static int daNpc_Kn_IsDelete (void *i_this)
 

Variables

static int l_bmdData [3][2]
 
static daNpcT_evtData_c l_evtList [26]
 
static char * l_resNameList [9]
 
static s8 l_loadResPtrnTeach01 [3]
 
static s8 l_loadResPtrnTeach02 [4]
 
static s8 l_loadResPtrnTeach03 [4]
 
static s8 l_loadResPtrnTeach04 [4]
 
static s8 l_loadResPtrnTeach05 [4]
 
static s8 l_loadResPtrnTeach06 [4]
 
static s8 l_loadResPtrnTeach07 [3]
 
static s8 l_loadResPtrn0 [2]
 
static s8l_loadResPtrnList [8]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [2]
 
static int l_motionAnmData [245]
 
static int l_podBckData [5][2]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [8]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [132]
 
static NPC_KN_HIO_CLASS l_HIO
 
static actor_method_class daNpc_Kn_MethodTable
 
actor_process_profile_definition g_profile_NPC_KN
 
 AUDIO_INSTANCES
 

Function Documentation

◆ daNpc_Kn_Create()

static int daNpc_Kn_Create ( void * i_this)
static

◆ daNpc_Kn_Delete()

static int daNpc_Kn_Delete ( void * i_this)
static

◆ daNpc_Kn_Draw()

static int daNpc_Kn_Draw ( void * i_this)
static

◆ daNpc_Kn_Execute()

static int daNpc_Kn_Execute ( void * i_this)
static

◆ daNpc_Kn_IsDelete()

static int daNpc_Kn_IsDelete ( void * i_this)
static

◆ s_sub6()

static void * s_sub6 ( void * i_actor,
void * i_other )
static

◆ s_sub7()

static void * s_sub7 ( void * i_actor,
void * i_other )
static

◆ s_subEnd6()

static void * s_subEnd6 ( void * i_actor,
void * i_other )
static

◆ s_subEnd7()

static void * s_subEnd7 ( void * i_actor,
void * i_other )
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ daNpc_Kn_MethodTable

actor_method_class daNpc_Kn_MethodTable
static
Initial value:
= {
}
static int daNpc_Kn_Delete(void *i_this)
Definition d_a_npc_kn.cpp:5235
static int daNpc_Kn_Draw(void *i_this)
Definition d_a_npc_kn.cpp:5243
static int daNpc_Kn_Create(void *i_this)
Definition d_a_npc_kn.cpp:5231
static int daNpc_Kn_Execute(void *i_this)
Definition d_a_npc_kn.cpp:5239
static int daNpc_Kn_IsDelete(void *i_this)
Definition d_a_npc_kn.cpp:5247
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_KN

actor_process_profile_definition g_profile_NPC_KN
extern
Initial value:
= {
7,
sizeof(daNpc_Kn_c),
0,
0,
347,
0x00044107,
}
Hero's Shade.
Definition d_a_npc_kn.h:54
static actor_method_class daNpc_Kn_MethodTable
Definition d_a_npc_kn.cpp:5255
@ PROC_NPC_KN
Definition d_procname.h:611
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_CUSTOM_e
Definition f_op_actor.h:70
@ fopAc_ENEMY_e
Definition f_op_actor.h:40
@ fpcLy_CURRENT_e
Definition f_pc_layer_tag.h:9
leafdraw_method_class g_fpcLf_Method
Definition f_pc_leaf.cpp:63
@ fpcPi_CURRENT_e
Definition f_pc_priority.h:8
leafdraw_method_class base
Definition f_op_actor.h:9
process_method_class base
Definition f_pc_leaf.h:12

◆ l_bmdData

int l_bmdData[3][2]
static
Initial value:
= {
{47, 1},
{48, 1},
{49, 1},
}

◆ l_evtList

daNpcT_evtData_c l_evtList[26]
static
Initial value:
= {
{"", 0},
{"NONE_EQUIP_CHANGE_TALK", 1},
{"NONE_EQUIP_CHANGE_TALK_WAIT", 1},
{"NO_EQ_CHNGE_TLK_STD", 1},
{"LARGE_DAMAGE_TALK", 1},
{"FIRST_ENCOUNT", 2},
{"ATTACK_FAILED", 2},
{"FIRST_SKILL_GET", 2},
{"SECOND_ENCOUNT", 1},
{"SECOND_SKILL_EXPLAIN", 3},
{"REFLECT_EXPLAIN", 3},
{"SECOND_SKILL_GET", 3},
{"THIRD_SKILL_EXPLAIN", 4},
{"THIRD_SKILL_FIRST", 1},
{"THIRD_SKILL_GET", 4},
{"FOURTH_SKILL_EXPLAIN", 5},
{"FOURTH_SKILL_GET", 5},
{"FIFTH_SKILL_EXPLAIN", 6},
{"FIFTH_SKILL_FIRST", 1},
{"FIFTH_SKILL_GET", 6},
{"SIXTH_SKILL_EXPLAIN", 7},
{"SIXTH_SKILL_GET", 7},
{"SIXTH_SKILL_GET_STAND", 7},
{"SEVENTH_SKILL_EXPLAIN", 8},
{"SEVENTH_SKILL_GET", 8},
{"SEVENTH_SKILL_GET_STAND", 8},
}

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[2]
static
Initial value:
= {
{-1, 0, 0, -1, 0, 0, 0},
{21, 0, 1, -1, 0, 0, 0},
}

◆ l_faceMotionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData[8]
static
Initial value:
= {
{1, -1, 0},
{-1, 0, 0},
{-1, 0, 0},
{-1, 0, 0},
{0, -1, 0},
{-1, 0, 0},
{-1, 0, 0},
{-1, 0, 0},
}

◆ l_HIO

NPC_KN_HIO_CLASS l_HIO
static

◆ l_loadResPtrn0

s8 l_loadResPtrn0[2]
static
Initial value:
= {
1,
-1,
}

◆ l_loadResPtrnList

s8* l_loadResPtrnList[8]
static
Initial value:
= {
}
static s8 l_loadResPtrnTeach06[4]
Definition d_a_npc_kn.cpp:246
static s8 l_loadResPtrnTeach03[4]
Definition d_a_npc_kn.cpp:225
static s8 l_loadResPtrnTeach02[4]
Definition d_a_npc_kn.cpp:218
static s8 l_loadResPtrnTeach05[4]
Definition d_a_npc_kn.cpp:239
static s8 l_loadResPtrn0[2]
Definition d_a_npc_kn.cpp:259
static s8 l_loadResPtrnTeach04[4]
Definition d_a_npc_kn.cpp:232
static s8 l_loadResPtrnTeach01[3]
Definition d_a_npc_kn.cpp:212
static s8 l_loadResPtrnTeach07[3]
Definition d_a_npc_kn.cpp:253

◆ l_loadResPtrnTeach01

s8 l_loadResPtrnTeach01[3]
static
Initial value:
= {
1,
2,
-1,
}

◆ l_loadResPtrnTeach02

s8 l_loadResPtrnTeach02[4]
static
Initial value:
= {
1,
2,
3,
-1,
}

◆ l_loadResPtrnTeach03

s8 l_loadResPtrnTeach03[4]
static
Initial value:
= {
1,
3,
4,
-1,
}

◆ l_loadResPtrnTeach04

s8 l_loadResPtrnTeach04[4]
static
Initial value:
= {
1,
4,
5,
-1,
}

◆ l_loadResPtrnTeach05

s8 l_loadResPtrnTeach05[4]
static
Initial value:
= {
1,
5,
6,
-1,
}

◆ l_loadResPtrnTeach06

s8 l_loadResPtrnTeach06[4]
static
Initial value:
= {
1,
6,
7,
-1,
}

◆ l_loadResPtrnTeach07

s8 l_loadResPtrnTeach07[3]
static
Initial value:
= {
1,
8,
-1,
}

◆ l_motionAnmData

int l_motionAnmData[245]
static
Initial value:
= {
43, 2, 1, -1, 0, 0, 0, 38, 2, 1, -1, 0, 0, 0, 39, 2, 1, -1, 0, 0, 0, 41, 0, 1, -1, 0, 0, 0,
16, 0, 1, -1, 0, 0, 0, 11, 0, 1, -1, 0, 0, 0, 7, 0, 1, -1, 0, 0, 0, 8, 0, 1, -1, 0, 0, 0,
9, 2, 1, -1, 0, 0, 0, 14, 0, 1, -1, 0, 0, 0, 13, 2, 1, -1, 0, 0, 0, 12, 0, 1, -1, 0, 0, 0,
30, 0, 1, -1, 0, 0, 0, 17, 2, 1, -1, 0, 0, 0, 26, 0, 1, -1, 0, 0, 0, 28, 2, 1, -1, 0, 0, 0,
35, 0, 1, -1, 0, 0, 0, 36, 2, 1, -1, 0, 0, 0, 10, 0, 1, -1, 0, 0, 0, 19, 0, 1, -1, 0, 0, 0,
40, 0, 1, -1, 0, 0, 0, 37, 0, 1, -1, 0, 0, 0, 5, 0, 1, -1, 0, 0, 0, 18, 2, 1, -1, 0, 0, 0,
27, 0, 1, -1, 0, 0, 0, 29, 2, 1, -1, 0, 0, 0, 20, 0, 1, -1, 0, 0, 0, 15, 0, 1, -1, 0, 0, 0,
24, 0, 1, -1, 0, 0, 0, 25, 2, 1, -1, 0, 0, 0, 44, 2, 1, -1, 0, 0, 0, 42, 0, 1, -1, 0, 0, 0,
22, 0, 1, -1, 0, 0, 0, 23, 2, 1, -1, 0, 0, 0, 6, 0, 1, -1, 0, 0, 0,
}

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[132]
static

◆ l_podBckData

int l_podBckData[5][2]
static
Initial value:
= {
{-1, 1},
{34, 1},
{33, 1},
{31, 1},
{32, 1},
}

◆ l_resNameList

char* l_resNameList[9]
static
Initial value:
= {
"", "KN_a", "KN_tch01D", "KN_tch02D", "KN_tch03D",
"KN_tch04D", "KN_tch05D", "KN_tch06D", "KN_tch07D",
}