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

Classes

class  daE_DN_HIO_c
 

Enumerations

enum  Joint {
  JNT_WORLD_ROOT , JNT_BACKBONE01 , JNT_BACKBONE02 , JNT_NECK01 ,
  JNT_NECK02 , JNT_FIN , JNT_HEAD , JNT_JAW1 ,
  JNT_JAW2 , JNT_TONGUE , JNT_SHOULDERL , JNT_ARML1 ,
  JNT_ARML2 , JNT_HANDL , JNT_FINGERL1 , JNT_FINGERL2 ,
  JNT_SHOULDERR , JNT_ARMR1 , JNT_ARMR2 , JNT_HANDR1 ,
  JNT_FINGERR1 , JNT_FINGERR2 , JNT_WAIST , JNT_LEGL1 ,
  JNT_LEGL2 , JNT_LEGL3 , JNT_FOOTL , JNT_LEGR1 ,
  JNT_LEGR2 , JNT_LEGR3 , JNT_FOOTR , JNT_TAIL01 ,
  JNT_TAIL02 , JNT_TAIL03 , JNT_TAIL04
}
 
enum  Action {
  ACTION_NORMAL = 0 , ACTION_FIGHT_RUN = 3 , ACTION_ATTACK_0 = 4 , ACTION_ATTACK = 5 ,
  ACTION_TAIL_ATTACK = 6 , ACTION_GUARD = 7 , ACTION_JUMP = 8 , ACTION_STAY = 9 ,
  ACTION_OTOREAC = 10 , ACTION_BOMB_ACTION = 11 , ACTION_DRAWBACK = 12 , ACTION_WOLFBITE = 13 ,
  ACTION_S_DAMAGE = 20 , ACTION_DAMAGE = 21 , ACTION_BACKDROP = 23 , ACTION_WATER = 24 ,
  ACTION_GAKEJUMP = 25 , ACTION_REG = 60
}
 
enum  Animation {
  ANM_ATTACK_TAIL_01 = 4 , ANM_ATTACK_TAIL_02 , ANM_ATTACK_TAIL_03 , ANM_ATTACK_00 ,
  ANM_ATTACK_01 , ANM_BLOWNOFF , ANM_BRUSH_LEFT_UP , ANM_BRUSH_RIGHT_UP ,
  ANM_DAMAGE_W , ANM_DIE_LEFT , ANM_DIE_LEFT_UP , ANM_DIE_RIGHT ,
  ANM_DIE_RIGHT_UP , ANM_DIE_W , ANM_DRAWBACK , ANM_DROWNED_A ,
  ANM_DROWNED_B , ANM_FIND , ANM_GUARD , ANM_HANGED ,
  ANM_HANGED_DAMAGE , ANM_HANGED_BRUSH , ANM_HANGED_WAIT , ANM_JUMP_A ,
  ANM_JUMP_B , ANM_JUMP_C , ANM_RUN , ANM_WAIT_01 ,
  ANM_WAIT_02 , ANM_WAIT_03 , ANM_WAIT_04 , ANM_WALK
}
 

Functions

static void dn_disappear (e_dn_class *i_this)
 
static void anm_init (e_dn_class *i_this, int i_anm_id, f32 i_morf, u8 i_attr, f32 i_rate)
 
static int nodeCallBack (J3DJoint *i_joint, int param_2)
 
static int daE_DN_Draw (e_dn_class *i_this)
 
static BOOL other_bg_check (e_dn_class *i_this, fopAc_ac_c *i_actor)
 
static BOOL other_bg_check2 (e_dn_class *i_this, cXyz *i_pos)
 
static void * s_b_sub (void *i_actor, void *i_data)
 
static dBomb_csearch_bomb (e_dn_class *i_this, int param_2)
 
static dBomb_cbomb_view_check (e_dn_class *i_this)
 
static dBomb_cbomb_check (e_dn_class *i_this)
 
static BOOL player_way_check (e_dn_class *i_this)
 
static int pl_check (e_dn_class *i_this, f32 search_area, s16 search_angle)
 
static BOOL move_gake_check (e_dn_class *i_this, f32 param_2, s8 param_3)
 
static BOOL jump_pos_check (e_dn_class *i_this, cXyz *i_pos)
 
static void e_dn_stay (e_dn_class *i_this)
 
static void e_dn_otoreac (e_dn_class *i_this)
 
static void e_dn_bomb_action (e_dn_class *i_this)
 
static void e_dn_normal (e_dn_class *i_this)
 
static void e_dn_drawback (e_dn_class *i_this)
 
static void e_dn_wolfbite (e_dn_class *i_this)
 
static int way_check (e_dn_class *i_this)
 
static void * shot_s_sub (void *i_actor, void *i_data)
 
static void e_dn_fight_run (e_dn_class *i_this)
 
static void e_dn_jump (e_dn_class *i_this)
 
static void e_dn_gakejump (e_dn_class *i_this)
 
static fopAc_ac_cat_hit_check (e_dn_class *i_this)
 
static void e_dn_attack_0 (e_dn_class *i_this)
 
static void e_dn_attack (e_dn_class *i_this)
 
static void tail_eff_set (e_dn_class *i_this)
 
static void e_dn_tail_attack (e_dn_class *i_this)
 
static void e_dn_guard (e_dn_class *i_this)
 
static void e_dn_s_damage (e_dn_class *i_this)
 
static BOOL kado_check (e_dn_class *i_this)
 
static BOOL body_gake (e_dn_class *i_this)
 
static void e_dn_damage (e_dn_class *i_this)
 
static void e_dn_backdrop (e_dn_class *i_this)
 
static void e_dn_water (e_dn_class *i_this)
 
static void e_dn_reg (e_dn_class *i_this)
 
static void wolfkick_damage (e_dn_class *i_this)
 
static void big_damage (e_dn_class *i_this)
 
static void small_damage (e_dn_class *i_this)
 
static void damage_check (e_dn_class *i_this)
 
static void action (e_dn_class *i_this)
 
static void anm_se_set (e_dn_class *i_this)
 
static int daE_DN_Execute (e_dn_class *i_this)
 
static int daE_DN_IsDelete (e_dn_class *i_this)
 
static int daE_DN_Delete (e_dn_class *i_this)
 
static int useHeapInit (fopAc_ac_c *actor)
 
static cPhs__Step daE_DN_Create (fopAc_ac_c *actor)
 

Variables

u8 l_initHIO
 
daE_DN_HIO_c l_HIO
 
fopAc_ac_ctarget_info [10]
 
int target_info_count
 
int learn_check
 
int c_start
 
Vec jv_offset = { 0.0f, 0.0f, 0.0f }
 
dJntColData_c jc_data [12]
 
 AUDIO_INSTANCES
 
static actor_method_class l_daE_DN_Method
 
actor_process_profile_definition g_profile_E_DN
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACTION_NORMAL 
ACTION_FIGHT_RUN 
ACTION_ATTACK_0 
ACTION_ATTACK 
ACTION_TAIL_ATTACK 
ACTION_GUARD 
ACTION_JUMP 
ACTION_STAY 
ACTION_OTOREAC 
ACTION_BOMB_ACTION 
ACTION_DRAWBACK 
ACTION_WOLFBITE 
ACTION_S_DAMAGE 
ACTION_DAMAGE 
ACTION_BACKDROP 
ACTION_WATER 
ACTION_GAKEJUMP 
ACTION_REG 

◆ Animation

enum Animation
Enumerator
ANM_ATTACK_TAIL_01 
ANM_ATTACK_TAIL_02 
ANM_ATTACK_TAIL_03 
ANM_ATTACK_00 
ANM_ATTACK_01 
ANM_BLOWNOFF 
ANM_BRUSH_LEFT_UP 
ANM_BRUSH_RIGHT_UP 
ANM_DAMAGE_W 
ANM_DIE_LEFT 
ANM_DIE_LEFT_UP 
ANM_DIE_RIGHT 
ANM_DIE_RIGHT_UP 
ANM_DIE_W 
ANM_DRAWBACK 
ANM_DROWNED_A 
ANM_DROWNED_B 
ANM_FIND 
ANM_GUARD 
ANM_HANGED 
ANM_HANGED_DAMAGE 
ANM_HANGED_BRUSH 
ANM_HANGED_WAIT 
ANM_JUMP_A 
ANM_JUMP_B 
ANM_JUMP_C 
ANM_RUN 
ANM_WAIT_01 
ANM_WAIT_02 
ANM_WAIT_03 
ANM_WAIT_04 
ANM_WALK 

◆ Joint

enum Joint
Enumerator
JNT_WORLD_ROOT 
JNT_BACKBONE01 
JNT_BACKBONE02 
JNT_NECK01 
JNT_NECK02 
JNT_FIN 
JNT_HEAD 
JNT_JAW1 
JNT_JAW2 
JNT_TONGUE 
JNT_SHOULDERL 
JNT_ARML1 
JNT_ARML2 
JNT_HANDL 
JNT_FINGERL1 
JNT_FINGERL2 
JNT_SHOULDERR 
JNT_ARMR1 
JNT_ARMR2 
JNT_HANDR1 
JNT_FINGERR1 
JNT_FINGERR2 
JNT_WAIST 
JNT_LEGL1 
JNT_LEGL2 
JNT_LEGL3 
JNT_FOOTL 
JNT_LEGR1 
JNT_LEGR2 
JNT_LEGR3 
JNT_FOOTR 
JNT_TAIL01 
JNT_TAIL02 
JNT_TAIL03 
JNT_TAIL04 

Function Documentation

◆ action()

static void action ( e_dn_class * i_this)
static

◆ anm_init()

static void anm_init ( e_dn_class * i_this,
int i_anm_id,
f32 i_morf,
u8 i_attr,
f32 i_rate )
static

◆ anm_se_set()

static void anm_se_set ( e_dn_class * i_this)
static

◆ at_hit_check()

static fopAc_ac_c * at_hit_check ( e_dn_class * i_this)
static

◆ big_damage()

static void big_damage ( e_dn_class * i_this)
static

◆ body_gake()

static BOOL body_gake ( e_dn_class * i_this)
static

◆ bomb_check()

static dBomb_c * bomb_check ( e_dn_class * i_this)
static

◆ bomb_view_check()

static dBomb_c * bomb_view_check ( e_dn_class * i_this)
static

◆ daE_DN_Create()

static cPhs__Step daE_DN_Create ( fopAc_ac_c * actor)
static

◆ daE_DN_Delete()

static int daE_DN_Delete ( e_dn_class * i_this)
static

◆ daE_DN_Draw()

static int daE_DN_Draw ( e_dn_class * i_this)
static

◆ daE_DN_Execute()

static int daE_DN_Execute ( e_dn_class * i_this)
static

◆ daE_DN_IsDelete()

static int daE_DN_IsDelete ( e_dn_class * i_this)
static

◆ damage_check()

static void damage_check ( e_dn_class * i_this)
static

◆ dn_disappear()

static void dn_disappear ( e_dn_class * i_this)
static

◆ e_dn_attack()

static void e_dn_attack ( e_dn_class * i_this)
static

◆ e_dn_attack_0()

static void e_dn_attack_0 ( e_dn_class * i_this)
static

◆ e_dn_backdrop()

static void e_dn_backdrop ( e_dn_class * i_this)
static

◆ e_dn_bomb_action()

static void e_dn_bomb_action ( e_dn_class * i_this)
static

◆ e_dn_damage()

static void e_dn_damage ( e_dn_class * i_this)
static

◆ e_dn_drawback()

static void e_dn_drawback ( e_dn_class * i_this)
static

◆ e_dn_fight_run()

static void e_dn_fight_run ( e_dn_class * i_this)
static

◆ e_dn_gakejump()

static void e_dn_gakejump ( e_dn_class * i_this)
static

◆ e_dn_guard()

static void e_dn_guard ( e_dn_class * i_this)
static

◆ e_dn_jump()

static void e_dn_jump ( e_dn_class * i_this)
static

◆ e_dn_normal()

static void e_dn_normal ( e_dn_class * i_this)
static

◆ e_dn_otoreac()

static void e_dn_otoreac ( e_dn_class * i_this)
static

◆ e_dn_reg()

static void e_dn_reg ( e_dn_class * i_this)
static

◆ e_dn_s_damage()

static void e_dn_s_damage ( e_dn_class * i_this)
static

◆ e_dn_stay()

static void e_dn_stay ( e_dn_class * i_this)
static

◆ e_dn_tail_attack()

static void e_dn_tail_attack ( e_dn_class * i_this)
static

◆ e_dn_water()

static void e_dn_water ( e_dn_class * i_this)
static

◆ e_dn_wolfbite()

static void e_dn_wolfbite ( e_dn_class * i_this)
static

◆ jump_pos_check()

static BOOL jump_pos_check ( e_dn_class * i_this,
cXyz * i_pos )
static

◆ kado_check()

static BOOL kado_check ( e_dn_class * i_this)
static

◆ move_gake_check()

static BOOL move_gake_check ( e_dn_class * i_this,
f32 param_2,
s8 param_3 )
static

◆ nodeCallBack()

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

◆ other_bg_check()

static BOOL other_bg_check ( e_dn_class * i_this,
fopAc_ac_c * i_actor )
static

◆ other_bg_check2()

static BOOL other_bg_check2 ( e_dn_class * i_this,
cXyz * i_pos )
static

◆ pl_check()

static int pl_check ( e_dn_class * i_this,
f32 search_area,
s16 search_angle )
static

◆ player_way_check()

static BOOL player_way_check ( e_dn_class * i_this)
static

◆ s_b_sub()

static void * s_b_sub ( void * i_actor,
void * i_data )
static

◆ search_bomb()

static dBomb_c * search_bomb ( e_dn_class * i_this,
int param_2 )
static

◆ shot_s_sub()

static void * shot_s_sub ( void * i_actor,
void * i_data )
static

◆ small_damage()

static void small_damage ( e_dn_class * i_this)
static

◆ tail_eff_set()

static void tail_eff_set ( e_dn_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * actor)
static

◆ way_check()

static int way_check ( e_dn_class * i_this)
static

◆ wolfkick_damage()

static void wolfkick_damage ( e_dn_class * i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ c_start

int c_start

◆ g_profile_E_DN

actor_process_profile_definition g_profile_E_DN
extern
Initial value:
= {
7,
sizeof(e_dn_class),
0,
0,
118,
0x00040000,
}
Lizalfos.
Definition d_a_e_dn.h:18
static actor_method_class l_daE_DN_Method
Definition d_a_e_dn.cpp:3495
@ PROC_E_DN
Definition d_procname.h:444
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_CUSTOM_e
Definition f_op_actor.h:70
@ fopAc_ENEMY_e
Definition f_op_actor.h:40
@ 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

◆ jc_data

dJntColData_c jc_data[12]
Initial value:
= {
{0, 1, 2, 40.0f, &jv_offset}, {0, 1, 3, 30.0f, &jv_offset},
{0, 1, 22, 40.0f, &jv_offset}, {0, 1, 11, 15.0f, &jv_offset},
{0, 1, 12, 10.0f, &jv_offset}, {0, 1, 17, 15.0f, &jv_offset},
{0, 1, 18, 10.0f, &jv_offset}, {0, 1, 23, 20.0f, &jv_offset},
{0, 1, 24, 15.0f, &jv_offset}, {0, 1, 27, 20.0f, &jv_offset},
{0, 1, 28, 15.0f, &jv_offset}, {0, 1, 32, 20.0f, &jv_offset},
}
Vec jv_offset
Definition d_a_e_dn.cpp:3302

◆ jv_offset

Vec jv_offset = { 0.0f, 0.0f, 0.0f }

◆ l_daE_DN_Method

actor_method_class l_daE_DN_Method
static
Initial value:
= {
}
static cPhs__Step daE_DN_Create(fopAc_ac_c *actor)
Definition d_a_e_dn.cpp:3362
static int daE_DN_Delete(e_dn_class *i_this)
Definition d_a_e_dn.cpp:3284
static int daE_DN_IsDelete(e_dn_class *i_this)
Definition d_a_e_dn.cpp:3280
static int daE_DN_Draw(e_dn_class *i_this)
Definition d_a_e_dn.cpp:261
static int daE_DN_Execute(e_dn_class *i_this)
Definition d_a_e_dn.cpp:2984
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daE_DN_HIO_c l_HIO

◆ l_initHIO

u8 l_initHIO

◆ learn_check

int learn_check

◆ target_info

fopAc_ac_c* target_info[10]

◆ target_info_count

int target_info_count