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

Classes

class  daE_Sm_HIO_c
 

Enumerations

enum  E_SM_RES_File_ID {
  BCK_SC_ATTACK = 0x5 , BCK_SC_BUTTOBI , BCK_SC_DAMAGE , BCK_SC_DAMAGE02 ,
  BCK_SC_DAMAGEB , BCK_SC_DAMAGEL , BCK_SC_DAMAGER , BCK_SC_DEAD ,
  BCK_SC_DEAD02 , BCK_SC_DRAW , BCK_SC_ESCAPE , BCK_SC_F_SHOCK ,
  BCK_SC_KYORO , BCK_SC_LIBERATION , BCK_SC_MOVE , BCK_SC_MOVE02 ,
  BCK_SC_PROVOKE , BCK_SC_REFILL , BCK_SC_REFILL02 , BCK_SC_S_JUMP ,
  BCK_SC_S_JUMP_A , BCK_SC_S_JUMP_B , BCK_SC_S_JUMP_C , BCK_SC_WAIT ,
  BCK_SC_WAIT02 , BCK_SC_WHISTLE , BMDE_SM = 0x21 , BMDR_SC = 0x24
}
 
enum  Action {
  ACTION_NORMAL , ACTION_MOVE , ACTION_DAMAGE , ACTION_UNK ,
  ACTION_DELETE , ACTION_ATTACK
}
 
enum  Core_Action {
  CORE_ACTION_NORMAL , CORE_ACTION_FIGHT , CORE_ACTION_FREE = 0x3 , CORE_ACTION_DEATH ,
  CORE_ACTION_HOOK , CORE_ACTION_DEMO = 0x7
}
 

Functions

static BOOL way_bg_check (daE_SM_c *i_this, f32 param_2, cXyz param_3, s16 param_4)
 
static BOOL other_bg_check (daE_SM_c *i_this, fopAc_ac_c *param_2)
 
static BOOL pl_check (daE_SM_c *i_this, f32 param_2)
 
static void move_check (daE_SM_c *i_this, int *param_2)
 
static int daE_SM_IsDelete (daE_SM_c *i_this)
 
static int daE_SM_Delete (daE_SM_c *i_this)
 
static int daE_SM_Draw (daE_SM_c *i_this)
 
static int daE_SM_Execute (daE_SM_c *i_this)
 
static int daE_SM_Create (fopAc_ac_c *a_this)
 
static int useHeapInit (fopAc_ac_c *a_this)
 

Variables

static u8 l_initHIO
 
static daE_Sm_HIO_c l_HIO
 
 AUDIO_INSTANCES
 
static actor_method_class l_daE_SM_Method
 
actor_process_profile_definition g_profile_E_SM
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACTION_NORMAL 
ACTION_MOVE 
ACTION_DAMAGE 
ACTION_UNK 
ACTION_DELETE 
ACTION_ATTACK 

◆ Core_Action

Enumerator
CORE_ACTION_NORMAL 
CORE_ACTION_FIGHT 
CORE_ACTION_FREE 
CORE_ACTION_DEATH 
CORE_ACTION_HOOK 
CORE_ACTION_DEMO 

◆ E_SM_RES_File_ID

Enumerator
BCK_SC_ATTACK 
BCK_SC_BUTTOBI 
BCK_SC_DAMAGE 
BCK_SC_DAMAGE02 
BCK_SC_DAMAGEB 
BCK_SC_DAMAGEL 
BCK_SC_DAMAGER 
BCK_SC_DEAD 
BCK_SC_DEAD02 
BCK_SC_DRAW 
BCK_SC_ESCAPE 
BCK_SC_F_SHOCK 
BCK_SC_KYORO 
BCK_SC_LIBERATION 
BCK_SC_MOVE 
BCK_SC_MOVE02 
BCK_SC_PROVOKE 
BCK_SC_REFILL 
BCK_SC_REFILL02 
BCK_SC_S_JUMP 
BCK_SC_S_JUMP_A 
BCK_SC_S_JUMP_B 
BCK_SC_S_JUMP_C 
BCK_SC_WAIT 
BCK_SC_WAIT02 
BCK_SC_WHISTLE 
BMDE_SM 
BMDR_SC 

Function Documentation

◆ daE_SM_Create()

static int daE_SM_Create ( fopAc_ac_c * a_this)
static

◆ daE_SM_Delete()

static int daE_SM_Delete ( daE_SM_c * i_this)
static

◆ daE_SM_Draw()

static int daE_SM_Draw ( daE_SM_c * i_this)
static

◆ daE_SM_Execute()

static int daE_SM_Execute ( daE_SM_c * i_this)
static

◆ daE_SM_IsDelete()

static int daE_SM_IsDelete ( daE_SM_c * i_this)
static

◆ move_check()

static void move_check ( daE_SM_c * i_this,
int * param_2 )
static

◆ other_bg_check()

static BOOL other_bg_check ( daE_SM_c * i_this,
fopAc_ac_c * param_2 )
static

◆ pl_check()

static BOOL pl_check ( daE_SM_c * i_this,
f32 param_2 )
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * a_this)
static

◆ way_bg_check()

static BOOL way_bg_check ( daE_SM_c * i_this,
f32 param_2,
cXyz param_3,
s16 param_4 )
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ g_profile_E_SM

actor_process_profile_definition g_profile_E_SM
extern
Initial value:
= {
7,
sizeof(daE_SM_c),
0,
0,
127,
0x000C0100,
}
Chu Worm.
Definition d_a_e_sm.h:17
static actor_method_class l_daE_SM_Method
Definition d_a_e_sm.cpp:2013
@ PROC_E_SM
Definition d_procname.h:454
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_daE_SM_Method

actor_method_class l_daE_SM_Method
static
Initial value:
= {
}
static int daE_SM_IsDelete(daE_SM_c *i_this)
Definition d_a_e_sm.cpp:1795
static int daE_SM_Draw(daE_SM_c *i_this)
Definition d_a_e_sm.cpp:1803
static int daE_SM_Create(fopAc_ac_c *a_this)
Definition d_a_e_sm.cpp:1811
static int daE_SM_Execute(daE_SM_c *i_this)
Definition d_a_e_sm.cpp:1807
static int daE_SM_Delete(daE_SM_c *i_this)
Definition d_a_e_sm.cpp:1799
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daE_Sm_HIO_c l_HIO
static

◆ l_initHIO

u8 l_initHIO
static