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

Enumerations

enum  Besu_RES_File_ID { BMDR_BESU = 0x3 }
 
enum  Besu_TW_RES_File_ID {
  BCK_BESU_DEMO_FEAR = 0x5 , BCK_BESU_DEMO_WAIT , BCK_BESU_F_DEMO_FEAR , BCK_BESU_F_DEMO_WAIT ,
  BMDR_BESU_TW = 0xB , BTP_BESU_F_DEMO_FEAR = 0xE , BTP_BESU_F_DEMO_WAIT
}
 
enum  Besu0_RES_File_ID {
  BCK_BESU_BODY_TALK = 0x5 , BCK_BESU_BODY_WAIT , BCK_BESU_F_TALK_C , BCK_BESU_F_YOKERU ,
  BCK_BESU_FH_BIKKURI , BCK_BESU_MAD , BCK_BESU_MAD_WAIT , BCK_BESU_NORMAL_STEP ,
  BCK_BESU_NORMAL_TALK , BCK_BESU_NORMAL_TALK_B , BCK_BESU_NORMAL_WAIT , BCK_BESU_STEP ,
  BCK_BESU_WAIT_A , BCK_BESU_WAIT_C , BCK_BESU_YOKERU , BTK_BESU = 0x16 ,
  BTP_BESU = 0x19 , BTP_BESU_F_YOKERU , BTP_BESU_FH_BIKKURI
}
 
enum  Besu1_RES_File_ID {
  BCK_BESU_F_MADTALK = 0x5 , BCK_BESU_F_TALK_A , BCK_BESU_F_TALK_B , BCK_BESU_F_WAIT_B ,
  BCK_BESU_FH_MADTALK , BCK_BESU_FH_TALK_A , BCK_BESU_FH_TALK_B , BCK_BESU_RUN ,
  BCK_BESU_TALK_A , BCK_BESU_TALK_B , BCK_BESU_WAIT_B , BTP_BESU_F_MADTALK = 0x12 ,
  BTP_BESU_F_TALK_A , BTP_BESU_F_TALK_B , BTP_BESU_F_WAIT_B , BTP_BESU_FH_MADTALK ,
  BTP_BESU_FH_TALK_A , BTP_BESU_FH_TALK_B , BESU1_EVT_EVENT_LIST = 0x1B
}
 
enum  Besu2_RES_File_ID {
  BCK_BESU_AMAZED_A = 0x6 , BCK_BESU_AMAZED_B , BCK_BESU_AMAZED_C , BCK_BESU_CUP ,
  BCK_BESU_CUP_A , BCK_BESU_CUP_B , BCK_BESU_F_AMAZED_A , BCK_BESU_F_AMAZED_B ,
  BCK_BESU_F_AMAZED_C , BCK_BESU_F_CUP_A , BCK_BESU_F_CUP_B , BCK_BESU_F_GLARE_A ,
  BCK_BESU_F_GLARE_WAIT , BCK_BESU_F_MOP_A , BCK_BESU_F_MOP_B , BCK_BESU_F_MOP_C ,
  BCK_BESU_F_NURSE_A , BCK_BESU_F_TALK_N_A , BCK_BESU_F_TALK_N_B , BCK_BESU_F_TALK_N_C ,
  BCK_BESU_GLARE_A , BCK_BESU_GLARE_WAIT , BCK_BESU_MOP_A , BCK_BESU_MOP_B ,
  BCK_BESU_MOP_C , BCK_BESU_NURSE_A , BCK_BESU_TALK_N_A , BCK_BESU_TALK_N_B ,
  BCK_BESU_TALK_N_C , BMDR_BESU_CLOTH = 0x25 , BMDR_BESU_CUP , BMDR_BESUB ,
  BTP_BESU_F_AMAZED_A = 0x2A , BTP_BESU_F_AMAZED_B , BTP_BESU_F_AMAZED_C , BTP_BESU_F_CUP_A ,
  BTP_BESU_F_CUP_B , BTP_BESU_F_GLARE_A , BTP_BESU_F_GLARE_WAIT , BTP_BESU_F_MOP_A ,
  BTP_BESU_F_MOP_B , BTP_BESU_F_MOP_C , BTP_BESU_F_NURSE_A , BTP_BESU_F_TALK_N_A ,
  BTP_BESU_F_TALK_N_B , BTP_BESU_F_TALK_N_C , BESU2_EVT_EVENT_LIST = 0x3A
}
 
enum  Besu3_RES_file_ID {
  BCK_BESU3_F_WORRY = 0x7 , BCK_BESU3_FH_WORRY , BCK_BESU_F_SURPRISE , BCK_BESU_FH_SURPRISE ,
  BCK_BESU_SURPRISE , BMDR_BESU3 = 0xE , BTK_BESU_SURPRISE = 0x11 , BTP_BESU3 = 0x14 ,
  BTP_BESU3_F_SURPRISE , BTP_BESU3_F_WORRY , BTP_BESU3_FH_SURPRISE , BTP_BESU3_FH_WORRY ,
  BESU3_EVT_EVENT_LIST = 0x1B
}
 
enum  Besu_p1_RES_File_ID {
  BESU_P1_BCK_BESU_F_MADTALK = 0x5 , BESU_P1_BCK_BESU_F_TALK_A , BESU_P1_BCK_BESU_F_TALK_C , BESU_P1_BCK_BESU_F_YOKERU ,
  BESU_P1_BCK_BESU_FH_MADTALK , BESU_P1_BCK_BESU_NORMAL_TALK_B , BESU_P1_BCK_BESU_STEP , BESU_P1_BCK_BESU_WAIT_A ,
  BESU_P1_BCK_BESU_YOKERU , BESU_P1_BTK_BESU = 0x10 , BESU_P1_BTP_BESU = 0x13 , BESU_P1_BTP_BESU_F_MADTALK ,
  BESU_P1_BTP_BESU_F_YOKERU , BESU_P1_BTP_BESU_FH_MADTALK
}
 
enum  RES_Name {
  BESU = 0x1 , BESU_TW , BESU0 , BESU1 ,
  BESU2 , BESU3
}
 
enum  FaceMotion {
  FACE_TALK_C , FACE_TALK_A , FACE_TALK_B , FACE_TALK_N_B ,
  FACE_MOP_A_C , FACE_MOP_A_B , FACE_MOP_C , FACE_NURSE_A ,
  FACE_MADTALK , FACE_CUP_A , FACE_SURPISE , FACE_WORRY ,
  FACE_YOKERU , FACE_H_TALK_A , FACE_H_TALK_B , FACE_H_MADTALK ,
  FACE_TALK_N_A , FACE_TALK_N_C , FACE_GLARE_A , FACE_H_SURPRISE ,
  FACE_AMAZED_A , FACE_AMAZED_C , FACE_CUP_B , FACE_DEMO_WAIT ,
  FACE_DEMO_FEAR , FACE_GLARE_WAIT , FACE_H_WORRY , FACE_H_BIKKURI ,
  FACE_NONE
}
 
enum  Motion {
  MOT_WAIT_A , MOT_WAIT_B , MOT_TALK_A , MOT_TALK_A_2 ,
  MOT_TALK_N_B , MOT_CUP_A , MOT_SURPRISE , MOT_WAIT_C ,
  MOT_NORMAL_WAIT , MOT_NORMAL_TALK , MOT_MAD , MOT_NORMAL_TALK_B ,
  MOT_BODY_TALK , MOT_NURSE_A , MOT_MOP_A_C , MOT_MOP_A_B ,
  MOT_MOP_C , MOT_STEP , MOT_YOKERU , MOT_TALK_N_A ,
  MOT_TALK_N_C , MOT_GLARE_A , MOT_AMAZED_A , MOT_AMAZED_C ,
  MOT_CUP_B , MOT_DEMO_WAIT , MOT_DEMO_FEAR , MOT_GLARE_WAIT ,
  MOT_RUN , MOT_NORMAL_STEP
}
 
enum  Event {
  EVENT_NONE , EVENT_NO_RESPONSE , EVENT_CONVERSATION_ABOUT_SARU01 , EVENT_CONVERSATION_ABOUT_SARU02 ,
  EVENT_CONVERSATION_ABOUT_PACHINKO1 , EVENT_CONVERSATION_ABOUT_PACHINKO2 , EVENT_CONVERSATION_ABOUT_PACHINKO3 , EVENT_CACARICO_CONVERSATION ,
  EVENT_DEMO13_STB , EVENT_SURPRISE , EVENT_CONVERSATION_ABOUT_DEATHMT , EVENT_NURSE ,
  EVENT_CONVERSATION_ABOUT_ZORA
}
 

Functions

static int daNpc_Besu_Create (void *i_this)
 
static int daNpc_Besu_Delete (void *i_this)
 
static int daNpc_Besu_Execute (void *i_this)
 
static int daNpc_Besu_Draw (void *i_this)
 
static int daNpc_Besu_IsDelete (void *)
 

Variables

static int l_bmdData [6][2]
 
static daNpcT_evtData_c l_evtList [13]
 
static char * l_resNameList [12]
 
static s8 l_loadResPtrn0 [4]
 
static s8 l_loadResPtrn1 [3]
 
static s8 l_loadResPtrn2 [3]
 
static s8 l_loadResPtrn3 [3]
 
static s8 l_loadResPtrn4 [4] = {3, 4, 6, -1}
 
static s8 l_loadResPtrn5 [3]
 
static s8 l_loadResPtrn9 [7]
 
static s8l_loadResPtrnList [19]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [30]
 
static daNpcT_motionAnmData_c l_motionAnmData [33]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [116]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [120]
 
static daNpc_Besu_Param_c l_HIO
 
static actor_method_class daNpc_Besu_MethodTable
 
actor_process_profile_definition g_profile_NPC_BESU
 

Enumeration Type Documentation

◆ Besu0_RES_File_ID

Enumerator
BCK_BESU_BODY_TALK 
BCK_BESU_BODY_WAIT 
BCK_BESU_F_TALK_C 
BCK_BESU_F_YOKERU 
BCK_BESU_FH_BIKKURI 
BCK_BESU_MAD 
BCK_BESU_MAD_WAIT 
BCK_BESU_NORMAL_STEP 
BCK_BESU_NORMAL_TALK 
BCK_BESU_NORMAL_TALK_B 
BCK_BESU_NORMAL_WAIT 
BCK_BESU_STEP 
BCK_BESU_WAIT_A 
BCK_BESU_WAIT_C 
BCK_BESU_YOKERU 
BTK_BESU 
BTP_BESU 
BTP_BESU_F_YOKERU 
BTP_BESU_FH_BIKKURI 

◆ Besu1_RES_File_ID

Enumerator
BCK_BESU_F_MADTALK 
BCK_BESU_F_TALK_A 
BCK_BESU_F_TALK_B 
BCK_BESU_F_WAIT_B 
BCK_BESU_FH_MADTALK 
BCK_BESU_FH_TALK_A 
BCK_BESU_FH_TALK_B 
BCK_BESU_RUN 
BCK_BESU_TALK_A 
BCK_BESU_TALK_B 
BCK_BESU_WAIT_B 
BTP_BESU_F_MADTALK 
BTP_BESU_F_TALK_A 
BTP_BESU_F_TALK_B 
BTP_BESU_F_WAIT_B 
BTP_BESU_FH_MADTALK 
BTP_BESU_FH_TALK_A 
BTP_BESU_FH_TALK_B 
BESU1_EVT_EVENT_LIST 

◆ Besu2_RES_File_ID

Enumerator
BCK_BESU_AMAZED_A 
BCK_BESU_AMAZED_B 
BCK_BESU_AMAZED_C 
BCK_BESU_CUP 
BCK_BESU_CUP_A 
BCK_BESU_CUP_B 
BCK_BESU_F_AMAZED_A 
BCK_BESU_F_AMAZED_B 
BCK_BESU_F_AMAZED_C 
BCK_BESU_F_CUP_A 
BCK_BESU_F_CUP_B 
BCK_BESU_F_GLARE_A 
BCK_BESU_F_GLARE_WAIT 
BCK_BESU_F_MOP_A 
BCK_BESU_F_MOP_B 
BCK_BESU_F_MOP_C 
BCK_BESU_F_NURSE_A 
BCK_BESU_F_TALK_N_A 
BCK_BESU_F_TALK_N_B 
BCK_BESU_F_TALK_N_C 
BCK_BESU_GLARE_A 
BCK_BESU_GLARE_WAIT 
BCK_BESU_MOP_A 
BCK_BESU_MOP_B 
BCK_BESU_MOP_C 
BCK_BESU_NURSE_A 
BCK_BESU_TALK_N_A 
BCK_BESU_TALK_N_B 
BCK_BESU_TALK_N_C 
BMDR_BESU_CLOTH 
BMDR_BESU_CUP 
BMDR_BESUB 
BTP_BESU_F_AMAZED_A 
BTP_BESU_F_AMAZED_B 
BTP_BESU_F_AMAZED_C 
BTP_BESU_F_CUP_A 
BTP_BESU_F_CUP_B 
BTP_BESU_F_GLARE_A 
BTP_BESU_F_GLARE_WAIT 
BTP_BESU_F_MOP_A 
BTP_BESU_F_MOP_B 
BTP_BESU_F_MOP_C 
BTP_BESU_F_NURSE_A 
BTP_BESU_F_TALK_N_A 
BTP_BESU_F_TALK_N_B 
BTP_BESU_F_TALK_N_C 
BESU2_EVT_EVENT_LIST 

◆ Besu3_RES_file_ID

Enumerator
BCK_BESU3_F_WORRY 
BCK_BESU3_FH_WORRY 
BCK_BESU_F_SURPRISE 
BCK_BESU_FH_SURPRISE 
BCK_BESU_SURPRISE 
BMDR_BESU3 
BTK_BESU_SURPRISE 
BTP_BESU3 
BTP_BESU3_F_SURPRISE 
BTP_BESU3_F_WORRY 
BTP_BESU3_FH_SURPRISE 
BTP_BESU3_FH_WORRY 
BESU3_EVT_EVENT_LIST 

◆ Besu_p1_RES_File_ID

Enumerator
BESU_P1_BCK_BESU_F_MADTALK 
BESU_P1_BCK_BESU_F_TALK_A 
BESU_P1_BCK_BESU_F_TALK_C 
BESU_P1_BCK_BESU_F_YOKERU 
BESU_P1_BCK_BESU_FH_MADTALK 
BESU_P1_BCK_BESU_NORMAL_TALK_B 
BESU_P1_BCK_BESU_STEP 
BESU_P1_BCK_BESU_WAIT_A 
BESU_P1_BCK_BESU_YOKERU 
BESU_P1_BTK_BESU 
BESU_P1_BTP_BESU 
BESU_P1_BTP_BESU_F_MADTALK 
BESU_P1_BTP_BESU_F_YOKERU 
BESU_P1_BTP_BESU_FH_MADTALK 

◆ Besu_RES_File_ID

Enumerator
BMDR_BESU 

◆ Besu_TW_RES_File_ID

Enumerator
BCK_BESU_DEMO_FEAR 
BCK_BESU_DEMO_WAIT 
BCK_BESU_F_DEMO_FEAR 
BCK_BESU_F_DEMO_WAIT 
BMDR_BESU_TW 
BTP_BESU_F_DEMO_FEAR 
BTP_BESU_F_DEMO_WAIT 

◆ Event

enum Event
Enumerator
EVENT_NONE 
EVENT_NO_RESPONSE 
EVENT_CONVERSATION_ABOUT_SARU01 
EVENT_CONVERSATION_ABOUT_SARU02 
EVENT_CONVERSATION_ABOUT_PACHINKO1 
EVENT_CONVERSATION_ABOUT_PACHINKO2 
EVENT_CONVERSATION_ABOUT_PACHINKO3 
EVENT_CACARICO_CONVERSATION 
EVENT_DEMO13_STB 
EVENT_SURPRISE 
EVENT_CONVERSATION_ABOUT_DEATHMT 
EVENT_NURSE 
EVENT_CONVERSATION_ABOUT_ZORA 

◆ FaceMotion

enum FaceMotion
Enumerator
FACE_TALK_C 
FACE_TALK_A 
FACE_TALK_B 
FACE_TALK_N_B 
FACE_MOP_A_C 
FACE_MOP_A_B 
FACE_MOP_C 
FACE_NURSE_A 
FACE_MADTALK 
FACE_CUP_A 
FACE_SURPISE 
FACE_WORRY 
FACE_YOKERU 
FACE_H_TALK_A 
FACE_H_TALK_B 
FACE_H_MADTALK 
FACE_TALK_N_A 
FACE_TALK_N_C 
FACE_GLARE_A 
FACE_H_SURPRISE 
FACE_AMAZED_A 
FACE_AMAZED_C 
FACE_CUP_B 
FACE_DEMO_WAIT 
FACE_DEMO_FEAR 
FACE_GLARE_WAIT 
FACE_H_WORRY 
FACE_H_BIKKURI 
FACE_NONE 

◆ Motion

enum Motion
Enumerator
MOT_WAIT_A 
MOT_WAIT_B 
MOT_TALK_A 
MOT_TALK_A_2 
MOT_TALK_N_B 
MOT_CUP_A 
MOT_SURPRISE 
MOT_WAIT_C 
MOT_NORMAL_WAIT 
MOT_NORMAL_TALK 
MOT_MAD 
MOT_NORMAL_TALK_B 
MOT_BODY_TALK 
MOT_NURSE_A 
MOT_MOP_A_C 
MOT_MOP_A_B 
MOT_MOP_C 
MOT_STEP 
MOT_YOKERU 
MOT_TALK_N_A 
MOT_TALK_N_C 
MOT_GLARE_A 
MOT_AMAZED_A 
MOT_AMAZED_C 
MOT_CUP_B 
MOT_DEMO_WAIT 
MOT_DEMO_FEAR 
MOT_GLARE_WAIT 
MOT_RUN 
MOT_NORMAL_STEP 

◆ RES_Name

enum RES_Name
Enumerator
BESU 
BESU_TW 
BESU0 
BESU1 
BESU2 
BESU3 

Function Documentation

◆ daNpc_Besu_Create()

static int daNpc_Besu_Create ( void * i_this)
static

◆ daNpc_Besu_Delete()

static int daNpc_Besu_Delete ( void * i_this)
static

◆ daNpc_Besu_Draw()

static int daNpc_Besu_Draw ( void * i_this)
static

◆ daNpc_Besu_Execute()

static int daNpc_Besu_Execute ( void * i_this)
static

◆ daNpc_Besu_IsDelete()

static int daNpc_Besu_IsDelete ( void * )
static

Variable Documentation

◆ daNpc_Besu_MethodTable

actor_method_class daNpc_Besu_MethodTable
static
Initial value:
= {
}
static int daNpc_Besu_Draw(void *i_this)
Definition d_a_npc_besu.cpp:2990
static int daNpc_Besu_Execute(void *i_this)
Definition d_a_npc_besu.cpp:2986
static int daNpc_Besu_IsDelete(void *)
Definition d_a_npc_besu.cpp:2994
static int daNpc_Besu_Create(void *i_this)
Definition d_a_npc_besu.cpp:2978
static int daNpc_Besu_Delete(void *i_this)
Definition d_a_npc_besu.cpp:2982
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_BESU

actor_process_profile_definition g_profile_NPC_BESU
extern
Initial value:
= {
7,
sizeof(daNpc_Besu_c),
0,
0,
323,
0x00040108,
}
Beth.
Definition d_a_npc_besu.h:17
static actor_method_class daNpc_Besu_MethodTable
Definition d_a_npc_besu.cpp:3001
@ PROC_NPC_BESU
Definition d_procname.h:590
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[6][2]
static
Initial value:
= {
{3, 1},
{11, 2},
{37, 5},
{39, 5},
{14, 6},
{38, 5},
}

◆ l_evtList

daNpcT_evtData_c l_evtList[13]
static
Initial value:
= {
{"", 0},
{"NO_RESPONSE", 0},
{"CONVERSATION_ABOUT_SARU01", 11},
{"CONVERSATION_ABOUT_SARU02", 11},
{"CONVERSATION_ABOUT_PACHINKO1", 4},
{"CONVERSATION_ABOUT_PACHINKO2", 4},
{"CONVERSATION_ABOUT_PACHINKO3", 4},
{"CACARICO_CONVERSATION", 9},
{"DEMO13_STB", 0},
{"SURPRISE", 6},
{"CONVERSATION_ABOUT_DEATHMT", 5},
{"NURSE", 10},
{"CONVERSATION_ABOUT_ZORA", 5},
}

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[30]
static

◆ l_faceMotionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData[116]
static

◆ l_HIO

daNpc_Besu_Param_c l_HIO
static

◆ l_loadResPtrn0

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

◆ l_loadResPtrn1

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

◆ l_loadResPtrn2

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

◆ l_loadResPtrn3

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

◆ l_loadResPtrn4

s8 l_loadResPtrn4[4] = {3, 4, 6, -1}
static

◆ l_loadResPtrn5

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

◆ l_loadResPtrn9

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

◆ l_loadResPtrnList

s8* l_loadResPtrnList[19]
static
Initial value:
= {
}
static s8 l_loadResPtrn3[3]
Definition d_a_npc_besu.cpp:338
static s8 l_loadResPtrn2[3]
Definition d_a_npc_besu.cpp:334
static s8 l_loadResPtrn0[4]
Definition d_a_npc_besu.cpp:326
static s8 l_loadResPtrn4[4]
Definition d_a_npc_besu.cpp:342
static s8 l_loadResPtrn1[3]
Definition d_a_npc_besu.cpp:330
static s8 l_loadResPtrn5[3]
Definition d_a_npc_besu.cpp:344
static s8 l_loadResPtrn9[7]
Definition d_a_npc_besu.cpp:348

◆ l_motionAnmData

daNpcT_motionAnmData_c l_motionAnmData[33]
static

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[120]
static

◆ l_resNameList

char* l_resNameList[12]
static
Initial value:
= {
"",
"Besu",
"Besu_TW",
"Besu0",
"Besu1",
"Besu2",
"Besu3",
"Besu_p1",
"Len1",
"Taro1",
"Lud2",
"Sera",
}