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

Classes

class  daE_MF_HIO_c
 

Enumerations

enum  Action {
  ACTION_NORMAL = 0 , ACTION_FIGHT_RUN = 3 , 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
}
 
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 mf_disappear (e_mf_class *i_this)
 
static void anm_init (e_mf_class *i_this, int i_anmID, f32 i_morf, u8 i_attr, f32 i_rate)
 
static int nodeCallBack (J3DJoint *i_joint, int param_2)
 
static int daE_MF_Draw (e_mf_class *i_this)
 
static BOOL other_bg_check (e_mf_class *i_this, fopAc_ac_c *i_actor)
 
static BOOL other_bg_check2 (e_mf_class *i_this, cXyz *param_2)
 
static void * s_b_sub (void *i_actor, void *i_data)
 
static dBomb_csearch_bomb (e_mf_class *i_this, BOOL param_2)
 
static dBomb_cbomb_view_check (e_mf_class *i_this)
 
static dBomb_cbomb_check (e_mf_class *i_this)
 
static BOOL player_way_check (e_mf_class *i_this)
 
static int pl_check (e_mf_class *i_this, f32 param_2, s16 param_3)
 
static BOOL move_gake_check (e_mf_class *i_this, f32 param_2, s8 param_3)
 
static BOOL jump_pos_check (e_mf_class *i_this, cXyz *param_2)
 
static void e_mf_stay (e_mf_class *i_this)
 
static void e_mf_otoreac (e_mf_class *i_this)
 
static void e_mf_bomb_action (e_mf_class *i_this)
 
static void e_mf_normal (e_mf_class *i_this)
 
static void e_mf_drawback (e_mf_class *i_this)
 
static void e_mf_wolfbite (e_mf_class *i_this)
 
static int way_check (e_mf_class *i_this)
 
static void * shot_s_sub (void *i_actor, void *i_data)
 
static void e_mf_fight_run (e_mf_class *i_this)
 
static void e_mf_jump (e_mf_class *i_this)
 
static void e_mf_gakejump (e_mf_class *i_this)
 
static fopAc_ac_cat_hit_check (e_mf_class *i_this)
 
static void e_mf_attack (e_mf_class *i_this)
 
static void tail_eff_set (e_mf_class *i_this)
 
static void e_mf_tail_attack (e_mf_class *i_this)
 
static void e_mf_guard (e_mf_class *i_this)
 
static void e_mf_s_damage (e_mf_class *i_this)
 
static int kado_check (e_mf_class *i_this)
 
static BOOL body_gake (e_mf_class *i_this)
 
static void e_mf_damage (e_mf_class *i_this)
 
static void e_mf_backdrop (e_mf_class *i_this)
 
static void e_mf_water (e_mf_class *i_this)
 
static void wolfkick_damage (e_mf_class *i_this)
 
static void big_damage (e_mf_class *i_this)
 
static void small_damage (e_mf_class *i_this)
 
static void damage_check (e_mf_class *i_this)
 
static void action (e_mf_class *i_this)
 
static void anm_se_set (e_mf_class *i_this)
 
static int daE_MF_Execute (e_mf_class *i_this)
 
static int daE_MF_IsDelete (e_mf_class *i_this)
 
static int daE_MF_Delete (e_mf_class *i_this)
 
static int useHeapInit (fopAc_ac_c *a_this)
 
static cPhs__Step daE_MF_Create (fopAc_ac_c *a_this)
 

Variables

u8 l_initHIO
 
daE_MF_HIO_c l_HIO
 
fopAc_ac_ctarget_info [10]
 
int target_info_count
 
int c_start
 
Vec jv_offset = { 0.0f, 0.0f, 0.0f }
 
dJntColData_c jc_data [12]
 
 AUDIO_INSTANCES
 
actor_method_class l_daE_MF_Method
 
actor_process_profile_definition g_profile_E_MF
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACTION_NORMAL 
ACTION_FIGHT_RUN 
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 

◆ 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 

Function Documentation

◆ action()

static void action ( e_mf_class * i_this)
static

◆ anm_init()

static void anm_init ( e_mf_class * i_this,
int i_anmID,
f32 i_morf,
u8 i_attr,
f32 i_rate )
static

◆ anm_se_set()

static void anm_se_set ( e_mf_class * i_this)
static

◆ at_hit_check()

static fopAc_ac_c * at_hit_check ( e_mf_class * i_this)
static

◆ big_damage()

static void big_damage ( e_mf_class * i_this)
static

◆ body_gake()

static BOOL body_gake ( e_mf_class * i_this)
static

◆ bomb_check()

static dBomb_c * bomb_check ( e_mf_class * i_this)
static

◆ bomb_view_check()

static dBomb_c * bomb_view_check ( e_mf_class * i_this)
static

◆ daE_MF_Create()

static cPhs__Step daE_MF_Create ( fopAc_ac_c * a_this)
static

◆ daE_MF_Delete()

static int daE_MF_Delete ( e_mf_class * i_this)
static

◆ daE_MF_Draw()

static int daE_MF_Draw ( e_mf_class * i_this)
static

◆ daE_MF_Execute()

static int daE_MF_Execute ( e_mf_class * i_this)
static

◆ daE_MF_IsDelete()

static int daE_MF_IsDelete ( e_mf_class * i_this)
static

◆ damage_check()

static void damage_check ( e_mf_class * i_this)
static

◆ e_mf_attack()

static void e_mf_attack ( e_mf_class * i_this)
static

◆ e_mf_backdrop()

static void e_mf_backdrop ( e_mf_class * i_this)
static

◆ e_mf_bomb_action()

static void e_mf_bomb_action ( e_mf_class * i_this)
static

◆ e_mf_damage()

static void e_mf_damage ( e_mf_class * i_this)
static

◆ e_mf_drawback()

static void e_mf_drawback ( e_mf_class * i_this)
static

◆ e_mf_fight_run()

static void e_mf_fight_run ( e_mf_class * i_this)
static

◆ e_mf_gakejump()

static void e_mf_gakejump ( e_mf_class * i_this)
static

◆ e_mf_guard()

static void e_mf_guard ( e_mf_class * i_this)
static

◆ e_mf_jump()

static void e_mf_jump ( e_mf_class * i_this)
static

◆ e_mf_normal()

static void e_mf_normal ( e_mf_class * i_this)
static

◆ e_mf_otoreac()

static void e_mf_otoreac ( e_mf_class * i_this)
static

◆ e_mf_s_damage()

static void e_mf_s_damage ( e_mf_class * i_this)
static

◆ e_mf_stay()

static void e_mf_stay ( e_mf_class * i_this)
static

◆ e_mf_tail_attack()

static void e_mf_tail_attack ( e_mf_class * i_this)
static

◆ e_mf_water()

static void e_mf_water ( e_mf_class * i_this)
static

◆ e_mf_wolfbite()

static void e_mf_wolfbite ( e_mf_class * i_this)
static

◆ jump_pos_check()

static BOOL jump_pos_check ( e_mf_class * i_this,
cXyz * param_2 )
static

◆ kado_check()

static int kado_check ( e_mf_class * i_this)
static

◆ mf_disappear()

static void mf_disappear ( e_mf_class * i_this)
static

◆ move_gake_check()

static BOOL move_gake_check ( e_mf_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_mf_class * i_this,
fopAc_ac_c * i_actor )
static

◆ other_bg_check2()

static BOOL other_bg_check2 ( e_mf_class * i_this,
cXyz * param_2 )
static

◆ pl_check()

static int pl_check ( e_mf_class * i_this,
f32 param_2,
s16 param_3 )
static

◆ player_way_check()

static BOOL player_way_check ( e_mf_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_mf_class * i_this,
BOOL 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_mf_class * i_this)
static

◆ tail_eff_set()

static void tail_eff_set ( e_mf_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * a_this)
static

◆ way_check()

static int way_check ( e_mf_class * i_this)
static

◆ wolfkick_damage()

static void wolfkick_damage ( e_mf_class * i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ c_start

int c_start

◆ g_profile_E_MF

actor_process_profile_definition g_profile_E_MF
extern
Initial value:
= {
7,
sizeof(e_mf_class),
0,
0,
120,
0x00040000,
}
Dynalfos.
Definition d_a_e_mf.h:17
actor_method_class l_daE_MF_Method
Definition d_a_e_mf.cpp:3266
@ PROC_E_MF
Definition d_procname.h:446
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_mf.cpp:3088

◆ jv_offset

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

◆ l_daE_MF_Method

actor_method_class l_daE_MF_Method
Initial value:
= {
}
static int daE_MF_Delete(e_mf_class *i_this)
Definition d_a_e_mf.cpp:3073
static cPhs__Step daE_MF_Create(fopAc_ac_c *a_this)
Definition d_a_e_mf.cpp:3139
static int daE_MF_IsDelete(e_mf_class *i_this)
Definition d_a_e_mf.cpp:3069
static int daE_MF_Draw(e_mf_class *i_this)
Definition d_a_e_mf.cpp:203
static int daE_MF_Execute(e_mf_class *i_this)
Definition d_a_e_mf.cpp:2778
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daE_MF_HIO_c l_HIO

◆ l_initHIO

u8 l_initHIO

◆ target_info

fopAc_ac_c* target_info[10]

◆ target_info_count

int target_info_count