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

Enumerations

enum  Motion {
  MOT_UNK_0 = 0 , MOT_UNK_1 = 1 , MOT_UNK_2 = 2 , MOT_UNK_3 = 3 ,
  MOT_UNK_4 = 4 , MOT_UNK_5 = 5 , MOT_UNK_8 = 8 , MOT_UNK_9 = 9 ,
  MOT_UNK_10 = 10 , MOT_UNK_11 = 11 , MOT_UNK_14 = 14 , MOT_UNK_15 = 15 ,
  MOT_UNK_16 = 16 , MOT_UNK_18 = 18 , MOT_UNK_19 = 19 , MOT_UNK_21 = 21 ,
  MOT_UNK_37 = 37 , MOT_UNK_38 = 38 , MOT_UNK_39 = 39 , MOT_UNK_40 = 40 ,
  MOT_UNK_43 = 43 , MOT_UNK_45 = 45 , MOT_UNK_47 = 47
}
 

Functions

static int daNpc_Moi_Create (void *i_this)
 
static int daNpc_Moi_Delete (void *i_this)
 
static int daNpc_Moi_Execute (void *i_this)
 
static int daNpc_Moi_Draw (void *i_this)
 
static int daNpc_Moi_IsDelete (void *i_this)
 

Variables

static int l_bmdData [8][2]
 
static daNpcT_evtData_c l_evtList [4]
 
static char * l_resNameList [6]
 
static s8 l_loadResPtrn0 [3]
 
static s8 l_loadResPtrn1 [3]
 
static s8 l_loadResPtrn3 [4]
 
static s8 l_loadResPtrn4 [3]
 
static s8 l_loadResPtrn9 [5]
 
static s8l_loadResPtrnList [7]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [20]
 
static daNpcT_motionAnmData_c l_motionAnmData [35]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [88]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [196]
 
NPC_MOI_HIO_CLASS l_HIO
 
static actor_method_class daNpc_Moi_MethodTable
 
actor_process_profile_definition g_profile_NPC_MOI
 

Enumeration Type Documentation

◆ Motion

enum Motion
Enumerator
MOT_UNK_0 
MOT_UNK_1 
MOT_UNK_2 
MOT_UNK_3 
MOT_UNK_4 
MOT_UNK_5 
MOT_UNK_8 
MOT_UNK_9 
MOT_UNK_10 
MOT_UNK_11 
MOT_UNK_14 
MOT_UNK_15 
MOT_UNK_16 
MOT_UNK_18 
MOT_UNK_19 
MOT_UNK_21 
MOT_UNK_37 
MOT_UNK_38 
MOT_UNK_39 
MOT_UNK_40 
MOT_UNK_43 
MOT_UNK_45 
MOT_UNK_47 

Function Documentation

◆ daNpc_Moi_Create()

static int daNpc_Moi_Create ( void * i_this)
static

◆ daNpc_Moi_Delete()

static int daNpc_Moi_Delete ( void * i_this)
static

◆ daNpc_Moi_Draw()

static int daNpc_Moi_Draw ( void * i_this)
static

◆ daNpc_Moi_Execute()

static int daNpc_Moi_Execute ( void * i_this)
static

◆ daNpc_Moi_IsDelete()

static int daNpc_Moi_IsDelete ( void * i_this)
static

Variable Documentation

◆ daNpc_Moi_MethodTable

actor_method_class daNpc_Moi_MethodTable
static
Initial value:
= {
}
static int daNpc_Moi_IsDelete(void *i_this)
Definition d_a_npc_moi.cpp:1969
static int daNpc_Moi_Draw(void *i_this)
Definition d_a_npc_moi.cpp:1965
static int daNpc_Moi_Delete(void *i_this)
Definition d_a_npc_moi.cpp:1957
static int daNpc_Moi_Create(void *i_this)
Definition d_a_npc_moi.cpp:1953
static int daNpc_Moi_Execute(void *i_this)
Definition d_a_npc_moi.cpp:1961
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_MOI

actor_process_profile_definition g_profile_NPC_MOI
extern
Initial value:
= {
7,
sizeof(daNpc_Moi_c),
0,
0,
355,
0x00040107,
}
Rusl.
Definition d_a_npc_moi.h:56
static actor_method_class daNpc_Moi_MethodTable
Definition d_a_npc_moi.cpp:1973
@ PROC_NPC_MOI
Definition d_procname.h:619
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[8][2]
static
Initial value:
= {
{11, 1}, {29, 3}, {30, 3}, {31, 3}, {13, 1}, {33, 3}, {12, 1}, {32, 3},
}

◆ l_evtList

daNpcT_evtData_c l_evtList[4]
static
Initial value:
= {
{"", 0},
{"DEFAULT_GETITEM", 0},
{"NO_RESPONSE", 0},
{"DELIVERED_SW", 2},
}

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[20]
static
Initial value:
= {
{-1, 0, 0, 19, 2, 1, TRUE}, {6, 0, 1, 19, 2, 1, TRUE}, {9, 0, 2, 41, 0, 2, FALSE},
{10, 0, 2, 42, 0, 2, FALSE}, {8, 0, 2, 40, 0, 2, FALSE}, {7, 0, 2, 39, 0, 2, FALSE},
{11, 0, 2, 43, 0, 2, FALSE}, {7, 0, 3, 40, 0, 3, FALSE}, {8, 0, 3, 41, 0, 3, FALSE},
{12, 2, 2, 44, 2, 2, FALSE}, {16, 2, 2, 48, 2, 2, FALSE}, {-1, 0, 0, -1, 0, 0, FALSE},
{14, 2, 2, 46, 2, 2, FALSE}, {15, 2, 2, 47, 2, 2, FALSE}, {13, 2, 2, 45, 2, 2, FALSE},
{10, 2, 3, 43, 2, 3, FALSE}, {11, 2, 3, 44, 2, 3, FALSE}, {9, 2, 3, 42, 2, 3, FALSE},
{6, 2, 3, 39, 2, 3, FALSE}, {18, 0, 2, 49, 0, 2, FALSE},
}

◆ l_faceMotionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData[88]
static
Initial value:
= {
{1, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {2, -1, 1}, {12, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {3, -1, 1}, {13, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {4, -1, 1}, {14, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {5, -1, 1}, {9, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {6, -1, 1},
{10, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {7, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{18, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {8, -1, 1}, {16, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {17, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {16, -1, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {15, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{9, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {10, -1, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {14, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {11, -1, 1}, {-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}, {19, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
}

◆ l_HIO

NPC_MOI_HIO_CLASS l_HIO

◆ l_loadResPtrn0

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

◆ l_loadResPtrn1

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

◆ l_loadResPtrn3

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

◆ l_loadResPtrn4

s8 l_loadResPtrn4[3]
static
Initial value:
= {
1,
5,
-1,
}

◆ l_loadResPtrn9

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

◆ l_loadResPtrnList

s8* l_loadResPtrnList[7]
static
Initial value:
= {
}
static s8 l_loadResPtrn9[5]
Definition d_a_npc_moi.cpp:128
static s8 l_loadResPtrn3[4]
Definition d_a_npc_moi.cpp:115
static s8 l_loadResPtrn0[3]
Definition d_a_npc_moi.cpp:103
static s8 l_loadResPtrn1[3]
Definition d_a_npc_moi.cpp:109
static s8 l_loadResPtrn4[3]
Definition d_a_npc_moi.cpp:122

◆ l_motionAnmData

daNpcT_motionAnmData_c l_motionAnmData[35]
static
Initial value:
= {
{8, 2, 1, 16, 0, 1, 1, 0}, {29, 2, 2, 16, 0, 1, 1, 0}, {30, 2, 2, 16, 0, 1, 1, 0},
{6, 0, 2, 16, 0, 1, 1, 0}, {17, 2, 2, 35, 2, 2, 0, 0}, {31, 2, 2, 16, 0, 1, 1, 0},
{23, 0, 2, 16, 0, 1, 1, 0}, {28, 0, 2, 16, 0, 1, 1, 0}, {24, 0, 2, 16, 0, 1, 1, 0},
{25, 0, 2, 16, 0, 1, 1, 0}, {26, 0, 2, 16, 0, 1, 1, 0}, {27, 0, 2, 16, 0, 1, 1, 0},
{32, 2, 2, 16, 0, 1, 1, 0}, {7, 0, 1, 16, 0, 1, 1, 0}, {20, 2, 3, 16, 0, 1, 1, 0},
{17, 0, 3, 16, 0, 1, 1, 0}, {18, 0, 3, 16, 0, 1, 1, 0}, {19, 0, 3, 16, 0, 1, 1, 0},
{21, 2, 3, 16, 0, 1, 1, 0}, {-1, 0, 0, -1, 0, 0, 0, 0}, {12, 0, 3, 16, 0, 1, 1, 0},
{13, 0, 3, 16, 0, 1, 1, 0}, {26, 2, 3, 16, 0, 1, 1, 0}, {25, 0, 3, 16, 0, 1, 1, 0},
{22, 0, 3, 16, 0, 1, 1, 0}, {23, 0, 3, 16, 0, 1, 1, 0}, {24, 0, 3, 16, 0, 1, 1, 0},
{14, 0, 3, 16, 0, 1, 1, 0}, {15, 2, 3, 16, 0, 1, 1, 0}, {16, 2, 3, 16, 0, 1, 1, 0},
{19, 0, 2, 16, 0, 1, 1, 0}, {21, 0, 2, 16, 0, 1, 1, 0}, {20, 2, 2, 16, 0, 1, 1, 0},
{3, 2, 4, 16, 0, 1, 1, 0}, {21, 2, 3, 16, 0, 1, 1, 0},
}

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[196]
static
Initial value:
= {
{0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {8, -1, 1}, {2, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {1, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {9, -1, 1}, {1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {4, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {10, -1, 1},
{1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {11, -1, 1}, {5, 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}, {6, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {22, -1, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {25, -1, 1}, {22, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {28, -1, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {27, 0, 1}, {29, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{14, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {15, -1, 1}, {14, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {23, -1, 1}, {22, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {16, -1, 1}, {14, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {17, -1, 1}, {14, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {33, -1, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {31, -1, 1}, {32, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{32, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {29, -1, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {20, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {21, -1, 1}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {26, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {18, -1, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{25, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {24, -1, 1}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {13, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {12, -1, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {3, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {30, -1, 1},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {18, 4, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
}

◆ l_resNameList

char* l_resNameList[6]
static
Initial value:
= {
"", "Moi", "Moi1", "Moi2", "Moi3", "Moi_p1",
}