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

Enumerations

enum  daE_S1_ACTION {
  ACT_WAIT , ACT_ROOF , ACT_FIGHT_RUN , ACT_FIGHT ,
  ACT_BIBIRI , ACT_DAMAGE , ACT_INVINCIBLE , ACT_PATH ,
  ACT_WOLFBITE , ACT_FAIL_WAIT , ACT_FAIL , ACT_SHOUT ,
  ACT_WARP_APPEAR = 20
}
 

Functions

static void anm_init (e_s1_class *i_this, int i_resNo, f32 i_morf, u8 i_attr, f32 i_speed)
 
static int daE_S1_Draw (e_s1_class *i_this)
 
static BOOL pl_check (e_s1_class *i_this, f32 i_check_range)
 
static BOOL pl_at_check (e_s1_class *i_this, f32 i_check_range)
 
 UNK_BSS (1109) UNK_BSS(1107) UNK_BSS(1105) UNK_BSS(1104) UNK_BSS(1099) UNK_BSS(1097) UNK_BSS(1095) UNK_BSS(1094) UNK_BSS(1057) UNK_BSS(1055) UNK_BSS(1053) UNK_BSS(1052) UNK_BSS(1014) UNK_BSS(1012) UNK_BSS(1010) static u8 data_8078137c
 
static BOOL path_check (e_s1_class *i_this)
 
static void path_check2 (e_s1_class *i_this)
 
static voids_last_sub (void *i_actor, void *i_data)
 
static void damage_check (e_s1_class *i_this)
 
static void e_s1_wait (e_s1_class *i_this)
 
static void e_s1_roof (e_s1_class *i_this)
 
static void e_s1_fight_run (e_s1_class *i_this)
 
static void e_s1_fight (e_s1_class *i_this)
 
static void e_s1_bibiri (e_s1_class *i_this)
 
static void e_s1_damage (e_s1_class *i_this)
 
static void e_s1_path (e_s1_class *i_this)
 
static voids_down_sub (void *i_actor, void *i_data)
 
static voids_fail_sub (void *i_actor, void *i_data)
 
static BOOL all_fail_check (e_s1_class *i_this)
 
static voids_allfail_sub (void *i_actor, void *i_data)
 
static void all_fail (e_s1_class *i_this)
 
static voids_allwakeup_sub (void *i_actor, void *i_data)
 
static voids_posrevise_sub (void *i_actor, void *i_data)
 
static void e_s1_failwait (e_s1_class *i_this)
 
static void e_s1_fail (e_s1_class *i_this)
 
static void e_s1_shout (e_s1_class *i_this)
 
static void e_s1_warpappear (e_s1_class *i_this)
 
static void ke_control (e_s1_class *i_this, s1_ke_s *i_ke, int i_no, f32 i_posZ)
 
static void ke_move (e_s1_class *i_this, mDoExt_3DlineMat0_c *i_line, s1_ke_s *i_ke, int i_no, f32 i_posZ)
 
static void e_s1_wolfbite (e_s1_class *i_this)
 
static void action (e_s1_class *i_this)
 
static void ke_set (e_s1_class *i_this)
 
static void demo_camera (e_s1_class *i_this)
 
static void anm_se_set (e_s1_class *i_this)
 
static void body_eff_set (e_s1_class *i_this)
 
static int daE_S1_Execute (e_s1_class *i_this)
 
static int daE_S1_IsDelete (e_s1_class *i_this)
 
static int daE_S1_Delete (e_s1_class *i_this)
 
static int useHeapInit (fopAc_ac_c *i_this)
 
static int daE_S1_Create (fopAc_ac_c *i_this)
 

Variables

static u8 l_no_fail
 
static u8 l_initHIO
 
static daE_S1_HIO_c l_HIO
 
static int same_id
 
static int fail_id
 
static int s_check
 
static cXyz s_p [2]
 
static s16 s_ya [2] = {0, 0}
 
static Vec jv_offset = {0.0f, 0.0f, 0.0f}
 
static dJntColData_c jc_data []
 
static actor_method_class l_daE_S1_Method
 
actor_process_profile_definition g_profile_E_S1
 
 AUDIO_INSTANCES
 

Enumeration Type Documentation

◆ daE_S1_ACTION

Enumerator
ACT_WAIT 
ACT_ROOF 
ACT_FIGHT_RUN 
ACT_FIGHT 
ACT_BIBIRI 
ACT_DAMAGE 
ACT_INVINCIBLE 
ACT_PATH 
ACT_WOLFBITE 
ACT_FAIL_WAIT 
ACT_FAIL 
ACT_SHOUT 
ACT_WARP_APPEAR 

Function Documentation

◆ action()

static void action ( e_s1_class i_this)
static

◆ all_fail()

static void all_fail ( e_s1_class i_this)
static

◆ all_fail_check()

static BOOL all_fail_check ( e_s1_class i_this)
static

◆ anm_init()

static void anm_init ( e_s1_class i_this,
int  i_resNo,
f32  i_morf,
u8  i_attr,
f32  i_speed 
)
static

◆ anm_se_set()

static void anm_se_set ( e_s1_class i_this)
static

◆ body_eff_set()

static void body_eff_set ( e_s1_class i_this)
static

◆ daE_S1_Create()

static int daE_S1_Create ( fopAc_ac_c i_this)
static

◆ daE_S1_Delete()

static int daE_S1_Delete ( e_s1_class i_this)
static

◆ daE_S1_Draw()

static int daE_S1_Draw ( e_s1_class i_this)
static

◆ daE_S1_Execute()

static int daE_S1_Execute ( e_s1_class i_this)
static

◆ daE_S1_IsDelete()

static int daE_S1_IsDelete ( e_s1_class i_this)
static

◆ damage_check()

static void damage_check ( e_s1_class i_this)
static

◆ demo_camera()

static void demo_camera ( e_s1_class i_this)
static

◆ e_s1_bibiri()

static void e_s1_bibiri ( e_s1_class i_this)
static

◆ e_s1_damage()

static void e_s1_damage ( e_s1_class i_this)
static

◆ e_s1_fail()

static void e_s1_fail ( e_s1_class i_this)
static

◆ e_s1_failwait()

static void e_s1_failwait ( e_s1_class i_this)
static

◆ e_s1_fight()

static void e_s1_fight ( e_s1_class i_this)
static

◆ e_s1_fight_run()

static void e_s1_fight_run ( e_s1_class i_this)
static

◆ e_s1_path()

static void e_s1_path ( e_s1_class i_this)
static

◆ e_s1_roof()

static void e_s1_roof ( e_s1_class i_this)
static

◆ e_s1_shout()

static void e_s1_shout ( e_s1_class i_this)
static

◆ e_s1_wait()

static void e_s1_wait ( e_s1_class i_this)
static

◆ e_s1_warpappear()

static void e_s1_warpappear ( e_s1_class i_this)
static

◆ e_s1_wolfbite()

static void e_s1_wolfbite ( e_s1_class i_this)
static

◆ ke_control()

static void ke_control ( e_s1_class i_this,
s1_ke_s i_ke,
int  i_no,
f32  i_posZ 
)
static

◆ ke_move()

static void ke_move ( e_s1_class i_this,
mDoExt_3DlineMat0_c i_line,
s1_ke_s i_ke,
int  i_no,
f32  i_posZ 
)
static

◆ ke_set()

static void ke_set ( e_s1_class i_this)
static

◆ path_check()

static BOOL path_check ( e_s1_class i_this)
static

◆ path_check2()

static void path_check2 ( e_s1_class i_this)
static

◆ pl_at_check()

static BOOL pl_at_check ( e_s1_class i_this,
f32  i_check_range 
)
static

◆ pl_check()

static BOOL pl_check ( e_s1_class i_this,
f32  i_check_range 
)
static

◆ s_allfail_sub()

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

◆ s_allwakeup_sub()

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

◆ s_down_sub()

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

◆ s_fail_sub()

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

◆ s_last_sub()

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

◆ s_posrevise_sub()

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

◆ UNK_BSS()

UNK_BSS ( 1109  )

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ fail_id

int fail_id
static

◆ g_profile_E_S1

actor_process_profile_definition g_profile_E_S1
extern
Initial value:
= {
7,
&g_fpcLf_Method.mBase,
sizeof(e_s1_class),
0,
0,
121,
0x00040000,
}
Shadow Beast.
Definition d_a_e_s1.h:27
static actor_method_class l_daE_S1_Method
Definition d_a_e_s1.cpp:2291
void * g_fopAc_Method[8]
void * g_fpcLf_Method[5+1]
Definition f_pc_leaf.cpp:65
@ PROC_E_S1
Definition d_procname.h:441
@ fopAc_CULLBOX_CUSTOM_e
Definition f_op_actor.h:67
@ fopAc_ENEMY_e
Definition f_op_actor.h:40
@ fpcLy_CURRENT_e
Definition f_pc_layer_tag.h:9
@ fpcPi_CURRENT_e
Definition f_pc_priority.h:8

◆ jc_data

dJntColData_c jc_data[]
static
Initial value:
= {
{0, 1, 1, 30.0f, &jv_offset},
{0, 1, 2, 30.0f, &jv_offset},
{0, 1, 3, 25.0f, &jv_offset},
{0, 1, 7, 15.0f, &jv_offset},
{0, 1, 8, 10.0f, &jv_offset},
{0, 1, 14, 15.0f, &jv_offset},
{0, 1, 15, 10.0f, &jv_offset},
{0, 1, 21, 10.0f, &jv_offset},
{0, 1, 24, 10.0f, &jv_offset},
}
static Vec jv_offset
Definition d_a_e_s1.cpp:2092

◆ jv_offset

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

◆ l_daE_S1_Method

actor_method_class l_daE_S1_Method
static
Initial value:
= {
}
static int daE_S1_Draw(e_s1_class *i_this)
Definition d_a_e_s1.cpp:85
static int daE_S1_Delete(e_s1_class *i_this)
Definition d_a_e_s1.cpp:2076
static int daE_S1_Create(fopAc_ac_c *i_this)
Definition d_a_e_s1.cpp:2128
static int daE_S1_IsDelete(e_s1_class *i_this)
Definition d_a_e_s1.cpp:2071
static int daE_S1_Execute(e_s1_class *i_this)
Definition d_a_e_s1.cpp:1839
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

◆ l_initHIO

u8 l_initHIO
static

◆ l_no_fail

u8 l_no_fail
static

◆ s_check

int s_check
static

◆ s_p

cXyz s_p[2]
static
Initial value:
= {
cXyz(-16500.0f, 0.0f, -100.0f),
cXyz(-16300.0f, 0.0f, -400.0f),
}
Definition d_a_hozelda.cpp:20

◆ s_ya

s16 s_ya[2] = {0, 0}
static

◆ same_id

int same_id
static