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

Classes

class  daB_OB_HIO_c
 

Enumerations

enum  B_oh_RES_File_ID {
  BCK_AL_FOIFINISH = 0x8 , BCK_AL_OICUT , BCK_AL_OICUTB , BCK_AL_OIFINISH ,
  BCK_AL_OIHANG , BCK_AL_OIHANGMISS , BCK_AL_OIHANGWAIT , BCK_AL_OIHANGWAITB ,
  BCK_AL_OISPIT , BCK_OH_CORE_OPEN , BCK_OI_APPEAR , BCK_OI_APPEAR02 ,
  BCK_OI_DEAD , BCK_OI_EAT , BCK_OI_EAT02 , BCK_OI_LASTDAMAGE ,
  BCK_OI_OPENMOUTH , BCK_OI_OPENMOUTHWAIT , BCK_OI_SWALLOW , BCK_OI_SWIMWAIT ,
  BCK_OI_TENTACLE_END , BCK_OI_THROWUP , BCK_OI_WAIT , BMDR_EF_OISUI = 0x21 ,
  BMDR_OI_BODY , BMDR_OI_FINA , BMDR_OI_FINB , BMDR_OI_FINC ,
  BMDR_OI_TAIL , BMDV_OH = 0x29 , BMDV_OH_CORE , BMDV_OI_HEAD ,
  BRK_EF_OISUI = 0x2E , BRK_OH_LOOP , BTK_AL_FOICUT = 0x32 , BTK_AL_FOICUTB ,
  BTK_AL_FOIFINISH , BTK_EF_OISUI , BTK_OH_LOOP , BTP_AL_FOIFINISH = 0x39
}
 

Functions

static void anm_init (b_ob_class *i_this, int i_anmID, f32 i_morf, u8 i_mode, f32 i_speed)
 
static int HeadCallBack (J3DJoint *i_joint, int param_1)
 
static int TailCallBack (J3DJoint *i_joint, int param_1)
 
static int FinACallBack (J3DJoint *i_joint, int param_1)
 
static int FinBCallBack (J3DJoint *i_joint, int param_1)
 
static int FinCCallBack (J3DJoint *i_joint, int param_1)
 
static int sui_nodeCallBack (J3DJoint *i_joint, int param_1)
 
static void dark (J3DModelData *i_modelData, s16 i_color)
 
static int daB_OB_Draw (b_ob_class *i_this)
 
static void core_start (b_ob_class *i_this)
 
static void core_hand_move (b_ob_class *i_this)
 
static void * s_bf_sub (void *i_this, void *i_data)
 
static void * s_bfdel_sub (void *i_this, void *i_data)
 
static void * s_kaisoudel_sub (void *i_this, void *i_data)
 
static void bombfishset (b_ob_class *i_this)
 
static void core_hook (b_ob_class *i_this)
 
static int core_chance (b_ob_class *i_this)
 
static void core_end (b_ob_class *i_this)
 
static void core_action (b_ob_class *i_this)
 
static void core_damage_check (b_ob_class *i_this)
 
static void fish_damage_check (b_ob_class *i_this)
 
static BOOL pl_check (b_ob_class *i_this, f32 i_range, s16 i_maxAngle)
 
static int fish_normal (b_ob_class *i_this)
 
static int fish_vacume (b_ob_class *i_this)
 
static int fish_end (b_ob_class *i_this)
 
static void dmcalc (b_ob_class *i_this)
 
static void fish_move (b_ob_class *i_this)
 
static void cam_3d_morf (b_ob_class *i_this, f32 i_scale)
 
static void * s_hasidel_sub (void *i_this, void *i_data)
 
static void demo_camera (b_ob_class *i_this)
 
static int daB_OB_Execute (b_ob_class *i_this)
 
static int daB_OB_IsDelete (b_ob_class *i_this)
 
static int daB_OB_Delete (b_ob_class *i_this)
 
static int useHeapInit (fopAc_ac_c *i_this)
 
static int daB_OB_Create (fopAc_ac_c *i_this)
 

Variables

static u8 data_8061B4FD
 
static BOOL moveSW
 
static BOOL moveSW2
 
static daB_OB_HIO_c l_HIO
 
static int pno
 
static int fin
 
static int bf_ct
 
static f32 buf_p []
 
static f32 size_p []
 
 AUDIO_INSTANCES
 
static actor_method_class l_daB_OB_Method
 
actor_process_profile_definition g_profile_B_OB
 

Enumeration Type Documentation

◆ B_oh_RES_File_ID

Enumerator
BCK_AL_FOIFINISH 
BCK_AL_OICUT 
BCK_AL_OICUTB 
BCK_AL_OIFINISH 
BCK_AL_OIHANG 
BCK_AL_OIHANGMISS 
BCK_AL_OIHANGWAIT 
BCK_AL_OIHANGWAITB 
BCK_AL_OISPIT 
BCK_OH_CORE_OPEN 
BCK_OI_APPEAR 
BCK_OI_APPEAR02 
BCK_OI_DEAD 
BCK_OI_EAT 
BCK_OI_EAT02 
BCK_OI_LASTDAMAGE 
BCK_OI_OPENMOUTH 
BCK_OI_OPENMOUTHWAIT 
BCK_OI_SWALLOW 
BCK_OI_SWIMWAIT 
BCK_OI_TENTACLE_END 
BCK_OI_THROWUP 
BCK_OI_WAIT 
BMDR_EF_OISUI 
BMDR_OI_BODY 
BMDR_OI_FINA 
BMDR_OI_FINB 
BMDR_OI_FINC 
BMDR_OI_TAIL 
BMDV_OH 
BMDV_OH_CORE 
BMDV_OI_HEAD 
BRK_EF_OISUI 
BRK_OH_LOOP 
BTK_AL_FOICUT 
BTK_AL_FOICUTB 
BTK_AL_FOIFINISH 
BTK_EF_OISUI 
BTK_OH_LOOP 
BTP_AL_FOIFINISH 

Function Documentation

◆ anm_init()

static void anm_init ( b_ob_class * i_this,
int i_anmID,
f32 i_morf,
u8 i_mode,
f32 i_speed )
static

◆ bombfishset()

static void bombfishset ( b_ob_class * i_this)
static

◆ cam_3d_morf()

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

◆ core_action()

static void core_action ( b_ob_class * i_this)
static

◆ core_chance()

static int core_chance ( b_ob_class * i_this)
static

◆ core_damage_check()

static void core_damage_check ( b_ob_class * i_this)
static

◆ core_end()

static void core_end ( b_ob_class * i_this)
static

◆ core_hand_move()

static void core_hand_move ( b_ob_class * i_this)
static

◆ core_hook()

static void core_hook ( b_ob_class * i_this)
static

◆ core_start()

static void core_start ( b_ob_class * i_this)
static

◆ daB_OB_Create()

static int daB_OB_Create ( fopAc_ac_c * i_this)
static

◆ daB_OB_Delete()

static int daB_OB_Delete ( b_ob_class * i_this)
static

◆ daB_OB_Draw()

static int daB_OB_Draw ( b_ob_class * i_this)
static

◆ daB_OB_Execute()

static int daB_OB_Execute ( b_ob_class * i_this)
static

◆ daB_OB_IsDelete()

static int daB_OB_IsDelete ( b_ob_class * i_this)
static

◆ dark()

static void dark ( J3DModelData * i_modelData,
s16 i_color )
static

◆ demo_camera()

static void demo_camera ( b_ob_class * i_this)
static

◆ dmcalc()

static void dmcalc ( b_ob_class * i_this)
static

◆ FinACallBack()

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

◆ FinBCallBack()

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

◆ FinCCallBack()

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

◆ fish_damage_check()

static void fish_damage_check ( b_ob_class * i_this)
static

◆ fish_end()

static int fish_end ( b_ob_class * i_this)
static

◆ fish_move()

static void fish_move ( b_ob_class * i_this)
static

◆ fish_normal()

static int fish_normal ( b_ob_class * i_this)
static

◆ fish_vacume()

static int fish_vacume ( b_ob_class * i_this)
static

◆ HeadCallBack()

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

◆ pl_check()

static BOOL pl_check ( b_ob_class * i_this,
f32 i_range,
s16 i_maxAngle )
static

◆ s_bf_sub()

static void * s_bf_sub ( void * i_this,
void * i_data )
static

◆ s_bfdel_sub()

static void * s_bfdel_sub ( void * i_this,
void * i_data )
static

◆ s_hasidel_sub()

static void * s_hasidel_sub ( void * i_this,
void * i_data )
static

◆ s_kaisoudel_sub()

static void * s_kaisoudel_sub ( void * i_this,
void * i_data )
static

◆ sui_nodeCallBack()

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

◆ TailCallBack()

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

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ bf_ct

int bf_ct
static

◆ buf_p

f32 buf_p[]
static
Initial value:
= {
0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 8.8f,
9.6f, 10.4f, 11.2f, 12.0f, 12.6f, 13.2f, 13.8f, 14.4f, 15.0f,
}

◆ data_8061B4FD

u8 data_8061B4FD
static

◆ fin

int fin
static

◆ g_profile_B_OB

actor_process_profile_definition g_profile_B_OB
extern
Initial value:
= {
4,
sizeof(b_ob_class),
0,
0,
217,
0xC4000,
}
Morpheel (body)
Definition d_a_b_ob.h:59
static actor_method_class l_daB_OB_Method
Definition d_a_b_ob.cpp:3643
@ PROC_B_OB
Definition d_procname.h:252
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

◆ l_daB_OB_Method

actor_method_class l_daB_OB_Method
static
Initial value:
= {
}
static int daB_OB_Delete(b_ob_class *i_this)
Definition d_a_b_ob.cpp:3274
static int daB_OB_IsDelete(b_ob_class *i_this)
Definition d_a_b_ob.cpp:3270
static int daB_OB_Execute(b_ob_class *i_this)
Definition d_a_b_ob.cpp:3003
static int daB_OB_Create(fopAc_ac_c *i_this)
Definition d_a_b_ob.cpp:3478
static int daB_OB_Draw(b_ob_class *i_this)
Definition d_a_b_ob.cpp:277
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daB_OB_HIO_c l_HIO
static

◆ moveSW

BOOL moveSW
static

◆ moveSW2

BOOL moveSW2
static

◆ pno

int pno
static

◆ size_p

f32 size_p[]
static
Initial value:
= {1.0f, 1.05f, 1.075f, 1.1f, 1.1f, 1.075f, 1.05f,
1.0f, 0.9f, 0.85f, 0.8f, 0.75f, 0.7f, 0.65f,
0.6f, 0.55f, 0.5f, 0.45f, 1.0f}