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

Actor - Blizzeta (Boss) More...

Classes

class  daB_YO_HIO_c
 

Enumerations

enum  B_YO_RES_FILE_ID {
  BCK_YKW_B_ANGRY = 7 , BCK_YKW_B_ANGRY_WAIT , BCK_YKW_B_DOWN , BCK_YKW_B_DOWNA ,
  BCK_YKW_B_DOWNB , BCK_YKW_B_DOWNC , BCK_YKW_B_FLOAT , BCK_YKW_B_FLOATB ,
  BCK_YKW_B_SCREAM , BCK_YKW_B_SCREAM_WAIT , BCK_YKW_B_TALKA , BCK_YKW_B_TALKB ,
  BCK_YKW_B_TO_TALKB , BCK_YKW_B_WAITA , BCK_YKW_B_WAITB , BCK_YKW_B_WAITC ,
  BCK_YKW_B_WAITC2 , BCK_YKW_B_WAITD , BCK_YKW_B_WALK , BMDE_YKW_B = 0x1C ,
  BMDE_YO01 , BMDE_YO02 , BMDE_YO_CORE , BMDE_YO_HIBI ,
  BMDE_YO_ICE , BRK_YKW_B = 0x24 , BRK_YKW_B_ANGRY , BRK_YKW_B_ANGRY_WAIT ,
  BRK_YKW_B_WHITE , BTK_YKW_B_ANGRY = 0x2A , BTK_YKW_B_DOWN , BTK_YKW_B_FLOAT ,
  BTK_YKW_B_SCREAM , BTK_YKW_B_SCREAM_WAIT , BTK_YKW_B_TALKA , BTK_YKW_B_TALKB ,
  BTK_YKW_B_TO_TALKB , BTK_YKW_B_WAITA , BTK_YKW_B_WAITB , BTK_YKW_B_WALK ,
  BTK_YO_KANNKYOU , BTP_YKW_B_ANGRY = 0x38 , BTP_YKW_B_FACEA , BTP_YKW_B_FACEB ,
  BTP_YKW_B_FLOAT , BTP_YKW_B_TALKA , BTP_YKW_B_TALKB , BTP_YKW_B_TO_TALKB ,
  BTP_YKW_B_WAITA , BTP_YKW_B_WAITB , BTP_YKW_B_WALK
}
 
enum  L5_R50_RES_FIL_ID {
  BMDR_R50_P1 = 4 , BMDR_R50_P2 , BMDR_T_R50FURNITURE , DZB_R50_P1 = 9 ,
  DZB_R50_P2
}
 

Functions

 STATIC_ASSERT (sizeof(daB_YO_HIO_c)==0x5C)
 
static int daB_YO_Draw (daB_YO_c *i_this)
 
static void * s_frizad_delete (void *param_0, void *param_1)
 
static int daB_YO_Execute (daB_YO_c *i_this)
 
static int daB_YO_IsDelete (daB_YO_c *i_this)
 
static int daB_YO_Delete (daB_YO_c *i_this)
 
static int useHeapInit (fopAc_ac_c *i_this)
 
static int useHeapInit2 (fopAc_ac_c *i_this)
 
static cPhs__Step daB_YO_Create (daB_YO_c *i_this)
 

Variables

static bool hioInit
 
static daB_YO_HIO_c l_HIO
 
static bool yo_material_draw [27]
 
static int yo_demo_bck_idx [19]
 
static int yo_demo_btk_idx [19]
 
static int yo_demo_btp_idx [19]
 
static f32 yo_max_bound_speed [8] = {10.0f, 12.0f, 15.0f, 18.0f, 21.0f, 24.0f, 27.0f, 30.0f}
 
static f32 yo_damage_speed [7] = {12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f}
 
static f32 yo_chase_speed [8] = {3.0f, 4.0f, 5.f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f}
 
static int yo_damage_timer [7] = {90, 100, 110, 120, 130, 140, 150}
 
static f32 yo_att_pos_y [7] = {1300.0f, 950.0f, 700.0f, 450.0f, 850.0f, 470.0f, 300.0f}
 
static actor_method_class l_daB_YO_Method
 
actor_process_profile_definition g_profile_B_YO
 
 AUDIO_INSTANCES
 

Detailed Description

Actor - Blizzeta (Boss)

Enumeration Type Documentation

◆ B_YO_RES_FILE_ID

Enumerator
BCK_YKW_B_ANGRY 
BCK_YKW_B_ANGRY_WAIT 
BCK_YKW_B_DOWN 
BCK_YKW_B_DOWNA 
BCK_YKW_B_DOWNB 
BCK_YKW_B_DOWNC 
BCK_YKW_B_FLOAT 
BCK_YKW_B_FLOATB 
BCK_YKW_B_SCREAM 
BCK_YKW_B_SCREAM_WAIT 
BCK_YKW_B_TALKA 
BCK_YKW_B_TALKB 
BCK_YKW_B_TO_TALKB 
BCK_YKW_B_WAITA 
BCK_YKW_B_WAITB 
BCK_YKW_B_WAITC 
BCK_YKW_B_WAITC2 
BCK_YKW_B_WAITD 
BCK_YKW_B_WALK 
BMDE_YKW_B 
BMDE_YO01 
BMDE_YO02 
BMDE_YO_CORE 
BMDE_YO_HIBI 
BMDE_YO_ICE 
BRK_YKW_B 
BRK_YKW_B_ANGRY 
BRK_YKW_B_ANGRY_WAIT 
BRK_YKW_B_WHITE 
BTK_YKW_B_ANGRY 
BTK_YKW_B_DOWN 
BTK_YKW_B_FLOAT 
BTK_YKW_B_SCREAM 
BTK_YKW_B_SCREAM_WAIT 
BTK_YKW_B_TALKA 
BTK_YKW_B_TALKB 
BTK_YKW_B_TO_TALKB 
BTK_YKW_B_WAITA 
BTK_YKW_B_WAITB 
BTK_YKW_B_WALK 
BTK_YO_KANNKYOU 
BTP_YKW_B_ANGRY 
BTP_YKW_B_FACEA 
BTP_YKW_B_FACEB 
BTP_YKW_B_FLOAT 
BTP_YKW_B_TALKA 
BTP_YKW_B_TALKB 
BTP_YKW_B_TO_TALKB 
BTP_YKW_B_WAITA 
BTP_YKW_B_WAITB 
BTP_YKW_B_WALK 

◆ L5_R50_RES_FIL_ID

Enumerator
BMDR_R50_P1 
BMDR_R50_P2 
BMDR_T_R50FURNITURE 
DZB_R50_P1 
DZB_R50_P2 

Function Documentation

◆ daB_YO_Create()

static cPhs__Step daB_YO_Create ( daB_YO_c * i_this)
static

◆ daB_YO_Delete()

static int daB_YO_Delete ( daB_YO_c * i_this)
static

◆ daB_YO_Draw()

static int daB_YO_Draw ( daB_YO_c * i_this)
static

◆ daB_YO_Execute()

static int daB_YO_Execute ( daB_YO_c * i_this)
static

◆ daB_YO_IsDelete()

static int daB_YO_IsDelete ( daB_YO_c * i_this)
static

◆ s_frizad_delete()

static void * s_frizad_delete ( void * param_0,
void * param_1 )
static

◆ STATIC_ASSERT()

STATIC_ASSERT ( sizeof(daB_YO_HIO_c) = =0x5C)

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * i_this)
static

◆ useHeapInit2()

static int useHeapInit2 ( fopAc_ac_c * i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ g_profile_B_YO

actor_process_profile_definition g_profile_B_YO
extern
Initial value:
= {
7,
sizeof(daB_YO_c),
0,
0,
223,
0x00044000,
}
Blizzeta.
Definition d_a_b_yo.h:21
static actor_method_class l_daB_YO_Method
Definition d_a_b_yo.cpp:3427
@ PROC_B_YO
Definition d_procname.h:538
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_daB_YO_Method

actor_method_class l_daB_YO_Method
static
Initial value:
= {
}
static int daB_YO_Draw(daB_YO_c *i_this)
Definition d_a_b_yo.cpp:403
static int daB_YO_Execute(daB_YO_c *i_this)
Definition d_a_b_yo.cpp:3048
static int daB_YO_IsDelete(daB_YO_c *i_this)
Definition d_a_b_yo.cpp:3052
static int daB_YO_Delete(daB_YO_c *i_this)
Definition d_a_b_yo.cpp:3087
static cPhs__Step daB_YO_Create(daB_YO_c *i_this)
Definition d_a_b_yo.cpp:3414
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daB_YO_HIO_c l_HIO
static

◆ yo_att_pos_y

f32 yo_att_pos_y[7] = {1300.0f, 950.0f, 700.0f, 450.0f, 850.0f, 470.0f, 300.0f}
static

◆ yo_chase_speed

f32 yo_chase_speed[8] = {3.0f, 4.0f, 5.f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f}
static

◆ yo_damage_speed

f32 yo_damage_speed[7] = {12.0f, 14.0f, 16.0f, 18.0f, 20.0f, 22.0f, 24.0f}
static

◆ yo_damage_timer

int yo_damage_timer[7] = {90, 100, 110, 120, 130, 140, 150}
static

◆ yo_demo_bck_idx

int yo_demo_bck_idx[19]
static
Initial value:
= {
}
@ BCK_YKW_B_WAITC
Definition d_a_b_yo.cpp:68
@ BCK_YKW_B_SCREAM_WAIT
Definition d_a_b_yo.cpp:62
@ BCK_YKW_B_FLOATB
Definition d_a_b_yo.cpp:60
@ BCK_YKW_B_WAITA
Definition d_a_b_yo.cpp:66
@ BCK_YKW_B_DOWNB
Definition d_a_b_yo.cpp:57
@ BCK_YKW_B_DOWN
Definition d_a_b_yo.cpp:55
@ BCK_YKW_B_WAITB
Definition d_a_b_yo.cpp:67
@ BCK_YKW_B_WAITD
Definition d_a_b_yo.cpp:70
@ BCK_YKW_B_TALKB
Definition d_a_b_yo.cpp:64
@ BCK_YKW_B_TALKA
Definition d_a_b_yo.cpp:63
@ BCK_YKW_B_DOWNC
Definition d_a_b_yo.cpp:58
@ BCK_YKW_B_ANGRY_WAIT
Definition d_a_b_yo.cpp:54
@ BCK_YKW_B_DOWNA
Definition d_a_b_yo.cpp:56
@ BCK_YKW_B_FLOAT
Definition d_a_b_yo.cpp:59
@ BCK_YKW_B_TO_TALKB
Definition d_a_b_yo.cpp:65
@ BCK_YKW_B_WAITC2
Definition d_a_b_yo.cpp:69
@ BCK_YKW_B_WALK
Definition d_a_b_yo.cpp:71
@ BCK_YKW_B_SCREAM
Definition d_a_b_yo.cpp:61
@ BCK_YKW_B_ANGRY
Definition d_a_b_yo.cpp:53

◆ yo_demo_btk_idx

int yo_demo_btk_idx[19]
static
Initial value:
= {
0xFF,
}
@ BTK_YKW_B_SCREAM
Definition d_a_b_yo.cpp:91
@ BTK_YKW_B_ANGRY
Definition d_a_b_yo.cpp:88
@ BTK_YKW_B_TALKA
Definition d_a_b_yo.cpp:93
@ BTK_YKW_B_WALK
Definition d_a_b_yo.cpp:98
@ BTK_YKW_B_SCREAM_WAIT
Definition d_a_b_yo.cpp:92
@ BTK_YKW_B_TALKB
Definition d_a_b_yo.cpp:94
@ BTK_YKW_B_DOWN
Definition d_a_b_yo.cpp:89
@ BTK_YKW_B_TO_TALKB
Definition d_a_b_yo.cpp:95
@ BTK_YKW_B_WAITA
Definition d_a_b_yo.cpp:96
@ BTK_YKW_B_WAITB
Definition d_a_b_yo.cpp:97
@ BTK_YKW_B_FLOAT
Definition d_a_b_yo.cpp:90

◆ yo_demo_btp_idx

int yo_demo_btp_idx[19]
static
Initial value:
= {
}
@ BTP_YKW_B_ANGRY
Definition d_a_b_yo.cpp:102
@ BTP_YKW_B_TO_TALKB
Definition d_a_b_yo.cpp:108
@ BTP_YKW_B_FACEA
Definition d_a_b_yo.cpp:103
@ BTP_YKW_B_FACEB
Definition d_a_b_yo.cpp:104
@ BTP_YKW_B_TALKB
Definition d_a_b_yo.cpp:107
@ BTP_YKW_B_TALKA
Definition d_a_b_yo.cpp:106

◆ yo_material_draw

bool yo_material_draw[27]
static
Initial value:
= {
true, true, true, true, false, false, true, true, true,
false, true, true, true, true, false, false, true, true,
false, false, true, true, false, true, false, false, true,
}

◆ yo_max_bound_speed

f32 yo_max_bound_speed[8] = {10.0f, 12.0f, 15.0f, 18.0f, 21.0f, 24.0f, 27.0f, 30.0f}
static