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

Classes

class  daNpc_Du_HIO_c
 

Enumerations

enum  Npc_du_RES_File_ID {
  BCK_DU_SWIM = 0x5 , BCK_DU_WAIT , BCK_DU_WALK , BMDR_DU = 0xA ,
  BTP_DU = 0xD
}
 
enum  Joint {
  JNT_WORLD_ROOT , JNT_BACKBONE , JNT_ARML_1 , JNT_ARML_2 ,
  JNT_ARML_3 , JNT_ARMR_1 , JNT_ARMR_2 , JNT_ARMR_3 ,
  JNT_NECK1 , JNT_NECK2 , JNT_HEAD , JNT_JAW ,
  JNT_WAIST , JNT_LEGL , JNT_FOOTL , JNT_LEGR1 ,
  JNT_FOOTR , JNT_TAIL
}
 
enum  Action { ACTION_NORMAL , ACTION_AWAY , ACTION_SWIM , ACTION_MESSAGE }
 
enum  Action_Mode {
  MODE_INIT , NORMAL_MODE_EXECUTE , NORMAL_MODE_RESET = 0xA , AWAY_MODE_EXECUTE = 0x1 ,
  SWIM_MODE_1 = 0x1 , SWIM_MODE_2 , MESSAGE_MODE_1 = 0x1
}
 

Functions

static void anm_init (npc_du_class *i_this, int i_index, f32 i_morf, u8 i_mode, f32 i_speed)
 
static int nodeCallBack (J3DJoint *i_joint, int param_2)
 
static int daNpc_Du_Draw (npc_du_class *i_this)
 
static void npc_du_normal (npc_du_class *i_this)
 
static void npc_du_away (npc_du_class *i_this)
 
static void npc_du_swim (npc_du_class *i_this)
 
static void npc_du_message (npc_du_class *i_this)
 
static void action (npc_du_class *i_this)
 
static BOOL message (npc_du_class *i_this)
 
static int daNpc_Du_Execute (npc_du_class *i_this)
 
static int daNpc_Du_IsDelete (npc_du_class *i_this)
 
static int daNpc_Du_Delete (npc_du_class *i_this)
 
static int useHeapInit (fopAc_ac_c *actor)
 
static cPhs__Step daNpc_Du_Create (fopAc_ac_c *a_this)
 

Variables

static bool l_initHIO
 
static u8 lit_3757 [12]
 
static daNpc_Du_HIO_c l_HIO
 
static actor_method_class l_daNpc_Du_Method
 
actor_process_profile_definition g_profile_NPC_DU
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACTION_NORMAL 
ACTION_AWAY 
ACTION_SWIM 
ACTION_MESSAGE 

◆ Action_Mode

Enumerator
MODE_INIT 
NORMAL_MODE_EXECUTE 
NORMAL_MODE_RESET 
AWAY_MODE_EXECUTE 
SWIM_MODE_1 
SWIM_MODE_2 
MESSAGE_MODE_1 

◆ Joint

enum Joint
Enumerator
JNT_WORLD_ROOT 
JNT_BACKBONE 
JNT_ARML_1 
JNT_ARML_2 
JNT_ARML_3 
JNT_ARMR_1 
JNT_ARMR_2 
JNT_ARMR_3 
JNT_NECK1 
JNT_NECK2 
JNT_HEAD 
JNT_JAW 
JNT_WAIST 
JNT_LEGL 
JNT_FOOTL 
JNT_LEGR1 
JNT_FOOTR 
JNT_TAIL 

◆ Npc_du_RES_File_ID

Enumerator
BCK_DU_SWIM 
BCK_DU_WAIT 
BCK_DU_WALK 
BMDR_DU 
BTP_DU 

Function Documentation

◆ action()

static void action ( npc_du_class * i_this)
static

◆ anm_init()

static void anm_init ( npc_du_class * i_this,
int i_index,
f32 i_morf,
u8 i_mode,
f32 i_speed )
static

◆ daNpc_Du_Create()

static cPhs__Step daNpc_Du_Create ( fopAc_ac_c * a_this)
static

◆ daNpc_Du_Delete()

static int daNpc_Du_Delete ( npc_du_class * i_this)
static

◆ daNpc_Du_Draw()

static int daNpc_Du_Draw ( npc_du_class * i_this)
static

◆ daNpc_Du_Execute()

static int daNpc_Du_Execute ( npc_du_class * i_this)
static

◆ daNpc_Du_IsDelete()

static int daNpc_Du_IsDelete ( npc_du_class * i_this)
static

◆ message()

static BOOL message ( npc_du_class * i_this)
static

◆ nodeCallBack()

static int nodeCallBack ( J3DJoint * i_joint,
int param_2 )
static

◆ npc_du_away()

static void npc_du_away ( npc_du_class * i_this)
static

◆ npc_du_message()

static void npc_du_message ( npc_du_class * i_this)
static

◆ npc_du_normal()

static void npc_du_normal ( npc_du_class * i_this)
static

◆ npc_du_swim()

static void npc_du_swim ( npc_du_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * actor)
static

Variable Documentation

◆ g_profile_NPC_DU

actor_process_profile_definition g_profile_NPC_DU
extern
Initial value:
= {
7,
sizeof(npc_du_class),
0,
0,
722,
0x08044100,
}
Duck.
Definition d_a_npc_du.h:15
static actor_method_class l_daNpc_Du_Method
Definition d_a_npc_du.cpp:699
@ PROC_NPC_DU
Definition d_procname.h:321
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_0_e
Definition f_op_actor.h:53
@ 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_daNpc_Du_Method

actor_method_class l_daNpc_Du_Method
static
Initial value:
= {
}
static int daNpc_Du_Draw(npc_du_class *i_this)
Definition d_a_npc_du.cpp:141
static int daNpc_Du_Delete(npc_du_class *i_this)
Definition d_a_npc_du.cpp:587
static cPhs__Step daNpc_Du_Create(fopAc_ac_c *a_this)
Definition d_a_npc_du.cpp:637
static int daNpc_Du_Execute(npc_du_class *i_this)
Definition d_a_npc_du.cpp:511
static int daNpc_Du_IsDelete(npc_du_class *i_this)
Definition d_a_npc_du.cpp:583
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daNpc_Du_HIO_c l_HIO
static

◆ l_initHIO

bool l_initHIO
static

◆ lit_3757

u8 lit_3757[12]
static