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

Enumerations

enum  Tkj2_RES_File_ID {
  BCK_TKJ_FLY = 0x6 , BCK_TKJ_FLY_FALL , BCK_TKJ_F_TALK_A , BCK_TKJ_MOGAKU ,
  BCK_TKJ_WAIT_A , BCK_TKJ_WALK_A , BMDR_TKJ = 0xE , BTK_TKJ = 0x11 ,
  BTP_TKJ = 0x14
}
 
enum  Joint {
  JNT_CENTER , JNT_ARML1 , JNT_ARML2 , JNT_HANDL ,
  JNT_TUBASAL , JNT_ARMR1 , JNT_ARMR2 , JNT_HANDR ,
  JNT_TUBASAR , JNT_LEGL , JNT_FOOTL1 , JNT_FOOTL2 ,
  JNT_LEGR , JNT_FOOTR1 , JNT_FOOTR2 , JNT_NECK1 ,
  JNT_NECK2 , JNT_HEAD , JNT_CHIN , JNT_MOUTH
}
 
enum  Action {
  ACTION_NORMAL , ACTION_CARRY , ACTION_FLY , ACTION_DROP ,
  ACTION_RETURN , ACTION_DROP_2 = 0x6
}
 

Functions

static void anm_init (npc_tkj2_class *i_this, int i_index, f32 i_morf, u8 i_attr, f32 i_rate)
 
static int nodeCallBack (J3DJoint *i_joint, int param_2)
 
static int daNpc_Tkj2_Draw (npc_tkj2_class *i_this)
 
static void npc_tkj2_carry_check (npc_tkj2_class *i_this)
 
static void mode_init_boomCarry (npc_tkj2_class *i_this)
 
static void Wind_effect (npc_tkj2_class *i_this)
 
static void CheckRoof (npc_tkj2_class *i_this)
 
static bool CheckWall (npc_tkj2_class *i_this, s16 param_2)
 
static bool GndCheck2 (npc_tkj2_class *i_this)
 
static bool GndCheck (npc_tkj2_class *i_this, cXyz param_2)
 
static void npc_tkj2_normal (npc_tkj2_class *i_this)
 
static cXyz return_pos_get (npc_tkj2_class *i_this)
 
static s8 npc_tkj2_carry (npc_tkj2_class *i_this)
 
static void npc_tkj2_fly (npc_tkj2_class *i_this)
 
static void npc_tkj2_drop (npc_tkj2_class *i_this)
 
static void npc_tkj2_return (npc_tkj2_class *i_this)
 
static void ObjHit (npc_tkj2_class *i_this)
 
static void action (npc_tkj2_class *i_this)
 
static int daNpc_Tkj2_Execute (npc_tkj2_class *i_this)
 
static int daNpc_Tkj2_IsDelete (npc_tkj2_class *i_this)
 
static int daNpc_Tkj2_Delete (npc_tkj2_class *i_this)
 
static int useHeapInit (fopAc_ac_c *a_this)
 
static cPhs__Step daNpc_Tkj2_Create (fopAc_ac_c *a_this)
 

Variables

static u8 l_initHIO
 
static daNpc_Tkj2_HIO_c l_HIO
 
static actor_method_class l_daNpc_Tkj2_Method
 
actor_process_profile_definition g_profile_NPC_TKJ2
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACTION_NORMAL 
ACTION_CARRY 
ACTION_FLY 
ACTION_DROP 
ACTION_RETURN 
ACTION_DROP_2 

◆ Joint

enum Joint
Enumerator
JNT_CENTER 
JNT_ARML1 
JNT_ARML2 
JNT_HANDL 
JNT_TUBASAL 
JNT_ARMR1 
JNT_ARMR2 
JNT_HANDR 
JNT_TUBASAR 
JNT_LEGL 
JNT_FOOTL1 
JNT_FOOTL2 
JNT_LEGR 
JNT_FOOTR1 
JNT_FOOTR2 
JNT_NECK1 
JNT_NECK2 
JNT_HEAD 
JNT_CHIN 
JNT_MOUTH 

◆ Tkj2_RES_File_ID

Enumerator
BCK_TKJ_FLY 
BCK_TKJ_FLY_FALL 
BCK_TKJ_F_TALK_A 
BCK_TKJ_MOGAKU 
BCK_TKJ_WAIT_A 
BCK_TKJ_WALK_A 
BMDR_TKJ 
BTK_TKJ 
BTP_TKJ 

Function Documentation

◆ action()

static void action ( npc_tkj2_class * i_this)
static

◆ anm_init()

static void anm_init ( npc_tkj2_class * i_this,
int i_index,
f32 i_morf,
u8 i_attr,
f32 i_rate )
static

◆ CheckRoof()

static void CheckRoof ( npc_tkj2_class * i_this)
static

◆ CheckWall()

static bool CheckWall ( npc_tkj2_class * i_this,
s16 param_2 )
static

◆ daNpc_Tkj2_Create()

static cPhs__Step daNpc_Tkj2_Create ( fopAc_ac_c * a_this)
static

◆ daNpc_Tkj2_Delete()

static int daNpc_Tkj2_Delete ( npc_tkj2_class * i_this)
static

◆ daNpc_Tkj2_Draw()

static int daNpc_Tkj2_Draw ( npc_tkj2_class * i_this)
static

◆ daNpc_Tkj2_Execute()

static int daNpc_Tkj2_Execute ( npc_tkj2_class * i_this)
static

◆ daNpc_Tkj2_IsDelete()

static int daNpc_Tkj2_IsDelete ( npc_tkj2_class * i_this)
static

◆ GndCheck()

static bool GndCheck ( npc_tkj2_class * i_this,
cXyz param_2 )
static

◆ GndCheck2()

static bool GndCheck2 ( npc_tkj2_class * i_this)
static

◆ mode_init_boomCarry()

static void mode_init_boomCarry ( npc_tkj2_class * i_this)
static

◆ nodeCallBack()

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

◆ npc_tkj2_carry()

static s8 npc_tkj2_carry ( npc_tkj2_class * i_this)
static

◆ npc_tkj2_carry_check()

static void npc_tkj2_carry_check ( npc_tkj2_class * i_this)
static

◆ npc_tkj2_drop()

static void npc_tkj2_drop ( npc_tkj2_class * i_this)
static

◆ npc_tkj2_fly()

static void npc_tkj2_fly ( npc_tkj2_class * i_this)
static

◆ npc_tkj2_normal()

static void npc_tkj2_normal ( npc_tkj2_class * i_this)
static

◆ npc_tkj2_return()

static void npc_tkj2_return ( npc_tkj2_class * i_this)
static

◆ ObjHit()

static void ObjHit ( npc_tkj2_class * i_this)
static

◆ return_pos_get()

static cXyz return_pos_get ( npc_tkj2_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * a_this)
static

◆ Wind_effect()

static void Wind_effect ( npc_tkj2_class * i_this)
static

Variable Documentation

◆ g_profile_NPC_TKJ2

actor_process_profile_definition g_profile_NPC_TKJ2
extern
Initial value:
= {
7,
sizeof(npc_tkj2_class),
0,
0,
696,
0x000C4000,
}
Oocca 2.
Definition d_a_npc_tkj2.h:15
static actor_method_class l_daNpc_Tkj2_Method
Definition d_a_npc_tkj2.cpp:1151
@ PROC_NPC_TKJ2
Definition d_procname.h:274
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_0_e
Definition f_op_actor.h:53
@ fopAc_ACTOR_e
Definition f_op_actor.h:38
@ 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_Tkj2_Method

actor_method_class l_daNpc_Tkj2_Method
static
Initial value:
= {
}
static int daNpc_Tkj2_Draw(npc_tkj2_class *i_this)
Definition d_a_npc_tkj2.cpp:101
static int daNpc_Tkj2_Delete(npc_tkj2_class *i_this)
Definition d_a_npc_tkj2.cpp:1026
static int daNpc_Tkj2_IsDelete(npc_tkj2_class *i_this)
Definition d_a_npc_tkj2.cpp:1022
static int daNpc_Tkj2_Execute(npc_tkj2_class *i_this)
Definition d_a_npc_tkj2.cpp:959
static cPhs__Step daNpc_Tkj2_Create(fopAc_ac_c *a_this)
Definition d_a_npc_tkj2.cpp:1079
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daNpc_Tkj2_HIO_c l_HIO
static

◆ l_initHIO

u8 l_initHIO
static