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

Classes

class  daE_GM_HIO_c
 

Enumerations

enum  E_gm_RES_File_ID {
  BCK_GB_APPEAR = 0x5 , BCK_GB_DAMAGE , BCK_GB_DEAD , BCK_GB_MOVE ,
  BCK_GB_WAIT , BMDE_GOMA_EGG = 0xC , BMDV_GB = 0xF
}
 
enum  E_mg_RES_File_ID {
  BCK_MD_DAMAGE = 0x4 , BCK_MD_DEATH , BCK_MD_DEATH_PRESS , BCK_MD_JUMP ,
  BCK_MD_PIKU , BCK_MD_UP , BCK_MD_WALK , BMDV_MD = 0xD
}
 
enum  Joint {
  JNT_WORLD_ROOT , JNT_BELLY , JNT_HEAD , JNT_AGOL ,
  JNT_AGOR , JNT_LEGL1A , JNT_LEGL1B , JNT_LEGL1C ,
  JNT_LEGL2A , JNT_LEGL2B , JNT_LEGL2C , JNT_LEGR1A ,
  JNT_LEGR1B , JNT_LEGR1C , JNT_LEGR2A , JNT_LEGR2B ,
  JNT_LEGR2C
}
 
enum  Type { TYPE_0 , TYPE_1 , TYPE_NORMAL , TYPE_GOMA }
 

Functions

static void * s_obj_sub2 (void *i_actor, void *i_data)
 
static f32 dummy ()
 
static int daE_GM_Draw (daE_GM_c *i_this)
 
static int daE_GM_Execute (daE_GM_c *i_this)
 
static int daE_GM_IsDelete (daE_GM_c *i_this)
 
static int daE_GM_Delete (daE_GM_c *i_this)
 
static int useHeapInit (fopAc_ac_c *a_this)
 
static int daE_GM_Create (daE_GM_c *i_this)
 

Variables

static u8 l_initHIO
 
static daE_GM_HIO_c l_HIO
 
static u8 lbl_195_bss_AC
 
static u8 lbl_195_bss_AD
 
static u8 lbl_195_bss_AE
 
static u8 lbl_195_bss_AF
 
static s16 const l_rand [4]
 
static s16 const l_rand2 [4]
 
static f32 const l_rand_base_spd [4]
 
static u16 const l_eff_id [4]
 
static u16 l_egg_eff_id [2]
 
static u8 const l_damage_count [4] = {1, 1, 1, 3}
 
static u16 const l_heapsize [4]
 
 AUDIO_INSTANCES
 
static actor_method_class l_daE_GM_Method
 
actor_process_profile_definition g_profile_E_GM
 

Enumeration Type Documentation

◆ E_gm_RES_File_ID

Enumerator
BCK_GB_APPEAR 
BCK_GB_DAMAGE 
BCK_GB_DEAD 
BCK_GB_MOVE 
BCK_GB_WAIT 
BMDE_GOMA_EGG 
BMDV_GB 

◆ E_mg_RES_File_ID

Enumerator
BCK_MD_DAMAGE 
BCK_MD_DEATH 
BCK_MD_DEATH_PRESS 
BCK_MD_JUMP 
BCK_MD_PIKU 
BCK_MD_UP 
BCK_MD_WALK 
BMDV_MD 

◆ Joint

enum Joint
Enumerator
JNT_WORLD_ROOT 
JNT_BELLY 
JNT_HEAD 
JNT_AGOL 
JNT_AGOR 
JNT_LEGL1A 
JNT_LEGL1B 
JNT_LEGL1C 
JNT_LEGL2A 
JNT_LEGL2B 
JNT_LEGL2C 
JNT_LEGR1A 
JNT_LEGR1B 
JNT_LEGR1C 
JNT_LEGR2A 
JNT_LEGR2B 
JNT_LEGR2C 

◆ Type

enum Type
Enumerator
TYPE_0 
TYPE_1 
TYPE_NORMAL 
TYPE_GOMA 

Function Documentation

◆ daE_GM_Create()

static int daE_GM_Create ( daE_GM_c * i_this)
static

◆ daE_GM_Delete()

static int daE_GM_Delete ( daE_GM_c * i_this)
static

◆ daE_GM_Draw()

static int daE_GM_Draw ( daE_GM_c * i_this)
static

◆ daE_GM_Execute()

static int daE_GM_Execute ( daE_GM_c * i_this)
static

◆ daE_GM_IsDelete()

static int daE_GM_IsDelete ( daE_GM_c * i_this)
static

◆ dummy()

static f32 dummy ( )
static

◆ s_obj_sub2()

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

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * a_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ g_profile_E_GM

actor_process_profile_definition g_profile_E_GM
extern
Initial value:
= {
7,
sizeof(daE_GM_c),
0,
0,
119,
0x00044100,
}
Baby Gohma / Gohma Eye.
Definition d_a_e_gm.h:18
static actor_method_class l_daE_GM_Method
Definition d_a_e_gm.cpp:1828
@ PROC_E_GM
Definition d_procname.h:452
actor_method_class g_fopAc_Method
@ fopAc_CULLBOX_0_e
Definition f_op_actor.h:53
@ 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_daE_GM_Method

actor_method_class l_daE_GM_Method
static
Initial value:
= {
}
static int daE_GM_IsDelete(daE_GM_c *i_this)
Definition d_a_e_gm.cpp:1621
static int daE_GM_Draw(daE_GM_c *i_this)
Definition d_a_e_gm.cpp:1484
static int daE_GM_Delete(daE_GM_c *i_this)
Definition d_a_e_gm.cpp:1661
static int daE_GM_Execute(daE_GM_c *i_this)
Definition d_a_e_gm.cpp:1617
static int daE_GM_Create(daE_GM_c *i_this)
Definition d_a_e_gm.cpp:1822
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_damage_count

u8 const l_damage_count[4] = {1, 1, 1, 3}
static

◆ l_eff_id

u16 const l_eff_id[4]
static
Initial value:
= {
}
@ ID_ZI_S_DEADEFLIGHT_C
Definition d_particle_name.h:1377
@ ID_ZI_S_DEADEFLIGHT_D
Definition d_particle_name.h:1378
@ ID_ZI_S_DEADEFLIGHT_B
Definition d_particle_name.h:1376
@ ID_ZI_S_DEADEFLIGHT_A
Definition d_particle_name.h:1375

◆ l_egg_eff_id

u16 l_egg_eff_id[2]
static
Initial value:
= {
}
@ ID_ZI_S_GBEGG_HARETSU_A
Definition d_particle_name.h:2819
@ ID_ZI_S_GBEGG_HARETSU_B
Definition d_particle_name.h:2820

◆ l_heapsize

u16 const l_heapsize[4]
static
Initial value:
= {
0x3120, 0x3120, 0x21E0, 0x2DE0,
}

◆ l_HIO

daE_GM_HIO_c l_HIO
static

◆ l_initHIO

u8 l_initHIO
static

◆ l_rand

s16 const l_rand[4]
static
Initial value:
= {
0xF800, 0x0400, 0xFC00, 0x0800,
}

◆ l_rand2

s16 const l_rand2[4]
static
Initial value:
= {
0xD000, 0x3800, 0xB800, 0x5000,
}

◆ l_rand_base_spd

f32 const l_rand_base_spd[4]
static
Initial value:
= {
-2.0f, 0.0f, 0.0f, 2.0f,
}

◆ lbl_195_bss_AC

u8 lbl_195_bss_AC
static

◆ lbl_195_bss_AD

u8 lbl_195_bss_AD
static

◆ lbl_195_bss_AE

u8 lbl_195_bss_AE
static

◆ lbl_195_bss_AF

u8 lbl_195_bss_AF
static