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

Enumerations

enum  NPC_TOBY_CUTS {
  CUT_NONE = 0 , CUT_TOBY_HOUSE_FIRE = 1 , CUT_TALKTO_ONESELF = 2 , CUT_REPAIR_SCANNON = 3 ,
  CUT_SCANNON = 4 , CUT_CONVERSATION_ABOUT_SCANNON = 5 , CUT_CONVERSATION_ABOUT_ZRA = 6
}
 

Functions

static s16 dummy_lit_122993 (int sel)
 
static s16 dummy_lit_122996 (int sel)
 
static s16 dummy_lit_122999 (int sel)
 
static s16 dummy_lit_123002 (int sel)
 
static s16 dummy_lit_123016 (int sel)
 
static s16 dummy_lit_123017 (int sel)
 
static int daNpc_Toby_Create (void *i_this)
 
static int daNpc_Toby_Delete (void *i_this)
 
static int daNpc_Toby_Execute (void *i_this)
 
static int daNpc_Toby_Draw (void *i_this)
 
static int daNpc_Toby_IsDelete (void *i_this)
 

Variables

static int l_bmdData [3][2]
 
static daNpcT_evtData_c l_evtList [7]
 
static char * l_resNameList [9]
 
static s8 l_loadResPtrn0 [6] = {1, 3, 4, 7, 8, -1}
 
static s8 l_loadResPtrn1 [6] = {2, 3, 5, 7, 8, -1}
 
static s8 l_loadResPtrn2 [5] = {1, 3, 6, 7, -1}
 
static s8 l_loadResPtrn3 [8] = {1, 2, 3, 4, 5, 7, 8, -1}
 
static s8l_loadResPtrnList [7]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [16]
 
static daNpcT_motionAnmData_c l_motionAnmData [25]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [68]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [100]
 
NPC_TOBY_HIO_CLASS l_HIO
 
static actor_method_class daNpc_Toby_MethodTable
 
actor_process_profile_definition g_profile_NPC_TOBY
 
 AUDIO_INSTANCES
 

Enumeration Type Documentation

◆ NPC_TOBY_CUTS

Enumerator
CUT_NONE 
CUT_TOBY_HOUSE_FIRE 
CUT_TALKTO_ONESELF 
CUT_REPAIR_SCANNON 
CUT_SCANNON 
CUT_CONVERSATION_ABOUT_SCANNON 
CUT_CONVERSATION_ABOUT_ZRA 

Function Documentation

◆ daNpc_Toby_Create()

static int daNpc_Toby_Create ( void * i_this)
static

◆ daNpc_Toby_Delete()

static int daNpc_Toby_Delete ( void * i_this)
static

◆ daNpc_Toby_Draw()

static int daNpc_Toby_Draw ( void * i_this)
static

◆ daNpc_Toby_Execute()

static int daNpc_Toby_Execute ( void * i_this)
static

◆ daNpc_Toby_IsDelete()

static int daNpc_Toby_IsDelete ( void * i_this)
static

◆ dummy_lit_122993()

static s16 dummy_lit_122993 ( int sel)
static

◆ dummy_lit_122996()

static s16 dummy_lit_122996 ( int sel)
static

◆ dummy_lit_122999()

static s16 dummy_lit_122999 ( int sel)
static

◆ dummy_lit_123002()

static s16 dummy_lit_123002 ( int sel)
static

◆ dummy_lit_123016()

static s16 dummy_lit_123016 ( int sel)
static

◆ dummy_lit_123017()

static s16 dummy_lit_123017 ( int sel)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ daNpc_Toby_MethodTable

actor_method_class daNpc_Toby_MethodTable
static
Initial value:
= {
}
static int daNpc_Toby_IsDelete(void *i_this)
Definition d_a_npc_toby.cpp:2222
static int daNpc_Toby_Draw(void *i_this)
Definition d_a_npc_toby.cpp:2218
static int daNpc_Toby_Create(void *i_this)
Definition d_a_npc_toby.cpp:2206
static int daNpc_Toby_Execute(void *i_this)
Definition d_a_npc_toby.cpp:2214
static int daNpc_Toby_Delete(void *i_this)
Definition d_a_npc_toby.cpp:2210
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_TOBY

actor_process_profile_definition g_profile_NPC_TOBY
extern
Initial value:
= {
7,
sizeof(daNpc_Toby_c),
0,
0,
377,
0x00040107,
}
Fyer.
Definition d_a_npc_toby.h:46
static actor_method_class daNpc_Toby_MethodTable
Definition d_a_npc_toby.cpp:2226
@ PROC_NPC_TOBY
Definition d_procname.h:641
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_CUSTOM_e
Definition f_op_actor.h:70
@ fopAc_NPC_e
Definition f_op_actor.h:42
@ 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:
= {
{3, 1},
{3, 2},
{9, 6},
}

◆ l_evtList

daNpcT_evtData_c l_evtList[7]
static
Initial value:
= {
{"", 0},
{"NO_RESPONSE", 0},
{"TALKTO_ONESELF", 5},
{"REPAIR_SCANNON", 4},
{"SCANNON", 4},
{"CONVERSATION_ABOUT_SCANNON", 4},
{"CONVERSATION_ABOUT_ZRA", 4},
}

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[16]
static
Initial value:
= {
{-1, 0, 0, 13, 2, 3, 1},
{5, 0, 3, 14, 0, 3, 0},
{12, 0, 4, 29, 0, 4, 0},
{14, 0, 4, 31, 0, 4, 0},
{13, 0, 4, 30, 0, 4, 0},
{6, 0, 4, 26, 0, 4, 0},
{7, 2, 4, 27, 2, 4, 0},
{8, 2, 4, 28, 2, 4, 0},
{7, 0, 5, 21, 0, 5, 0},
{5, 0, 7, 19, 0, 7, 0},
{5, 0, 8, 18, 0, 8, 0},
{6, 0, 5, 20, 0, 5, 0},
{9, 2, 5, 13, 2, 3, 1},
{6, 2, 7, 13, 2, 3, 1},
{6, 2, 8, 19, 2, 8, 0},
{8, 2, 5, 22, 2, 5, 0},
}

◆ l_faceMotionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData[68]
static
Initial value:
= {
{1, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {8, -1, 1}, {15, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{9, -1, 1}, {13, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {10, -1, 1}, {12, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{11, -1, 1}, {14, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {2, -1, 1}, {3, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{5, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {6, 0, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{7, 0, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {4, 0, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{13, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {12, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{14, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {15, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{3, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {10, -1, 1}, {14, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
}

◆ l_HIO

NPC_TOBY_HIO_CLASS l_HIO

◆ l_loadResPtrn0

s8 l_loadResPtrn0[6] = {1, 3, 4, 7, 8, -1}
static

◆ l_loadResPtrn1

s8 l_loadResPtrn1[6] = {2, 3, 5, 7, 8, -1}
static

◆ l_loadResPtrn2

s8 l_loadResPtrn2[5] = {1, 3, 6, 7, -1}
static

◆ l_loadResPtrn3

s8 l_loadResPtrn3[8] = {1, 2, 3, 4, 5, 7, 8, -1}
static

◆ l_loadResPtrnList

s8* l_loadResPtrnList[7]
static
Initial value:
= {
}
static s8 l_loadResPtrn3[8]
Definition d_a_npc_toby.cpp:155
static s8 l_loadResPtrn1[6]
Definition d_a_npc_toby.cpp:151
static s8 l_loadResPtrn2[5]
Definition d_a_npc_toby.cpp:153
static s8 l_loadResPtrn0[6]
Definition d_a_npc_toby.cpp:149

◆ l_motionAnmData

daNpcT_motionAnmData_c l_motionAnmData[25]
static
Initial value:
= {
{7, 2, 3, 10, 0, 3, 1, 0},
{15, 2, 4, 10, 0, 3, 1, 0},
{20, 2, 4, 10, 0, 3, 1, 0},
{16, 0, 4, 10, 0, 3, 1, 0},
{17, 0, 4, 10, 0, 3, 1, 0},
{19, 0, 4, 10, 0, 3, 1, 0},
{18, 0, 4, 23, 0, 4, 0, 0},
{9, 0, 4, 10, 0, 3, 1, 0},
{10, 2, 4, 10, 0, 3, 1, 0},
{11, 2, 4, 10, 0, 3, 1, 0},
{10, 0, 5, 15, 0, 5, 0, 0},
{12, 2, 5, 17, 2, 5, 0, 0},
{10, 2, 7, 16, 2, 7, 0, 0},
{9, 2, 7, 15, 2, 7, 0, 0},
{7, 0, 7, 13, 0, 7, 0, 0},
{8, 2, 7, 14, 2, 7, 0, 0},
{11, 0, 5, 16, 0, 5, 0, 0},
{9, 2, 8, 15, 2, 8, 0, 0},
{7, 0, 8, 13, 0, 8, 0, 0},
{8, 2, 8, 14, 2, 8, 0, 0},
{6, 0, 3, 10, 0, 3, 1, 0},
{4, 2, 6, 10, 0, 3, 0, 0},
{5, 2, 6, 10, 0, 3, 0, 0},
{6, 2, 6, 10, 0, 3, 0, 0},
{10, 0, 8, 10, 0, 3, 0, 0},
}

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[100]
static
Initial value:
= {
{0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {1, -1, 1}, {0, -1, 0}, {-1, 0, 0}, {-1, 0, 0},
{10, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {11, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{12, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {13, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{14, -1, 1}, {15, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {16, -1, 1}, {17, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{18, -1, 1}, {19, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {15, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{17, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {19, -9, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{3, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {4, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{5, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {2, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{7, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {8, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{9, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {6, 0, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{20, 4, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {21, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{22, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {23, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{24, 2, 1}, {17, -1, 1}, {18, -1, 1}, {19, 0, 0},
}

◆ l_resNameList

char* l_resNameList[9]
static
Initial value:
= {
"",
"Toby",
"Toby_TW",
"Toby0",
"Toby1",
"Toby2",
"Toby3",
"Toby4",
"Toby5",
}