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

Enumerations

enum  Sha_RES_File_ID {
  BCK_SHA_F_CLOSEEYES = 0x7 , BCK_SHA_F_HIRAMEKU , BCK_SHA_F_LAUGH , BCK_SHA_F_TALK_A ,
  BCK_SHA_F_TALK_B , BCK_SHA_F_TUNAGARI , BCK_SHA_FH_CLOSEEYES , BCK_SHA_FH_HIRAMEKU ,
  BCK_SHA_FH_LAUGH , BCK_SHA_HIRAMEKU , BCK_SHA_HIRAMEKU_WAIT , BCK_SHA_LAUGH ,
  BCK_SHA_TALK_A , BCK_SHA_TALK_B , BCK_SHA_TUNAGARI , BCK_SHA_URANAU ,
  BCK_SHA_WAIT_A , BMDR_SHA = 0x1A , BTK_SHA = 0x1D , BTP_SHA = 0x20 ,
  BTP_SHA_F_CLOSEEYES , BTP_SHA_F_LAUGH , BTP_SHA_F_TALK , BTP_SHA_F_TUNAGARI ,
  BTP_SHA_FH_CLOSEEYES , BTP_SHA_FH_HIRAMEKU , BTP_SHA_FH_LAUGH , EVT_SHA_EVENT_LIST = 0x2B
}
 
enum  RES_Name { NONE , SHA }
 

Functions

static int daNpc_Sha_Create (void *i_this)
 
static int daNpc_Sha_Delete (void *i_this)
 
static int daNpc_Sha_Execute (void *i_this)
 
static int daNpc_Sha_Draw (void *i_this)
 
static int daNpc_Sha_IsDelete (void *i_this)
 

Variables

static int l_bmdData [1][2]
 
static daNpcT_evtData_c l_evtList [6]
 
static char * l_resNameList [2]
 
static s8 l_loadResPtrn0 [2]
 
static s8l_loadResPtrnList [3]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [10]
 
static daNpcT_motionAnmData_c l_motionAnmData [8]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [40]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [32]
 
static NPC_SHA_HIO_CLASS l_HIO
 
static actor_method_class daNpc_Sha_MethodTable
 
actor_process_profile_definition g_profile_NPC_SHAMAN
 

Enumeration Type Documentation

◆ RES_Name

enum RES_Name
Enumerator
NONE 
SHA 

◆ Sha_RES_File_ID

Enumerator
BCK_SHA_F_CLOSEEYES 
BCK_SHA_F_HIRAMEKU 
BCK_SHA_F_LAUGH 
BCK_SHA_F_TALK_A 
BCK_SHA_F_TALK_B 
BCK_SHA_F_TUNAGARI 
BCK_SHA_FH_CLOSEEYES 
BCK_SHA_FH_HIRAMEKU 
BCK_SHA_FH_LAUGH 
BCK_SHA_HIRAMEKU 
BCK_SHA_HIRAMEKU_WAIT 
BCK_SHA_LAUGH 
BCK_SHA_TALK_A 
BCK_SHA_TALK_B 
BCK_SHA_TUNAGARI 
BCK_SHA_URANAU 
BCK_SHA_WAIT_A 
BMDR_SHA 
BTK_SHA 
BTP_SHA 
BTP_SHA_F_CLOSEEYES 
BTP_SHA_F_LAUGH 
BTP_SHA_F_TALK 
BTP_SHA_F_TUNAGARI 
BTP_SHA_FH_CLOSEEYES 
BTP_SHA_FH_HIRAMEKU 
BTP_SHA_FH_LAUGH 
EVT_SHA_EVENT_LIST 

Function Documentation

◆ daNpc_Sha_Create()

static int daNpc_Sha_Create ( void * i_this)
static

◆ daNpc_Sha_Delete()

static int daNpc_Sha_Delete ( void * i_this)
static

◆ daNpc_Sha_Draw()

static int daNpc_Sha_Draw ( void * i_this)
static

◆ daNpc_Sha_Execute()

static int daNpc_Sha_Execute ( void * i_this)
static

◆ daNpc_Sha_IsDelete()

static int daNpc_Sha_IsDelete ( void * i_this)
static

Variable Documentation

◆ daNpc_Sha_MethodTable

actor_method_class daNpc_Sha_MethodTable
static
Initial value:
= {
}
static int daNpc_Sha_Create(void *i_this)
Definition d_a_npc_shaman.cpp:1228
static int daNpc_Sha_Execute(void *i_this)
Definition d_a_npc_shaman.cpp:1236
static int daNpc_Sha_Draw(void *i_this)
Definition d_a_npc_shaman.cpp:1240
static int daNpc_Sha_Delete(void *i_this)
Definition d_a_npc_shaman.cpp:1232
static int daNpc_Sha_IsDelete(void *i_this)
Definition d_a_npc_shaman.cpp:1244
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_SHAMAN

actor_process_profile_definition g_profile_NPC_SHAMAN
extern
Initial value:
= {
7,
sizeof(daNpc_Sha_c),
0,
0,
364,
0x00040108,
}
Fanadi.
Definition d_a_npc_shaman.h:40
static actor_method_class daNpc_Sha_MethodTable
Definition d_a_npc_shaman.cpp:1248
@ PROC_NPC_SHAMAN
Definition d_procname.h:628
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_SHA
Definition d_a_npc_shaman.cpp:67
@ SHA
Definition d_a_npc_shaman.cpp:88

◆ l_evtList

daNpcT_evtData_c l_evtList[6]
static
Initial value:
= {
{"", 0},
{"NO_RESPONSE", 0},
{"PERFORM_AUGURY", 1},
{"ALLGET", 1},
{"NOLOOK", 1},
{"RETURN", 1},
}

◆ l_faceMotionAnmData

◆ l_faceMotionSequenceData

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

◆ l_HIO

NPC_SHA_HIO_CLASS l_HIO
static

◆ l_loadResPtrn0

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

◆ l_loadResPtrnList

s8* l_loadResPtrnList[3]
static
Initial value:
= {
}
static s8 l_loadResPtrn0[2]
Definition d_a_npc_shaman.cpp:109

◆ l_motionAnmData

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[32]
static
Initial value:
= {
{0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{1, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{2, -1, 1}, {3, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{5, 0, 1}, {6, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{4, 0, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{3, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{7, 0, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
}

◆ l_resNameList

char* l_resNameList[2]
static
Initial value:
= {
"",
"Sha",
}