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

Enumerations

enum  Action {
  ACT_TK_WAIT , ACT_TK_FIND , ACT_TK_ATTACK , ACT_TK_PATHSWIM = 0x5 ,
  ACT_TK_S_DAMAGE = 0x9 , ACT_TK_DAMAGE
}
 
enum  Animation {
  ANM_TK_APPEAR = 0x4 , ANM_TK_ATTACK , ANM_TK_DAMAGE , ANM_TK_HIDE ,
  ANM_TK_KYORO2 , ANM_TK_SWIM , ANM_TK_WAIT01
}
 
enum  Mode {
  MODE_TK_NONE , MODE_TK_APPEAR , MODE_TK_ATTACK , MODE_TK_DAMAGE ,
  MODE_TK_HIDE , MODE_TK_KYORO2 = 0xA , MODE_TK_SWIM , MODE_TK_WAIT01
}
 

Functions

static void anm_init (e_tk_class *i_this, int i_index, f32 i_morf, u8 i_attr, f32 i_rate)
 
static int daE_TK_Draw (e_tk_class *i_this)
 
static int other_bg_check (e_tk_class *i_this, fopAc_ac_c *i_ac)
 
static int pl_y_check (e_tk_class *i_this)
 
static int pl_check (e_tk_class *i_this, f32 i_limit, s16 i_max_diff)
 
static void damage_check (e_tk_class *i_this)
 
static int way_bg_check (e_tk_class *i_this, f32 i_limit)
 
static void e_tk_wait_0 (e_tk_class *i_this)
 
static void e_tk_find (e_tk_class *i_this)
 
static void e_tk_attack (e_tk_class *i_this)
 
static void e_tk_pathswim (e_tk_class *i_this)
 
static void e_tk_s_damage (e_tk_class *i_this)
 
static void e_tk_damage (e_tk_class *i_this)
 
static void action (e_tk_class *i_this)
 
static int daE_TK_Execute (e_tk_class *i_this)
 
static int daE_TK_IsDelete (e_tk_class *i_this)
 
static int daE_TK_Delete (e_tk_class *i_this)
 
static int useHeapInit (fopAc_ac_c *a_this)
 
static int daE_TK_Create (fopAc_ac_c *i_this)
 

Variables

static bool hioInit
 
static daE_TK_HIO_c l_HIO
 
static dCcD_SrcSph cc_sph_src
 
static actor_method_class l_daE_TK_Method
 
actor_process_profile_definition g_profile_E_TK
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACT_TK_WAIT 
ACT_TK_FIND 
ACT_TK_ATTACK 
ACT_TK_PATHSWIM 
ACT_TK_S_DAMAGE 
ACT_TK_DAMAGE 

◆ Animation

enum Animation
Enumerator
ANM_TK_APPEAR 
ANM_TK_ATTACK 
ANM_TK_DAMAGE 
ANM_TK_HIDE 
ANM_TK_KYORO2 
ANM_TK_SWIM 
ANM_TK_WAIT01 

◆ Mode

enum Mode
Enumerator
MODE_TK_NONE 
MODE_TK_APPEAR 
MODE_TK_ATTACK 
MODE_TK_DAMAGE 
MODE_TK_HIDE 
MODE_TK_KYORO2 
MODE_TK_SWIM 
MODE_TK_WAIT01 

Function Documentation

◆ action()

static void action ( e_tk_class * i_this)
static

◆ anm_init()

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

◆ daE_TK_Create()

static int daE_TK_Create ( fopAc_ac_c * i_this)
static

◆ daE_TK_Delete()

static int daE_TK_Delete ( e_tk_class * i_this)
static

◆ daE_TK_Draw()

static int daE_TK_Draw ( e_tk_class * i_this)
static

◆ daE_TK_Execute()

static int daE_TK_Execute ( e_tk_class * i_this)
static

◆ daE_TK_IsDelete()

static int daE_TK_IsDelete ( e_tk_class * i_this)
static

◆ damage_check()

static void damage_check ( e_tk_class * i_this)
static

◆ e_tk_attack()

static void e_tk_attack ( e_tk_class * i_this)
static

◆ e_tk_damage()

static void e_tk_damage ( e_tk_class * i_this)
static

◆ e_tk_find()

static void e_tk_find ( e_tk_class * i_this)
static

◆ e_tk_pathswim()

static void e_tk_pathswim ( e_tk_class * i_this)
static

◆ e_tk_s_damage()

static void e_tk_s_damage ( e_tk_class * i_this)
static

◆ e_tk_wait_0()

static void e_tk_wait_0 ( e_tk_class * i_this)
static

◆ other_bg_check()

static int other_bg_check ( e_tk_class * i_this,
fopAc_ac_c * i_ac )
static

◆ pl_check()

static int pl_check ( e_tk_class * i_this,
f32 i_limit,
s16 i_max_diff )
static

◆ pl_y_check()

static int pl_y_check ( e_tk_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * a_this)
static

◆ way_bg_check()

static int way_bg_check ( e_tk_class * i_this,
f32 i_limit )
static

Variable Documentation

◆ cc_sph_src

dCcD_SrcSph cc_sph_src
static
Initial value:
= {
{
{0x0, {{0x0, 0x0, 0xd}, {0xd8fbfdff, 0x3}, 0x75}},
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x0},
{dCcD_SE_NONE, 0x0, 0x0, 0x0, 0x2},
{0x0},
},
{
{{0.0f, 0.0f, 0.0f}, 40.0f}
}
}
@ dCcD_SE_NONE
Definition d_cc_d.h:13

◆ g_profile_E_TK

actor_process_profile_definition g_profile_E_TK
extern
Initial value:
= {
7,
sizeof(e_tk_class),
0,
0,
149,
0x00040100,
}
Water Toadpoli.
Definition d_a_e_tk.h:21
static actor_method_class l_daE_TK_Method
Definition d_a_e_tk.cpp:744
@ PROC_E_TK
Definition d_procname.h:473
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

◆ hioInit

bool hioInit
static

◆ l_daE_TK_Method

actor_method_class l_daE_TK_Method
static
Initial value:
= {
}
static int daE_TK_Execute(e_tk_class *i_this)
Definition d_a_e_tk.cpp:522
static int daE_TK_IsDelete(e_tk_class *i_this)
Definition d_a_e_tk.cpp:646
static int daE_TK_Delete(e_tk_class *i_this)
Definition d_a_e_tk.cpp:650
static int daE_TK_Create(fopAc_ac_c *i_this)
Definition d_a_e_tk.cpp:688
static int daE_TK_Draw(e_tk_class *i_this)
Definition d_a_e_tk.cpp:63
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daE_TK_HIO_c l_HIO
static