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

Enumerations

enum  Action {
  ACT_TK2_WAIT , ACT_TK2_FIND , ACT_TK2_ATTACK , ACT_TK2_S_DAMAGE = 0x9 ,
  ACT_TK2_DAMAGE
}
 
enum  Animation {
  ANM_TK2_APPEAR = 0x4 , ANM_TK2_ATTACK , ANM_TK2_DAMAGE , ANM_TK2_HIDE ,
  ANM_TK2_KYORO2 , ANM_TK2_SWIM , ANM_TK2_WAIT01
}
 
enum  Mode {
  MODE_TK2_NONE , MODE_TK2_APPEAR , MODE_TK2_ATTACK , MODE_TK2_DAMAGE ,
  MODE_TK2_HIDE , MODE_TK2_KYORO2 = 0xA , MODE_TK2_SWIM , MODE_TK2_WAIT01
}
 

Functions

static void anm_init (e_tk2_class *i_this, int i_index, f32 i_morf, u8 i_attr, f32 i_rate)
 
static int daE_TK2_Draw (e_tk2_class *i_this)
 
static int other_bg_check (e_tk2_class *i_this, fopAc_ac_c *i_ac)
 
static int pl_check (e_tk2_class *i_this, f32 i_limit, s16 i_max_diff)
 
static void damage_check (e_tk2_class *i_this)
 
static void e_tk2_wait_0 (e_tk2_class *i_this)
 
static void e_tk2_find (e_tk2_class *i_this)
 
static void e_tk2_attack (e_tk2_class *i_this)
 
static void e_tk2_s_damage (e_tk2_class *i_this)
 
static void e_tk2_damage (e_tk2_class *i_this)
 
static void action (e_tk2_class *i_this)
 
static int daE_TK2_Execute (e_tk2_class *i_this)
 
static int daE_TK2_IsDelete (e_tk2_class *i_this)
 
static int daE_TK2_Delete (e_tk2_class *i_this)
 
static int useHeapInit (fopAc_ac_c *a_this)
 
static int daE_TK2_Create (fopAc_ac_c *i_this)
 

Variables

static bool hioInit
 
static daE_TK2_HIO_c l_HIO
 
static dCcD_SrcSph cc_sph_src
 
static actor_method_class l_daE_TK2_Method
 
actor_process_profile_definition g_profile_E_TK2
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACT_TK2_WAIT 
ACT_TK2_FIND 
ACT_TK2_ATTACK 
ACT_TK2_S_DAMAGE 
ACT_TK2_DAMAGE 

◆ Animation

enum Animation
Enumerator
ANM_TK2_APPEAR 
ANM_TK2_ATTACK 
ANM_TK2_DAMAGE 
ANM_TK2_HIDE 
ANM_TK2_KYORO2 
ANM_TK2_SWIM 
ANM_TK2_WAIT01 

◆ Mode

enum Mode
Enumerator
MODE_TK2_NONE 
MODE_TK2_APPEAR 
MODE_TK2_ATTACK 
MODE_TK2_DAMAGE 
MODE_TK2_HIDE 
MODE_TK2_KYORO2 
MODE_TK2_SWIM 
MODE_TK2_WAIT01 

Function Documentation

◆ action()

static void action ( e_tk2_class * i_this)
static

◆ anm_init()

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

◆ daE_TK2_Create()

static int daE_TK2_Create ( fopAc_ac_c * i_this)
static

◆ daE_TK2_Delete()

static int daE_TK2_Delete ( e_tk2_class * i_this)
static

◆ daE_TK2_Draw()

static int daE_TK2_Draw ( e_tk2_class * i_this)
static

◆ daE_TK2_Execute()

static int daE_TK2_Execute ( e_tk2_class * i_this)
static

◆ daE_TK2_IsDelete()

static int daE_TK2_IsDelete ( e_tk2_class * i_this)
static

◆ damage_check()

static void damage_check ( e_tk2_class * i_this)
static

◆ e_tk2_attack()

static void e_tk2_attack ( e_tk2_class * i_this)
static

◆ e_tk2_damage()

static void e_tk2_damage ( e_tk2_class * i_this)
static

◆ e_tk2_find()

static void e_tk2_find ( e_tk2_class * i_this)
static

◆ e_tk2_s_damage()

static void e_tk2_s_damage ( e_tk2_class * i_this)
static

◆ e_tk2_wait_0()

static void e_tk2_wait_0 ( e_tk2_class * i_this)
static

◆ other_bg_check()

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

◆ pl_check()

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

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * a_this)
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_TK2

actor_process_profile_definition g_profile_E_TK2
extern
Initial value:
= {
7,
sizeof(e_tk2_class),
0,
0,
150,
0x00040100,
}
Fire Toadpoli.
Definition d_a_e_tk2.h:21
static actor_method_class l_daE_TK2_Method
Definition d_a_e_tk2.cpp:548
@ PROC_E_TK2
Definition d_procname.h:474
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_TK2_Method

actor_method_class l_daE_TK2_Method
static
Initial value:
= {
}
static int daE_TK2_Execute(e_tk2_class *i_this)
Definition d_a_e_tk2.cpp:343
static int daE_TK2_Delete(e_tk2_class *i_this)
Definition d_a_e_tk2.cpp:463
static int daE_TK2_Draw(e_tk2_class *i_this)
Definition d_a_e_tk2.cpp:61
static int daE_TK2_Create(fopAc_ac_c *i_this)
Definition d_a_e_tk2.cpp:501
static int daE_TK2_IsDelete(e_tk2_class *i_this)
Definition d_a_e_tk2.cpp:459
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daE_TK2_HIO_c l_HIO
static