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

Enumerations

enum  Event_Cut_Nums { NUM_EVT_CUTS_e = 0xc }
 

Functions

static void * s_sub (void *i_actor, void *i_this)
 
static void * s_sub2 (void *i_actor, void *i_this)
 
static void * s_subShop (void *i_actor, void *i_this)
 
static void * s_subGRD (void *i_actor, void *i_this)
 
static void * s_subOnsenTaru (void *i_actor, void *i_this)
 
static void * s_subCarry (void *i_actor, void *i_this)
 
static void * s_subCrashed (void *i_actor, void *i_this)
 
static BOOL daNpc_grA_Create (void *i_this)
 
static BOOL daNpc_grA_Delete (void *i_this)
 
static BOOL daNpc_grA_Execute (void *i_this)
 
static BOOL daNpc_grA_Draw (void *i_this)
 
static BOOL daNpc_grA_IsDelete (void *i_this)
 

Variables

static int l_bmdGetParamList [][2]
 
static int l_bckGetParamList [][2]
 
static int l_btpGetParamList [][2]
 
static int l_btkGetParamList [][2] = {-1, 0}
 
static int l_evtGetParamList [][2]
 
NPC_GRA_HIO_CLASS l_HIO
 
static char * l_evtNames [11]
 
static int l_loadRes_GRAa []
 
static int l_loadRes_GRA_Tw []
 
static int l_loadRes_GRA_Spa []
 
static int l_loadRes_GRA_SDEMO []
 
static int l_loadRes_GRA_GATE []
 
static int l_loadRes_GRA_KICKOUT []
 
static int l_loadRes_GRA_ROCK []
 
static int l_loadRes_GRA_SPAWATER []
 
static int l_loadRes_GRA_SPABUYER []
 
static int l_loadRes_GRA_SPABUYER_TW []
 
static int l_loadRes_GRA_ROCKCRASHER []
 
static int l_loadRes_GRA_BUYER []
 
static int l_loadRes_GRA0 []
 
static int * l_loadRes_list [13]
 
static char * l_resNames [16]
 
static char * l_myName [3]
 
static u8 l_offsetHeight [32]
 
static actor_method_class daNpc_grA_MethodTable
 
actor_process_profile_definition g_profile_NPC_GRA
 
 AUDIO_INSTANCES
 

Enumeration Type Documentation

◆ Event_Cut_Nums

Enumerator
NUM_EVT_CUTS_e 

Function Documentation

◆ daNpc_grA_Create()

static BOOL daNpc_grA_Create ( void * i_this)
static

◆ daNpc_grA_Delete()

static BOOL daNpc_grA_Delete ( void * i_this)
static

◆ daNpc_grA_Draw()

static BOOL daNpc_grA_Draw ( void * i_this)
static

◆ daNpc_grA_Execute()

static BOOL daNpc_grA_Execute ( void * i_this)
static

◆ daNpc_grA_IsDelete()

static BOOL daNpc_grA_IsDelete ( void * i_this)
static

◆ s_sub()

static void * s_sub ( void * i_actor,
void * i_this )
static

◆ s_sub2()

static void * s_sub2 ( void * i_actor,
void * i_this )
static

◆ s_subCarry()

static void * s_subCarry ( void * i_actor,
void * i_this )
static

◆ s_subCrashed()

static void * s_subCrashed ( void * i_actor,
void * i_this )
static

◆ s_subGRD()

static void * s_subGRD ( void * i_actor,
void * i_this )
static

◆ s_subOnsenTaru()

static void * s_subOnsenTaru ( void * i_actor,
void * i_this )
static

◆ s_subShop()

static void * s_subShop ( void * i_actor,
void * i_this )
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ daNpc_grA_MethodTable

actor_method_class daNpc_grA_MethodTable
static
Initial value:
= {
}
static BOOL daNpc_grA_Delete(void *i_this)
Definition d_a_npc_gra.cpp:4094
static BOOL daNpc_grA_Execute(void *i_this)
Definition d_a_npc_gra.cpp:4098
static BOOL daNpc_grA_Draw(void *i_this)
Definition d_a_npc_gra.cpp:4102
static BOOL daNpc_grA_Create(void *i_this)
Definition d_a_npc_gra.cpp:4090
static BOOL daNpc_grA_IsDelete(void *i_this)
Definition d_a_npc_gra.cpp:4106
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ g_profile_NPC_GRA

actor_process_profile_definition g_profile_NPC_GRA
extern
Initial value:
= {
7,
sizeof(daNpc_grA_c),
0,
0,
306,
0x00044100,
}
Goron (Adult)
Definition d_a_npc_gra.h:54
static actor_method_class daNpc_grA_MethodTable
Definition d_a_npc_gra.cpp:4110
@ PROC_NPC_GRA
Definition d_procname.h:573
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_bckGetParamList

int l_bckGetParamList[][2]
static

◆ l_bmdGetParamList

int l_bmdGetParamList[][2]
static
Initial value:
= {
3, 1,
3, 2,
3, 12,
13, 14,
11, 15,
}

◆ l_btkGetParamList

int l_btkGetParamList[][2] = {-1, 0}
static

◆ l_btpGetParamList

int l_btpGetParamList[][2]
static
Initial value:
= {
0x1C, 0x00,
0x1F, 0x00,
0x20, 0x00,
0x11, 0x03,
0x0F, 0x03,
0x10, 0x03,
0x10, 0x0a,
0x08, 0x0B,
0x1E, 0x00,
0x0F, 0x0A,
0x0E, 0x0A,
0x11, 0x0E,
0x10, 0x0E,
0x12, 0x0E,
0x0E, 0x0F,
0x1D, 0x00,
}

◆ l_evtGetParamList

int l_evtGetParamList[][2]
static
Initial value:
= {
0x00, 0x00,
0x01, 0x03,
0x02, 0x05,
0x03, 0x06,
0x04, 0x06,
0x05, 0x06,
0x06, 0x08,
0x07, 0x09,
0x08, 0x09,
0x09, 0x09,
0x0A, 0x0D,
}

◆ l_evtNames

char* l_evtNames[11]
static
Initial value:
= {
NULL,
"TALK_SPA",
"TEACH_ELV",
"KICK_OUT",
"KICK_OUT_BREAK",
"NONE_LOOK",
"RESCUE_ROCK",
"CARRY_SPA_WATER",
"CARRY_SPA_WATER_FAILURE",
"TALK_SPA_WATER",
"ROLL_ROCK_CRASH",
}

◆ l_HIO

NPC_GRA_HIO_CLASS l_HIO

◆ l_loadRes_GRA0

int l_loadRes_GRA0[]
static
Initial value:
= {
0, 1, -1, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_BUYER

int l_loadRes_GRA_BUYER[]
static
Initial value:
= {
0, 1, 4, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_GATE

int l_loadRes_GRA_GATE[]
static
Initial value:
= {
0, 1, 4, 5, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_KICKOUT

int l_loadRes_GRA_KICKOUT[]
static
Initial value:
= {
0, 1, 6, 10, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_ROCK

int l_loadRes_GRA_ROCK[]
static
Initial value:
= {
0, 1, 7, 8, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_ROCKCRASHER

int l_loadRes_GRA_ROCKCRASHER[]
static
Initial value:
= {
0, 1, 13, 11, 14, -1, -1, -1,
}

◆ l_loadRes_GRA_SDEMO

int l_loadRes_GRA_SDEMO[]
static
Initial value:
= {
0, 1, 4, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_Spa

int l_loadRes_GRA_Spa[]
static
Initial value:
= {
0, 1, 3, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_SPABUYER

int l_loadRes_GRA_SPABUYER[]
static
Initial value:
= {
0, 1, 15, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_SPABUYER_TW

int l_loadRes_GRA_SPABUYER_TW[]
static
Initial value:
= {
0, 2, 15, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRA_SPAWATER

int l_loadRes_GRA_SPAWATER[]
static
Initial value:
= {
0, 1, 3, 9, 10, 11, 12, -1,
}

◆ l_loadRes_GRA_Tw

int l_loadRes_GRA_Tw[]
static
Initial value:
= {
0, 2, -1, -1, -1, -1, -1, -1,
}

◆ l_loadRes_GRAa

int l_loadRes_GRAa[]
static
Initial value:
= {
0, 1, -1, -1, -1, -1, -1, -1,
}

◆ l_loadRes_list

int* l_loadRes_list[13]
static
Initial value:
= {
}
static int l_loadRes_GRA_GATE[]
Definition d_a_npc_gra.cpp:174
static int l_loadRes_GRAa[]
Definition d_a_npc_gra.cpp:158
static int l_loadRes_GRA_SPAWATER[]
Definition d_a_npc_gra.cpp:186
static int l_loadRes_GRA_KICKOUT[]
Definition d_a_npc_gra.cpp:178
static int l_loadRes_GRA_ROCKCRASHER[]
Definition d_a_npc_gra.cpp:198
static int l_loadRes_GRA_SPABUYER[]
Definition d_a_npc_gra.cpp:190
static int l_loadRes_GRA_SDEMO[]
Definition d_a_npc_gra.cpp:170
static int l_loadRes_GRA_SPABUYER_TW[]
Definition d_a_npc_gra.cpp:194
static int l_loadRes_GRA0[]
Definition d_a_npc_gra.cpp:206
static int l_loadRes_GRA_BUYER[]
Definition d_a_npc_gra.cpp:202
static int l_loadRes_GRA_Spa[]
Definition d_a_npc_gra.cpp:166
static int l_loadRes_GRA_Tw[]
Definition d_a_npc_gra.cpp:162
static int l_loadRes_GRA_ROCK[]
Definition d_a_npc_gra.cpp:182

◆ l_myName

char* l_myName[3]
static
Initial value:
= {
"grA",
"grA_spa",
"grA_Elv",
}

◆ l_offsetHeight

u8 l_offsetHeight[32]
static
Initial value:
= {
0xB6, 0xB6, 0xBA, 0xBE, 0xC6, 0xCE, 0xCE, 0xCE, 0xCA, 0xCA, 0xC6, 0xC2, 0xBE, 0xBA, 0xB6, 0xB6,
0xBA, 0xBA, 0xBE, 0xC6, 0xCA, 0xCE, 0xD1, 0xCE, 0xC6, 0xBA, 0xCA, 0xCE, 0xCA, 0xBE, 0xB6, 0xB6,
}

◆ l_resNames

char* l_resNames[16]
static
Initial value:
= {
"grA_base",
"grA_mdl",
"grA_TW",
"grA_SPA",
"grA_Sdemo",
"grA_Elv",
"grA_Kick",
"grA_Rock",
"grA_RockD",
"grA_SWD",
"grA_onsen",
"grA_onsn2",
"maroTaru",
"grA_RCD",
"grA_gate",
"grA_town",
}