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

Classes

class  dmg_rod_HIO_c
 

Functions

static int frog_nodeCallBack (J3DJoint *i_joint, int param_1)
 
static int ws_nodeCallBack (J3DJoint *i_joint, int param_1)
 
static int Reel_CallBack (J3DJoint *i_joint, int param_1)
 
static int Worm_nodeCallBack (J3DJoint *i_joint, int param_1)
 
static int dmg_rod_Draw (dmg_rod_class *i_this)
 
static void rod_control (dmg_rod_class *i_this)
 
static void rod_main (dmg_rod_class *i_this)
 
static void line_control1 (dmg_rod_class *i_this)
 
static void line_control2 (dmg_rod_class *i_this)
 
static void line_control1_u (dmg_rod_class *i_this)
 
static void line_control2_u (dmg_rod_class *i_this)
 
static void line_main (dmg_rod_class *i_this)
 
static f32 depth_check (dmg_rod_class *i_this, cXyz *param_1)
 
static void sibuki_set (dmg_rod_class *i_this, f32 i_size, cXyz *i_pos, BOOL param_3)
 
static void * s_boat_sub (void *i_actor, void *i_data)
 
static void lure_onboat (dmg_rod_class *i_this)
 
static int lure_standby (dmg_rod_class *i_this)
 
static void lure_bound_se_set (dmg_rod_class *i_this)
 
static void lure_cast (dmg_rod_class *i_this)
 
static int simple_bg_check (dmg_rod_class *i_this, f32 param_1)
 
static void * s_wd_sub (void *i_actor, void *i_data)
 
static wd_sswd_check (dmg_rod_class *i_this)
 
static void fr_action (dmg_rod_class *i_this, f32 param_1)
 
static void pe_action (dmg_rod_class *i_this, f32 param_1)
 
static void po_action (dmg_rod_class *i_this, f32 param_1)
 
static void ws_action (dmg_rod_class *i_this, f32 param_1)
 
static void sp_action (dmg_rod_class *i_this, f32 param_1)
 
static void ground_action (dmg_rod_class *i_this)
 
static void wd_action (dmg_rod_class *i_this, f32 param_1, wd_ss *i_wd_s)
 
static void heart_action (dmg_rod_class *i_this, f32 param_1)
 
static void action_eff_set (dmg_rod_class *i_this)
 
static void lure_action (dmg_rod_class *i_this)
 
static void lure_hit (dmg_rod_class *i_this, mg_fish_class *i_mg_fish)
 
static void lure_catch (dmg_rod_class *i_this)
 
static void lure_bare (dmg_rod_class *i_this)
 
static void lure_heart (dmg_rod_class *i_this)
 
static void hook_set (dmg_rod_class *i_this, cXyz *param_1, int param_2)
 
static void lure_disp (dmg_rod_class *i_this)
 
static void lure_main (dmg_rod_class *i_this)
 
static int uki_calc (dmg_rod_class *i_this)
 
static void uki_ready (dmg_rod_class *i_this)
 
static BOOL uki_rod_bg_check (dmg_rod_class *i_this)
 
static void uki_pl_arm_calc (dmg_rod_class *i_this)
 
static void uki_standby (dmg_rod_class *i_this)
 
static void uki_hit (dmg_rod_class *i_this)
 
static int bb_get (dmg_rod_class *i_this)
 
static void uki_catch (dmg_rod_class *i_this)
 
static void * s_sg_sub (void *i_actor, void *i_data)
 
static void * s_bb_sub (void *i_actor, void *i_data)
 
static void * s_lh_sub (void *i_actor, void *i_data)
 
static void * s_bt_sub (void *i_actor, void *i_data)
 
static void uki_main (dmg_rod_class *i_this)
 
static void cam_3d_morf (dmg_rod_class *i_this, f32 i_scale)
 
static void play_camera (dmg_rod_class *i_this)
 
static void play_camera_u (dmg_rod_class *i_this)
 
static int dmg_rod_Execute (dmg_rod_class *i_this)
 
static int dmg_rod_IsDelete (dmg_rod_class *i_this)
 
static int dmg_rod_Delete (dmg_rod_class *i_this)
 
static int useHeapInit (fopAc_ac_c *i_this)
 
static int dmg_rod_Create (fopAc_ac_c *i_this)
 

Variables

static u8 const lit_3879 [12]
 
static u16 check_kind []
 
static npc_henna_classhenna
 
static u8 data_804BBBD4
 
static u8 l_HIOInit
 
static dmg_rod_HIO_c l_HIO
 
static cXyz old_line_pos [100]
 
static f32 lure_scale [] = {1.0f, 0.75f, 0.75f, 0.6f, 0.375f}
 
static f32 lure_eye_off [] = {4.0f, 17.0f, 11.0f, 16.5f, 4.0f}
 
static f32 hook_1_offy [] = {-3.5f, -3.5f, -3.5f, -5.0f, -3.5f}
 
static f32 hook_2_offz [] = {-16.0f, -19.0f, -16.0f, -23.0f, -43.5f}
 
static f32 hook_2_offy [] = {0.0f, -1.0f, 0.0f, 0.0f, 0.0f}
 
static f32 lure_nose_off [] = {-4.6f, -16.6f, -11.6f, -17.6f, -2.6f}
 
static f32 hiton_off [] = {4.3f, 16.3f, 11.3f, 17.3f, 2.3000002f}
 
static actor_method_class l_dmg_rod_Method
 
actor_process_profile_definition g_profile_MG_ROD
 

Function Documentation

◆ action_eff_set()

static void action_eff_set ( dmg_rod_class * i_this)
static

◆ bb_get()

static int bb_get ( dmg_rod_class * i_this)
static

◆ cam_3d_morf()

static void cam_3d_morf ( dmg_rod_class * i_this,
f32 i_scale )
static

◆ depth_check()

static f32 depth_check ( dmg_rod_class * i_this,
cXyz * param_1 )
static

◆ dmg_rod_Create()

static int dmg_rod_Create ( fopAc_ac_c * i_this)
static

◆ dmg_rod_Delete()

static int dmg_rod_Delete ( dmg_rod_class * i_this)
static

◆ dmg_rod_Draw()

static int dmg_rod_Draw ( dmg_rod_class * i_this)
static

◆ dmg_rod_Execute()

static int dmg_rod_Execute ( dmg_rod_class * i_this)
static

◆ dmg_rod_IsDelete()

static int dmg_rod_IsDelete ( dmg_rod_class * i_this)
static

◆ fr_action()

static void fr_action ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ frog_nodeCallBack()

static int frog_nodeCallBack ( J3DJoint * i_joint,
int param_1 )
static

◆ ground_action()

static void ground_action ( dmg_rod_class * i_this)
static

◆ heart_action()

static void heart_action ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ hook_set()

static void hook_set ( dmg_rod_class * i_this,
cXyz * param_1,
int param_2 )
static

◆ line_control1()

static void line_control1 ( dmg_rod_class * i_this)
static

◆ line_control1_u()

static void line_control1_u ( dmg_rod_class * i_this)
static

◆ line_control2()

static void line_control2 ( dmg_rod_class * i_this)
static

◆ line_control2_u()

static void line_control2_u ( dmg_rod_class * i_this)
static

◆ line_main()

static void line_main ( dmg_rod_class * i_this)
static

◆ lure_action()

static void lure_action ( dmg_rod_class * i_this)
static

◆ lure_bare()

static void lure_bare ( dmg_rod_class * i_this)
static

◆ lure_bound_se_set()

static void lure_bound_se_set ( dmg_rod_class * i_this)
static

◆ lure_cast()

static void lure_cast ( dmg_rod_class * i_this)
static

◆ lure_catch()

static void lure_catch ( dmg_rod_class * i_this)
static

◆ lure_disp()

static void lure_disp ( dmg_rod_class * i_this)
static

◆ lure_heart()

static void lure_heart ( dmg_rod_class * i_this)
static

◆ lure_hit()

static void lure_hit ( dmg_rod_class * i_this,
mg_fish_class * i_mg_fish )
static

◆ lure_main()

static void lure_main ( dmg_rod_class * i_this)
static

◆ lure_onboat()

static void lure_onboat ( dmg_rod_class * i_this)
static

◆ lure_standby()

static int lure_standby ( dmg_rod_class * i_this)
static

◆ pe_action()

static void pe_action ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ play_camera()

static void play_camera ( dmg_rod_class * i_this)
static

◆ play_camera_u()

static void play_camera_u ( dmg_rod_class * i_this)
static

◆ po_action()

static void po_action ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ Reel_CallBack()

static int Reel_CallBack ( J3DJoint * i_joint,
int param_1 )
static

◆ rod_control()

static void rod_control ( dmg_rod_class * i_this)
static

◆ rod_main()

static void rod_main ( dmg_rod_class * i_this)
static

◆ s_bb_sub()

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

◆ s_boat_sub()

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

◆ s_bt_sub()

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

◆ s_lh_sub()

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

◆ s_sg_sub()

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

◆ s_wd_sub()

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

◆ sibuki_set()

static void sibuki_set ( dmg_rod_class * i_this,
f32 i_size,
cXyz * i_pos,
BOOL param_3 )
static

◆ simple_bg_check()

static int simple_bg_check ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ sp_action()

static void sp_action ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ uki_calc()

static int uki_calc ( dmg_rod_class * i_this)
static

◆ uki_catch()

static void uki_catch ( dmg_rod_class * i_this)
static

◆ uki_hit()

static void uki_hit ( dmg_rod_class * i_this)
static

◆ uki_main()

static void uki_main ( dmg_rod_class * i_this)
static

◆ uki_pl_arm_calc()

static void uki_pl_arm_calc ( dmg_rod_class * i_this)
static

◆ uki_ready()

static void uki_ready ( dmg_rod_class * i_this)
static

◆ uki_rod_bg_check()

static BOOL uki_rod_bg_check ( dmg_rod_class * i_this)
static

◆ uki_standby()

static void uki_standby ( dmg_rod_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * i_this)
static

◆ wd_action()

static void wd_action ( dmg_rod_class * i_this,
f32 param_1,
wd_ss * i_wd_s )
static

◆ wd_check()

static wd_ss * wd_check ( dmg_rod_class * i_this)
static

◆ Worm_nodeCallBack()

static int Worm_nodeCallBack ( J3DJoint * i_joint,
int param_1 )
static

◆ ws_action()

static void ws_action ( dmg_rod_class * i_this,
f32 param_1 )
static

◆ ws_nodeCallBack()

static int ws_nodeCallBack ( J3DJoint * i_joint,
int param_1 )
static

Variable Documentation

◆ check_kind

u16 check_kind[]
static
Initial value:
= {
0xF57F, 0xF47F, 0xF37F, 0xF27F,
}

◆ data_804BBBD4

u8 data_804BBBD4
static

◆ g_profile_MG_ROD

actor_process_profile_definition g_profile_MG_ROD
extern
Initial value:
= {
8,
sizeof(dmg_rod_class),
0,
0,
438,
0x00060000,
}
Fishing Rod.
Definition d_a_mg_rod.h:84
static actor_method_class l_dmg_rod_Method
Definition d_a_mg_rod.cpp:6348
@ PROC_MG_ROD
Definition d_procname.h:749
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_0_e
Definition f_op_actor.h:53
@ fopAc_ACTOR_e
Definition f_op_actor.h:38
@ 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

◆ henna

npc_henna_class* henna
static

◆ hiton_off

f32 hiton_off[] = {4.3f, 16.3f, 11.3f, 17.3f, 2.3000002f}
static

◆ hook_1_offy

f32 hook_1_offy[] = {-3.5f, -3.5f, -3.5f, -5.0f, -3.5f}
static

◆ hook_2_offy

f32 hook_2_offy[] = {0.0f, -1.0f, 0.0f, 0.0f, 0.0f}
static

◆ hook_2_offz

f32 hook_2_offz[] = {-16.0f, -19.0f, -16.0f, -23.0f, -43.5f}
static

◆ l_dmg_rod_Method

actor_method_class l_dmg_rod_Method
static
Initial value:
= {
}
static int dmg_rod_IsDelete(dmg_rod_class *i_this)
Definition d_a_mg_rod.cpp:5996
static int dmg_rod_Delete(dmg_rod_class *i_this)
Definition d_a_mg_rod.cpp:6008
static int dmg_rod_Create(fopAc_ac_c *i_this)
Definition d_a_mg_rod.cpp:6203
static int dmg_rod_Draw(dmg_rod_class *i_this)
Definition d_a_mg_rod.cpp:168
static int dmg_rod_Execute(dmg_rod_class *i_this)
Definition d_a_mg_rod.cpp:5678
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

dmg_rod_HIO_c l_HIO
static

◆ l_HIOInit

u8 l_HIOInit
static

◆ lit_3879

u8 const lit_3879[12]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

◆ lure_eye_off

f32 lure_eye_off[] = {4.0f, 17.0f, 11.0f, 16.5f, 4.0f}
static

◆ lure_nose_off

f32 lure_nose_off[] = {-4.6f, -16.6f, -11.6f, -17.6f, -2.6f}
static

◆ lure_scale

f32 lure_scale[] = {1.0f, 0.75f, 0.75f, 0.6f, 0.375f}
static

◆ old_line_pos

cXyz old_line_pos[100]
static