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

Enumerations

enum  Aru_RES_File_ID {
  BCK_ARU_F_NORMAL = 0x6 , BCK_ARU_FH_NORMAL , BCK_ARU_STEP_R , BCK_ARU_WAIT_A ,
  BMDR_ARU = 0xC , BTK_ARU = 0xF , BTP_ARU = 0x12 , BTP_ARU_FH_NORMAL
}
 
enum  Aru1_RES_File_ID {
  BCK_ARU_F_BITTERSMILE = 0x6 , BCK_ARU_F_GRUMPY , BCK_ARU_F_SERIOUS , BCK_ARU_F_SMILE ,
  BCK_ARU_F_WORRY , BCK_ARU_FH_BITTERSMILE , BCK_ARU_FH_GRUMPY , BCK_ARU_FH_SERIOUS ,
  BCK_ARU_FH_SMILE , BCK_ARU_FH_WORRY , BCK_ARU_HI , BCK_ARU_LOOKBACK ,
  BCK_ARU_LOOKOVER , BCK_ARU_RUN , BCK_ARU_TALK_A , BCK_ARU_TALK_B ,
  BCK_ARU_TALK_C , BCK_ARU_TALK_D , BCK_ARU_TALK_E , BCK_ARU_WAIT_C ,
  BCK_ARU_WAIT_D , BTK_ARU_LOOKBACK = 0x1D , BTK_ARU_LOOKOVER , BTK_ARU_TALK_C ,
  BTK_ARU_TALK_D , BTP_ARU_F_BITTERSMILE = 0x23 , BTP_ARU_F_GRUMPY , BTP_ARU_F_SERIOUS ,
  BTP_ARU_F_SMILE , BTP_ARU_F_WORRY , BTP_ARU_FH_BITTERSMILE , BTP_ARU_FH_GRUMPY ,
  BTP_ARU_FH_SERIOUS , BTP_ARU_FH_SMILE , BTP_ARU_FH_WORRY
}
 
enum  Face_Motion {
  FACE_NORMAL , FACE_GRUMPY , FACE_WORRY , FACE_BITTERSMILE ,
  FACE_SMILE , FACE_SERIOUS , FACE_H_NORMAL , FACE_H_GRUMPY ,
  FACE_H_WORRY , FACE_H_BITTERSMILE , FACE_H_SMILE , FACE_H_SERIOUS ,
  FACE_NONE
}
 
enum  Motion {
  MOT_WAIT_A , MOT_LOOKBACK , MOT_LOOKOVER , MOT_WAIT_C ,
  MOT_TALK_B , MOT_TALK_A , MOT_TALK_C , MOT_HI ,
  MOT_TALK_D , MOT_TALK_E , MOT_RUN , MOT_STEP_R
}
 
enum  Event {
  EVT_NONE , EVT_DEFAULT_GETITEM , EVT_NO_RESPONSE , EVT_RIDEON_HORSE ,
  EVT_GOTO_BULLRUNNING_STAGE , EVT_GOTO_BULLRUNNING_STAGE_VER2 , EVT_END_BULLRUNNING , EVT_END_BULLRUNNING2 ,
  EVT_END_BULLRUNNING3 , EVT_GOTO_SKIPFENCE_STAGE , EVT_SPEAKTO , EVT_NO_ENTRANCE
}
 
enum  RES_Name { NONE , ARU , ARU1 }
 
enum  Type {
  TYPE_0 , TYPE_1 , TYPE_2 , TYPE_3 ,
  TYPE_4
}
 

Functions

static int daNpc_Aru_Create (void *a_this)
 
static int daNpc_Aru_Delete (void *a_this)
 
static int daNpc_Aru_Execute (void *a_this)
 
static int daNpc_Aru_Draw (void *a_this)
 
static int daNpc_Aru_IsDelete (void *a_this)
 

Variables

static int l_bmdData [1][2]
 
static daNpcT_evtData_c l_evtList [12]
 
static char * l_resNameList [3]
 
static s8 l_loadResPtrn0 [2]
 
static s8 l_loadResPtrn9 [3]
 
static s8l_loadResPtrnList [6]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [13]
 
static daNpcT_motionAnmData_c l_motionAnmData [13]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [52]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [48]
 
static daNpc_Aru_Param_c l_HIO
 
 AUDIO_INSTANCES
 
static actor_method_class daNpc_Aru_MethodTable
 
actor_process_profile_definition g_profile_NPC_ARU
 

Enumeration Type Documentation

◆ Aru1_RES_File_ID

Enumerator
BCK_ARU_F_BITTERSMILE 
BCK_ARU_F_GRUMPY 
BCK_ARU_F_SERIOUS 
BCK_ARU_F_SMILE 
BCK_ARU_F_WORRY 
BCK_ARU_FH_BITTERSMILE 
BCK_ARU_FH_GRUMPY 
BCK_ARU_FH_SERIOUS 
BCK_ARU_FH_SMILE 
BCK_ARU_FH_WORRY 
BCK_ARU_HI 
BCK_ARU_LOOKBACK 
BCK_ARU_LOOKOVER 
BCK_ARU_RUN 
BCK_ARU_TALK_A 
BCK_ARU_TALK_B 
BCK_ARU_TALK_C 
BCK_ARU_TALK_D 
BCK_ARU_TALK_E 
BCK_ARU_WAIT_C 
BCK_ARU_WAIT_D 
BTK_ARU_LOOKBACK 
BTK_ARU_LOOKOVER 
BTK_ARU_TALK_C 
BTK_ARU_TALK_D 
BTP_ARU_F_BITTERSMILE 
BTP_ARU_F_GRUMPY 
BTP_ARU_F_SERIOUS 
BTP_ARU_F_SMILE 
BTP_ARU_F_WORRY 
BTP_ARU_FH_BITTERSMILE 
BTP_ARU_FH_GRUMPY 
BTP_ARU_FH_SERIOUS 
BTP_ARU_FH_SMILE 
BTP_ARU_FH_WORRY 

◆ Aru_RES_File_ID

Enumerator
BCK_ARU_F_NORMAL 
BCK_ARU_FH_NORMAL 
BCK_ARU_STEP_R 
BCK_ARU_WAIT_A 
BMDR_ARU 
BTK_ARU 
BTP_ARU 
BTP_ARU_FH_NORMAL 

◆ Event

enum Event
Enumerator
EVT_NONE 
EVT_DEFAULT_GETITEM 
EVT_NO_RESPONSE 
EVT_RIDEON_HORSE 
EVT_GOTO_BULLRUNNING_STAGE 
EVT_GOTO_BULLRUNNING_STAGE_VER2 
EVT_END_BULLRUNNING 
EVT_END_BULLRUNNING2 
EVT_END_BULLRUNNING3 
EVT_GOTO_SKIPFENCE_STAGE 
EVT_SPEAKTO 
EVT_NO_ENTRANCE 

◆ Face_Motion

Enumerator
FACE_NORMAL 
FACE_GRUMPY 
FACE_WORRY 
FACE_BITTERSMILE 
FACE_SMILE 
FACE_SERIOUS 
FACE_H_NORMAL 
FACE_H_GRUMPY 
FACE_H_WORRY 
FACE_H_BITTERSMILE 
FACE_H_SMILE 
FACE_H_SERIOUS 
FACE_NONE 

◆ Motion

enum Motion
Enumerator
MOT_WAIT_A 
MOT_LOOKBACK 
MOT_LOOKOVER 
MOT_WAIT_C 
MOT_TALK_B 
MOT_TALK_A 
MOT_TALK_C 
MOT_HI 
MOT_TALK_D 
MOT_TALK_E 
MOT_RUN 
MOT_STEP_R 

◆ RES_Name

enum RES_Name
Enumerator
NONE 
ARU 
ARU1 

◆ Type

enum Type
Enumerator
TYPE_0 
TYPE_1 
TYPE_2 
TYPE_3 
TYPE_4 

Function Documentation

◆ daNpc_Aru_Create()

static int daNpc_Aru_Create ( void * a_this)
static

◆ daNpc_Aru_Delete()

static int daNpc_Aru_Delete ( void * a_this)
static

◆ daNpc_Aru_Draw()

static int daNpc_Aru_Draw ( void * a_this)
static

◆ daNpc_Aru_Execute()

static int daNpc_Aru_Execute ( void * a_this)
static

◆ daNpc_Aru_IsDelete()

static int daNpc_Aru_IsDelete ( void * a_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ daNpc_Aru_MethodTable

actor_method_class daNpc_Aru_MethodTable
static
Initial value:
= {
}
static int daNpc_Aru_Draw(void *a_this)
Definition d_a_npc_aru.cpp:2053
static int daNpc_Aru_Delete(void *a_this)
Definition d_a_npc_aru.cpp:2045
static int daNpc_Aru_Execute(void *a_this)
Definition d_a_npc_aru.cpp:2049
static int daNpc_Aru_IsDelete(void *a_this)
Definition d_a_npc_aru.cpp:2057
static int daNpc_Aru_Create(void *a_this)
Definition d_a_npc_aru.cpp:2041
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_ARU

actor_process_profile_definition g_profile_NPC_ARU
extern
Initial value:
= {
7,
sizeof(daNpc_Aru_c),
0,
0,
321,
0x00040107,
}
Fado.
Definition d_a_npc_aru.h:37
static actor_method_class daNpc_Aru_MethodTable
Definition d_a_npc_aru.cpp:2063
@ PROC_NPC_ARU
Definition d_procname.h:588
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[1][2]
static
Initial value:
= {
}
@ BMDR_ARU
Definition d_a_npc_aru.cpp:26
@ ARU
Definition d_a_npc_aru.cpp:127

◆ l_evtList

daNpcT_evtData_c l_evtList[12]
static
Initial value:
= {
{"", 0},
{"DEFAULT_GETITEM", 0},
{"NO_RESPONSE", 0},
{"RIDEON_HORSE", 2},
{"GOTO_BULLRUNNING_STAGE", 2},
{"GOTO_BULLRUNNING_STAGE_VER2", 2},
{"END_BULLRUNNING", 2},
{"END_BULLRUNNING2", 2},
{"END_BULLRUNNING3", 2},
{"GOTO_SKIPFENCE_STAGE", 2},
{"SPEAKTO", 2},
{"NO_ENTRANCE", 2},
}

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[13]
static
Initial value:
= {
}
@ EMode_LOOP
Definition J3DAnimation.h:925
@ EMode_NONE
Definition J3DAnimation.h:923
@ BTP_ARU_FH_NORMAL
Definition d_a_npc_aru.cpp:33
@ BCK_ARU_FH_NORMAL
Definition d_a_npc_aru.cpp:21
@ BTP_ARU
Definition d_a_npc_aru.cpp:32
@ BCK_ARU_F_NORMAL
Definition d_a_npc_aru.cpp:20
@ ARU1
Definition d_a_npc_aru.cpp:128
@ BCK_ARU_F_BITTERSMILE
Definition d_a_npc_aru.cpp:38
@ BCK_ARU_F_SERIOUS
Definition d_a_npc_aru.cpp:40
@ BTP_ARU_FH_SERIOUS
Definition d_a_npc_aru.cpp:74
@ BTP_ARU_FH_SMILE
Definition d_a_npc_aru.cpp:75
@ BTP_ARU_FH_BITTERSMILE
Definition d_a_npc_aru.cpp:72
@ BTP_ARU_F_GRUMPY
Definition d_a_npc_aru.cpp:68
@ BCK_ARU_F_GRUMPY
Definition d_a_npc_aru.cpp:39
@ BCK_ARU_F_WORRY
Definition d_a_npc_aru.cpp:42
@ BCK_ARU_FH_SERIOUS
Definition d_a_npc_aru.cpp:45
@ BTP_ARU_FH_WORRY
Definition d_a_npc_aru.cpp:76
@ BCK_ARU_FH_GRUMPY
Definition d_a_npc_aru.cpp:44
@ BTP_ARU_F_WORRY
Definition d_a_npc_aru.cpp:71
@ BTP_ARU_F_SERIOUS
Definition d_a_npc_aru.cpp:69
@ BCK_ARU_FH_WORRY
Definition d_a_npc_aru.cpp:47
@ BCK_ARU_F_SMILE
Definition d_a_npc_aru.cpp:41
@ BTP_ARU_FH_GRUMPY
Definition d_a_npc_aru.cpp:73
@ BTP_ARU_F_BITTERSMILE
Definition d_a_npc_aru.cpp:67
@ BTP_ARU_F_SMILE
Definition d_a_npc_aru.cpp:70
@ BCK_ARU_FH_BITTERSMILE
Definition d_a_npc_aru.cpp:43
@ BCK_ARU_FH_SMILE
Definition d_a_npc_aru.cpp:46

◆ l_faceMotionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData[52]
static
Initial value:
= {
{1, -1, 1}, {12, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{2, -1, 1}, {7, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{3, -1, 1}, {8, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{4, -1, 1}, {9, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{5, -1, 1}, {11, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{6, -1, 1}, {10, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{12, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{7, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{8, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{9, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{11, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{10, -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

daNpc_Aru_Param_c l_HIO
static

◆ l_loadResPtrn0

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

◆ l_loadResPtrn9

s8 l_loadResPtrn9[3]
static
Initial value:
= {
ARU, ARU1, -1,
}

◆ l_loadResPtrnList

s8* l_loadResPtrnList[6]
static
Initial value:
= {
}
static s8 l_loadResPtrn9[3]
Definition d_a_npc_aru.cpp:168

◆ l_motionAnmData

daNpcT_motionAnmData_c l_motionAnmData[13]
static
Initial value:
= {
}
@ BCK_ARU_STEP_R
Definition d_a_npc_aru.cpp:22
@ BCK_ARU_WAIT_A
Definition d_a_npc_aru.cpp:23
@ BTK_ARU
Definition d_a_npc_aru.cpp:29
@ BTK_ARU_TALK_D
Definition d_a_npc_aru.cpp:64
@ BCK_ARU_LOOKBACK
Definition d_a_npc_aru.cpp:49
@ BTK_ARU_LOOKOVER
Definition d_a_npc_aru.cpp:62
@ BCK_ARU_WAIT_C
Definition d_a_npc_aru.cpp:57
@ BCK_ARU_WAIT_D
Definition d_a_npc_aru.cpp:58
@ BCK_ARU_TALK_B
Definition d_a_npc_aru.cpp:53
@ BCK_ARU_TALK_A
Definition d_a_npc_aru.cpp:52
@ BCK_ARU_LOOKOVER
Definition d_a_npc_aru.cpp:50
@ BCK_ARU_TALK_E
Definition d_a_npc_aru.cpp:56
@ BCK_ARU_HI
Definition d_a_npc_aru.cpp:48
@ BCK_ARU_TALK_C
Definition d_a_npc_aru.cpp:54
@ BCK_ARU_TALK_D
Definition d_a_npc_aru.cpp:55
@ BTK_ARU_LOOKBACK
Definition d_a_npc_aru.cpp:61
@ BTK_ARU_TALK_C
Definition d_a_npc_aru.cpp:63
@ BCK_ARU_RUN
Definition d_a_npc_aru.cpp:51

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[48]
static
Initial value:
= {
{0, -1, 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},
{1, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{6, -1, 1}, {1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{5, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{8, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{7, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{9, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{10, -1, 1}, {2, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{12, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{11, 4, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
}

◆ l_resNameList

char* l_resNameList[3]
static
Initial value:
= {
"",
"Aru",
"Aru1",
}