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

Enumerations

enum  grC_RES_File_ID {
  BCK_GRC_F_CHEERFUL = 0x5 , BCK_GRC_F_CHEERFUL_T , BCK_GRC_GRUMPY , BCK_GRC_GRUMPY_T ,
  BCK_GRC_F_SAD_TALK , BCK_GRC_F_TALK_A , BCK_GRC_F_WAIT_A , BCK_GRC_FH_CLOSEEYE ,
  BCK_GRC_FH_SAD_TALK , BCK_GRC_GET_UP , BCK_GRC_SAD_TALK , BCK_GRC_SAD_WAIT ,
  BCK_GRC_SIT_A , BCK_GRC_STEP , BCK_GRC_TALK_A , BCK_GRC_TALK_B ,
  BCK_GRC_TOSIT_A , BCK_GRC_WAIT_A , BTK_GRC_A = 0x19 , BTP_GRC_A = 0x1C ,
  BTP_GRC_F_CHEERFUL_T , BTP_GRC_F_GRUMPY_T , BTP_GRC_F_SAD_TALK , BTP_GRC_FH_CLOSEEYE ,
  BTP_GRC_FH_SAD_TALK
}
 
enum  grC_Mdl_RES_File_ID { BMDR_GRC_A = 0x3 }
 
enum  RES_Name { NONE , GRC , GRC_MDL }
 
enum  FaceMotion {
  FACE_TALK_A , FACE_GRUMPY_T , FACE_CHEERFUL_T , FACE_SAD_TALK = 0x9 ,
  FACE_GRUMPY , FACE_CHEERFUL , FACE_H_SAD_TALK , FACE_WAIT_A
}
 
enum  Motion {
  MOT_WAIT_A , MOT_GET_UP , MOT_TALK_A , MOT_TALK_B ,
  MOT_TOSIT_A , MOT_SIT_A , MOT_SAD_TALK , MOT_SAD_WAIT = 0x8
}
 

Functions

static int daNpc_grMC_Create (void *a_this)
 
static int daNpc_grMC_Delete (void *a_this)
 
static int daNpc_grMC_Execute (void *a_this)
 
static int daNpc_grMC_Draw (void *a_this)
 
static int daNpc_grMC_IsDelete (void *a_this)
 

Variables

static int l_bmdData [1][2]
 
static daNpcT_evtData_c l_evtList [2]
 
static char * l_resNameList [3]
 
static s8 l_loadResPtrn0 [3]
 
static s8l_loadResPtrnList [1] = {l_loadResPtrn0}
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [9]
 
static daNpcT_motionAnmData_c l_motionAnmData [9]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [56]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [36]
 
static daNpc_grMC_Param_c l_HIO
 
static actor_method_class daNpc_grMC_MethodTable
 
actor_process_profile_definition g_profile_NPC_GRMC
 

Enumeration Type Documentation

◆ FaceMotion

enum FaceMotion
Enumerator
FACE_TALK_A 
FACE_GRUMPY_T 
FACE_CHEERFUL_T 
FACE_SAD_TALK 
FACE_GRUMPY 
FACE_CHEERFUL 
FACE_H_SAD_TALK 
FACE_WAIT_A 

◆ grC_Mdl_RES_File_ID

Enumerator
BMDR_GRC_A 

◆ grC_RES_File_ID

Enumerator
BCK_GRC_F_CHEERFUL 
BCK_GRC_F_CHEERFUL_T 
BCK_GRC_GRUMPY 
BCK_GRC_GRUMPY_T 
BCK_GRC_F_SAD_TALK 
BCK_GRC_F_TALK_A 
BCK_GRC_F_WAIT_A 
BCK_GRC_FH_CLOSEEYE 
BCK_GRC_FH_SAD_TALK 
BCK_GRC_GET_UP 
BCK_GRC_SAD_TALK 
BCK_GRC_SAD_WAIT 
BCK_GRC_SIT_A 
BCK_GRC_STEP 
BCK_GRC_TALK_A 
BCK_GRC_TALK_B 
BCK_GRC_TOSIT_A 
BCK_GRC_WAIT_A 
BTK_GRC_A 
BTP_GRC_A 
BTP_GRC_F_CHEERFUL_T 
BTP_GRC_F_GRUMPY_T 
BTP_GRC_F_SAD_TALK 
BTP_GRC_FH_CLOSEEYE 
BTP_GRC_FH_SAD_TALK 

◆ Motion

enum Motion
Enumerator
MOT_WAIT_A 
MOT_GET_UP 
MOT_TALK_A 
MOT_TALK_B 
MOT_TOSIT_A 
MOT_SIT_A 
MOT_SAD_TALK 
MOT_SAD_WAIT 

◆ RES_Name

enum RES_Name
Enumerator
NONE 
GRC 
GRC_MDL 

Function Documentation

◆ daNpc_grMC_Create()

static int daNpc_grMC_Create ( void * a_this)
static

◆ daNpc_grMC_Delete()

static int daNpc_grMC_Delete ( void * a_this)
static

◆ daNpc_grMC_Draw()

static int daNpc_grMC_Draw ( void * a_this)
static

◆ daNpc_grMC_Execute()

static int daNpc_grMC_Execute ( void * a_this)
static

◆ daNpc_grMC_IsDelete()

static int daNpc_grMC_IsDelete ( void * a_this)
static

Variable Documentation

◆ daNpc_grMC_MethodTable

actor_method_class daNpc_grMC_MethodTable
static
Initial value:
= {
}
static int daNpc_grMC_Delete(void *a_this)
Definition d_a_npc_grmc.cpp:768
static int daNpc_grMC_Execute(void *a_this)
Definition d_a_npc_grmc.cpp:772
static int daNpc_grMC_IsDelete(void *a_this)
Definition d_a_npc_grmc.cpp:780
static int daNpc_grMC_Create(void *a_this)
Definition d_a_npc_grmc.cpp:764
static int daNpc_grMC_Draw(void *a_this)
Definition d_a_npc_grmc.cpp:776
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_GRMC

actor_process_profile_definition g_profile_NPC_GRMC
extern
Initial value:
= {
7,
sizeof(daNpc_grMC_c),
0,
0,
310,
0x00044107,
}
Goron Child (Shopkeeper)
Definition d_a_npc_grmc.h:38
static actor_method_class daNpc_grMC_MethodTable
Definition d_a_npc_grmc.cpp:786
@ PROC_NPC_GRMC
Definition d_procname.h:577
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_GRC_A
Definition d_a_npc_grmc.cpp:46
@ GRC_MDL
Definition d_a_npc_grmc.cpp:52

◆ l_evtList

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

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[9]
static
Initial value:
= {
}
@ EMode_LOOP
Definition J3DAnimation.h:925
@ EMode_NONE
Definition J3DAnimation.h:923
@ BTP_GRC_A
Definition d_a_npc_grmc.cpp:36
@ BCK_GRC_GRUMPY_T
Definition d_a_npc_grmc.cpp:16
@ BCK_GRC_F_WAIT_A
Definition d_a_npc_grmc.cpp:19
@ BCK_GRC_F_CHEERFUL_T
Definition d_a_npc_grmc.cpp:14
@ BTP_GRC_FH_SAD_TALK
Definition d_a_npc_grmc.cpp:41
@ BCK_GRC_F_TALK_A
Definition d_a_npc_grmc.cpp:18
@ BCK_GRC_F_CHEERFUL
Definition d_a_npc_grmc.cpp:13
@ BTP_GRC_F_GRUMPY_T
Definition d_a_npc_grmc.cpp:38
@ BCK_GRC_F_SAD_TALK
Definition d_a_npc_grmc.cpp:17
@ BCK_GRC_FH_SAD_TALK
Definition d_a_npc_grmc.cpp:21
@ BCK_GRC_GRUMPY
Definition d_a_npc_grmc.cpp:15
@ BTP_GRC_F_SAD_TALK
Definition d_a_npc_grmc.cpp:39
@ BTP_GRC_F_CHEERFUL_T
Definition d_a_npc_grmc.cpp:37
@ GRC
Definition d_a_npc_grmc.cpp:51

◆ l_faceMotionSequenceData

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

◆ l_HIO

daNpc_grMC_Param_c l_HIO
static

◆ l_loadResPtrn0

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

◆ l_loadResPtrnList

s8* l_loadResPtrnList[1] = {l_loadResPtrn0}
static

◆ l_motionAnmData

daNpcT_motionAnmData_c l_motionAnmData[9]
static
Initial value:
= {
}
@ BTK_GRC_A
Definition d_a_npc_grmc.cpp:33
@ BCK_GRC_SAD_WAIT
Definition d_a_npc_grmc.cpp:24
@ BCK_GRC_TALK_B
Definition d_a_npc_grmc.cpp:28
@ BCK_GRC_STEP
Definition d_a_npc_grmc.cpp:26
@ BCK_GRC_WAIT_A
Definition d_a_npc_grmc.cpp:30
@ BCK_GRC_SIT_A
Definition d_a_npc_grmc.cpp:25
@ BCK_GRC_GET_UP
Definition d_a_npc_grmc.cpp:22
@ BCK_GRC_SAD_TALK
Definition d_a_npc_grmc.cpp:23
@ BCK_GRC_TOSIT_A
Definition d_a_npc_grmc.cpp:29
@ BCK_GRC_TALK_A
Definition d_a_npc_grmc.cpp:27

◆ l_motionSequenceData

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

◆ l_resNameList

char* l_resNameList[3]
static
Initial value:
= {
"",
"grC",
"grC_Mdl",
}