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

Enumerations

enum  post_RES_File_ID {
  BCK_POST_F_HAPPY = 0x6 , BCK_POST_F_TALK_A , BCK_POST_FH_HAPPY , BCK_POST_FLAG_STEP ,
  BCK_POST_FLAG_WAIT_A , BCK_POST_STEP , BCK_POST_WAIT_A , BMDR_POST = 0xF ,
  BMDR_POST_FLAG , BMDR_POST_LETTER , BTK_POST = 0x14 , BTP_POST = 0x17 ,
  BTP_POST_F_HAPPY , BTP_POST_F_TALK_A , BTP_POST_FH_HAPPY
}
 
enum  post1_RES_File_ID {
  BCK_POST_BYE = 0x6 , BCK_POST_BYE_WAIT , BCK_POST_EXPLAIN , BCK_POST_F_BYE ,
  BCK_POST_F_EXPLAIN , BCK_POST_F_HAND , BCK_POST_F_HELLO , BCK_POST_F_REGRET ,
  BCK_POST_FH_REGRET , BCK_POST_FLAG_EXPLAIN , BCK_POST_FLAG_HAND , BCK_POST_FLAG_HAND_WAIT ,
  BCK_POST_FLAG_HELLO , BCK_POST_FLAG_REGRET , BCK_POST_FLAG_RUN , BCK_POST_HAND ,
  BCK_POST_HAND_WAIT , BCK_POST_HELLO , BCK_POST_REGRET , BCK_POST_RUN ,
  BTK_POST_HAND = 0x1C , BTK_POST_RUN , BTP_POST_F_BYE = 0x20 , BTP_POST_F_EXPLAIN ,
  BTP_POST_F_HAND , BTP_POST_F_HELLO , BTP_POST_F_REGRET , BTP_POST_FH_REGRET ,
  BTP_POST_RUN , EVT_POST1_EVENT_LIST = 0x29
}
 
enum  post2_RES_File_ID {
  BCK_POST_F_ANGRY = 0x6 , BCK_POST_F_SAD , BCK_POST_FH_ANGRY , BCK_POST_FH_SAD ,
  BCK_POST_SIT_A , BCK_POST_SIT_NOD , BCK_POST_SIT_TALK_A , BMDR_POST_LETTER_B = 0xF ,
  BTK_POST_SIT_A = 0x12 , BTK_POST_SIT_NOD , BTK_POST_SIT_TALK_A , BTP_POST_F_ANGRY = 0x17 ,
  BTP_POST_F_SAD , BTP_POST_FH_ANGRY , BTP_POST_FH_SAD , BTP_POST_SIT_NOD
}
 
enum  RES_Name { NONE , POST , POST1 , POST2 }
 
enum  Face_Motion {
  FACE_MOT_TALK_A , FACE_MOT_HAND , FACE_MOT_EXPLAIN , FACE_MOT_HELLO ,
  FACE_MOT_REGRET , FACE_MOT_BYE , FACE_MOT_HAPPY , FACE_MOT_SAD ,
  FACE_MOT_ANGRY , FACE_MOT_H_REGRET , FACE_MOT_NONE , FACE_MOT_H_HAPPY ,
  FACE_MOT_H_SAD , FACE_MOT_H_ANGRY , FACE_MOT_NONE_2
}
 
enum  Motion {
  MOT_WAIT_A , MOT_HAND , MOT_EXPLAIN , MOT_HELLO ,
  MOT_REGRET , MOT_BYE , MOT_SIT_A , MOT_SIT_TALK_A ,
  MOT_RUN , MOT_SIT_NOD , MOT_STEP
}
 
enum  Event {
  EVT_NONE , EVT_NO_RESPONSE , EVT_DELIVER , EVT_DELIVERTO_PLAYER_ON_HORSE ,
  EVT_DELIVERTO_WOLF
}
 
enum  Type { TYPE_0 , TYPE_DELIVER , TYPE_BAR , TYPE_DEFAULT }
 

Functions

static int daNpc_Post_Create (void *i_this)
 
static int daNpc_Post_Delete (void *i_this)
 
static int daNpc_Post_Execute (void *i_this)
 
static int daNpc_Post_Draw (void *i_this)
 
static int daNpc_Post_IsDelete (void *i_this)
 

Variables

static int l_bmdData [4][2]
 
static daNpcT_evtData_c l_evtList [5]
 
static char * l_resNameList [4]
 
static s8 l_loadResPtrn0 [3]
 
static s8 l_loadResPtrn1 [3]
 
static s8 l_loadResPtrn9 [4]
 
static s8l_loadResPtrnList [4]
 
static daNpcT_faceMotionAnmData_c l_faceMotionAnmData [15]
 
static daNpcT_motionAnmData_c l_motionAnmData [13]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_faceMotionSequenceData [60]
 
static daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData [44]
 
static NPC_POST_HIO_CLASS l_HIO
 
static int const dummy [2]
 
 AUDIO_INSTANCES
 
static actor_method_class daNpc_Post_MethodTable
 
actor_process_profile_definition g_profile_NPC_POST
 

Enumeration Type Documentation

◆ Event

enum Event
Enumerator
EVT_NONE 
EVT_NO_RESPONSE 
EVT_DELIVER 
EVT_DELIVERTO_PLAYER_ON_HORSE 
EVT_DELIVERTO_WOLF 

◆ Face_Motion

Enumerator
FACE_MOT_TALK_A 
FACE_MOT_HAND 
FACE_MOT_EXPLAIN 
FACE_MOT_HELLO 
FACE_MOT_REGRET 
FACE_MOT_BYE 
FACE_MOT_HAPPY 
FACE_MOT_SAD 
FACE_MOT_ANGRY 
FACE_MOT_H_REGRET 
FACE_MOT_NONE 
FACE_MOT_H_HAPPY 
FACE_MOT_H_SAD 
FACE_MOT_H_ANGRY 
FACE_MOT_NONE_2 

◆ Motion

enum Motion
Enumerator
MOT_WAIT_A 
MOT_HAND 
MOT_EXPLAIN 
MOT_HELLO 
MOT_REGRET 
MOT_BYE 
MOT_SIT_A 
MOT_SIT_TALK_A 
MOT_RUN 
MOT_SIT_NOD 
MOT_STEP 

◆ post1_RES_File_ID

Enumerator
BCK_POST_BYE 
BCK_POST_BYE_WAIT 
BCK_POST_EXPLAIN 
BCK_POST_F_BYE 
BCK_POST_F_EXPLAIN 
BCK_POST_F_HAND 
BCK_POST_F_HELLO 
BCK_POST_F_REGRET 
BCK_POST_FH_REGRET 
BCK_POST_FLAG_EXPLAIN 
BCK_POST_FLAG_HAND 
BCK_POST_FLAG_HAND_WAIT 
BCK_POST_FLAG_HELLO 
BCK_POST_FLAG_REGRET 
BCK_POST_FLAG_RUN 
BCK_POST_HAND 
BCK_POST_HAND_WAIT 
BCK_POST_HELLO 
BCK_POST_REGRET 
BCK_POST_RUN 
BTK_POST_HAND 
BTK_POST_RUN 
BTP_POST_F_BYE 
BTP_POST_F_EXPLAIN 
BTP_POST_F_HAND 
BTP_POST_F_HELLO 
BTP_POST_F_REGRET 
BTP_POST_FH_REGRET 
BTP_POST_RUN 
EVT_POST1_EVENT_LIST 

◆ post2_RES_File_ID

Enumerator
BCK_POST_F_ANGRY 
BCK_POST_F_SAD 
BCK_POST_FH_ANGRY 
BCK_POST_FH_SAD 
BCK_POST_SIT_A 
BCK_POST_SIT_NOD 
BCK_POST_SIT_TALK_A 
BMDR_POST_LETTER_B 
BTK_POST_SIT_A 
BTK_POST_SIT_NOD 
BTK_POST_SIT_TALK_A 
BTP_POST_F_ANGRY 
BTP_POST_F_SAD 
BTP_POST_FH_ANGRY 
BTP_POST_FH_SAD 
BTP_POST_SIT_NOD 

◆ post_RES_File_ID

Enumerator
BCK_POST_F_HAPPY 
BCK_POST_F_TALK_A 
BCK_POST_FH_HAPPY 
BCK_POST_FLAG_STEP 
BCK_POST_FLAG_WAIT_A 
BCK_POST_STEP 
BCK_POST_WAIT_A 
BMDR_POST 
BMDR_POST_FLAG 
BMDR_POST_LETTER 
BTK_POST 
BTP_POST 
BTP_POST_F_HAPPY 
BTP_POST_F_TALK_A 
BTP_POST_FH_HAPPY 

◆ RES_Name

enum RES_Name
Enumerator
NONE 
POST 
POST1 
POST2 

◆ Type

enum Type
Enumerator
TYPE_0 
TYPE_DELIVER 
TYPE_BAR 
TYPE_DEFAULT 

Function Documentation

◆ daNpc_Post_Create()

static int daNpc_Post_Create ( void * i_this)
static

◆ daNpc_Post_Delete()

static int daNpc_Post_Delete ( void * i_this)
static

◆ daNpc_Post_Draw()

static int daNpc_Post_Draw ( void * i_this)
static

◆ daNpc_Post_Execute()

static int daNpc_Post_Execute ( void * i_this)
static

◆ daNpc_Post_IsDelete()

static int daNpc_Post_IsDelete ( void * i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ daNpc_Post_MethodTable

actor_method_class daNpc_Post_MethodTable
static
Initial value:
= {
}
static int daNpc_Post_Delete(void *i_this)
Definition d_a_npc_post.cpp:1538
static int daNpc_Post_Create(void *i_this)
Definition d_a_npc_post.cpp:1534
static int daNpc_Post_IsDelete(void *i_this)
Definition d_a_npc_post.cpp:1550
static int daNpc_Post_Draw(void *i_this)
Definition d_a_npc_post.cpp:1546
static int daNpc_Post_Execute(void *i_this)
Definition d_a_npc_post.cpp:1542
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ dummy

int const dummy[2]
static
Initial value:
= {
-1, -1,
}

◆ g_profile_NPC_POST

actor_process_profile_definition g_profile_NPC_POST
extern
Initial value:
= {
7,
sizeof(daNpc_Post_c),
0,
0,
403,
0x00040107,
}
Postman.
Definition d_a_npc_post.h:42
static actor_method_class daNpc_Post_MethodTable
Definition d_a_npc_post.cpp:1556
@ PROC_NPC_POST
Definition d_procname.h:666
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[4][2]
static
Initial value:
= {
}
@ BMDR_POST_LETTER_B
Definition d_a_npc_post.cpp:92
@ POST
Definition d_a_npc_post.cpp:109
@ POST2
Definition d_a_npc_post.cpp:111
@ BMDR_POST
Definition d_a_npc_post.cpp:27
@ BMDR_POST_LETTER
Definition d_a_npc_post.cpp:29
@ BMDR_POST_FLAG
Definition d_a_npc_post.cpp:28

◆ l_evtList

daNpcT_evtData_c l_evtList[5]
static
Initial value:
= {
{"", 0},
{"NO_RESPONSE", 0},
{"DELIVER", 2},
{"DELIVERTO_PLAYER_ON_HORSE", 2},
{"DELIVERTO_WOLF", 2},
}

◆ l_faceMotionAnmData

daNpcT_faceMotionAnmData_c l_faceMotionAnmData[15]
static
Initial value:
= {
}
@ EMode_LOOP
Definition J3DAnimation.h:925
@ EMode_NONE
Definition J3DAnimation.h:923
@ BCK_POST_F_SAD
Definition d_a_npc_post.cpp:84
@ BTP_POST_F_ANGRY
Definition d_a_npc_post.cpp:100
@ BCK_POST_FH_SAD
Definition d_a_npc_post.cpp:86
@ BTP_POST_FH_ANGRY
Definition d_a_npc_post.cpp:102
@ BCK_POST_FH_ANGRY
Definition d_a_npc_post.cpp:85
@ BTP_POST_FH_SAD
Definition d_a_npc_post.cpp:103
@ BTP_POST_F_SAD
Definition d_a_npc_post.cpp:101
@ BCK_POST_F_ANGRY
Definition d_a_npc_post.cpp:83
@ NONE
Definition d_a_npc_post.cpp:108
@ POST1
Definition d_a_npc_post.cpp:110
@ BCK_POST_F_REGRET
Definition d_a_npc_post.cpp:50
@ BTP_POST_F_HAND
Definition d_a_npc_post.cpp:71
@ BTP_POST_F_REGRET
Definition d_a_npc_post.cpp:73
@ BTP_POST_F_BYE
Definition d_a_npc_post.cpp:69
@ BCK_POST_F_EXPLAIN
Definition d_a_npc_post.cpp:47
@ BTP_POST_F_EXPLAIN
Definition d_a_npc_post.cpp:70
@ BTP_POST_FH_REGRET
Definition d_a_npc_post.cpp:74
@ BTP_POST_RUN
Definition d_a_npc_post.cpp:75
@ BTP_POST_F_HELLO
Definition d_a_npc_post.cpp:72
@ BCK_POST_F_HAND
Definition d_a_npc_post.cpp:48
@ BCK_POST_FH_REGRET
Definition d_a_npc_post.cpp:51
@ BCK_POST_F_HELLO
Definition d_a_npc_post.cpp:49
@ BCK_POST_F_BYE
Definition d_a_npc_post.cpp:46
@ BTP_POST
Definition d_a_npc_post.cpp:35
@ BCK_POST_F_TALK_A
Definition d_a_npc_post.cpp:19
@ BTP_POST_F_HAPPY
Definition d_a_npc_post.cpp:36
@ BCK_POST_F_HAPPY
Definition d_a_npc_post.cpp:18
@ BTP_POST_FH_HAPPY
Definition d_a_npc_post.cpp:38
@ BCK_POST_FH_HAPPY
Definition d_a_npc_post.cpp:20
@ BTP_POST_F_TALK_A
Definition d_a_npc_post.cpp:37

◆ l_faceMotionSequenceData

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

◆ l_loadResPtrn0

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

◆ l_loadResPtrn1

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

◆ l_loadResPtrn9

s8 l_loadResPtrn9[4]
static
Initial value:
= {
POST, POST1, POST2, -1,
}

◆ l_loadResPtrnList

s8* l_loadResPtrnList[4]
static
Initial value:
= {
}
static s8 l_loadResPtrn0[3]
Definition d_a_npc_post.cpp:225
static s8 l_loadResPtrn1[3]
Definition d_a_npc_post.cpp:229
static s8 l_loadResPtrn9[4]
Definition d_a_npc_post.cpp:233

◆ l_motionAnmData

daNpcT_motionAnmData_c l_motionAnmData[13]
static
Initial value:
= {
}
@ BCK_POST_SIT_NOD
Definition d_a_npc_post.cpp:88
@ BCK_POST_SIT_TALK_A
Definition d_a_npc_post.cpp:89
@ BCK_POST_SIT_A
Definition d_a_npc_post.cpp:87
@ BTK_POST_SIT_NOD
Definition d_a_npc_post.cpp:96
@ BTK_POST_SIT_TALK_A
Definition d_a_npc_post.cpp:97
@ BTK_POST_SIT_A
Definition d_a_npc_post.cpp:95
@ BCK_POST_REGRET
Definition d_a_npc_post.cpp:61
@ BCK_POST_HELLO
Definition d_a_npc_post.cpp:60
@ BCK_POST_RUN
Definition d_a_npc_post.cpp:62
@ BCK_POST_HAND
Definition d_a_npc_post.cpp:58
@ BTK_POST_RUN
Definition d_a_npc_post.cpp:66
@ BCK_POST_HAND_WAIT
Definition d_a_npc_post.cpp:59
@ BCK_POST_BYE
Definition d_a_npc_post.cpp:43
@ BTK_POST_HAND
Definition d_a_npc_post.cpp:65
@ BCK_POST_BYE_WAIT
Definition d_a_npc_post.cpp:44
@ BCK_POST_EXPLAIN
Definition d_a_npc_post.cpp:45
@ BTK_POST
Definition d_a_npc_post.cpp:32
@ BCK_POST_WAIT_A
Definition d_a_npc_post.cpp:24
@ BCK_POST_STEP
Definition d_a_npc_post.cpp:23

◆ l_motionSequenceData

daNpcT_MotionSeqMngr_c::sequenceStepData_c l_motionSequenceData[44]
static
Initial value:
= {
{0, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{3, -1, 1}, {4, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{5, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{6, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{7, -1, 1}, {0, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{8, -1, 1}, {9, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{10, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{11, -1, 1}, {10, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{1, -1, 0}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{12, -1, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
{2, 4, 1}, {-1, 0, 0}, {-1, 0, 0}, {-1, 0, 0},
}

◆ l_resNameList

char* l_resNameList[4]
static
Initial value:
= {
"",
"post",
"post1",
"post2",
}