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

Classes

struct  stick_info
 

Enumerations

enum  Action {
  ACT_MOVE , ACT_SEARCH , ACT_KAMU , ACT_DROP ,
  ACT_B_SEARCH = 0x5 , ACT_ESA_SEARCH = 0x7 , ACT_DAMAGE = 0xA
}
 
enum  Mode {
  MODE_IDLE , MODE_ACTIVE , MODE_SLOW = 0x5 , MODE_FOLLOW = 0xA ,
  MODE_TARGET = 0xB
}
 

Functions

static int nodeCallBack (J3DJoint *i_joint, int i_callbackCondition)
 
static int daE_SG_Draw (e_sg_class *i_this)
 
static void pl_joint_search (e_sg_class *i_this)
 
static int otherBgCheck (fopAc_ac_c *i_this, cXyz *i_end_pos, cXyz *o_cross_pos)
 
static void * s_box_sub (void *i_ac, void *)
 
static obj_kbox_classsearch_box (e_sg_class *i_this)
 
static dmg_rod_classsearch_esa (e_sg_class *i_this)
 
static void e_sg_move (e_sg_class *i_this)
 
static void e_sg_search (e_sg_class *i_this)
 
static void e_sg_b_search (e_sg_class *i_this)
 
static void e_sg_esa_search (e_sg_class *i_this)
 
static void e_sg_kamu (e_sg_class *i_this)
 
static void e_sg_drop (e_sg_class *i_this)
 
static void e_sg_damage (e_sg_class *i_this)
 
static void damage_check (e_sg_class *i_this)
 
static void action (e_sg_class *i_this)
 
static int daE_SG_Execute (e_sg_class *i_this)
 
static int daE_SG_IsDelete (e_sg_class *i_this)
 
static int daE_SG_Delete (e_sg_class *i_this)
 
static int useHeapInit (fopAc_ac_c *i_this)
 
static int daE_SG_Create (fopAc_ac_c *i_this)
 

Variables

static int stick_bit [32]
 
static stick_info stick_d [19]
 
static bool hio_init
 
static daE_SG_HIO_c l_HIO
 
static int stick_pt
 
static obj_kbox_classtarget_info [10]
 
static s8 bg_on [10]
 
static cXyz bg_cross [10]
 
static int target_info_count
 
static Vec jv_offset = {0.0f, 0.0f, 0.0f}
 
static dJntColData_c jc_data
 
 AUDIO_INSTANCES
 
static actor_method_class l_daE_SG_Method
 
actor_process_profile_definition g_profile_E_SG
 

Enumeration Type Documentation

◆ Action

enum Action
Enumerator
ACT_MOVE 
ACT_SEARCH 
ACT_KAMU 
ACT_DROP 
ACT_B_SEARCH 
ACT_ESA_SEARCH 
ACT_DAMAGE 

◆ Mode

enum Mode
Enumerator
MODE_IDLE 
MODE_ACTIVE 
MODE_SLOW 
MODE_FOLLOW 
MODE_TARGET 

Function Documentation

◆ action()

static void action ( e_sg_class * i_this)
static

◆ daE_SG_Create()

static int daE_SG_Create ( fopAc_ac_c * i_this)
static

◆ daE_SG_Delete()

static int daE_SG_Delete ( e_sg_class * i_this)
static

◆ daE_SG_Draw()

static int daE_SG_Draw ( e_sg_class * i_this)
static

◆ daE_SG_Execute()

static int daE_SG_Execute ( e_sg_class * i_this)
static

◆ daE_SG_IsDelete()

static int daE_SG_IsDelete ( e_sg_class * i_this)
static

◆ damage_check()

static void damage_check ( e_sg_class * i_this)
static

◆ e_sg_b_search()

static void e_sg_b_search ( e_sg_class * i_this)
static

◆ e_sg_damage()

static void e_sg_damage ( e_sg_class * i_this)
static

◆ e_sg_drop()

static void e_sg_drop ( e_sg_class * i_this)
static

◆ e_sg_esa_search()

static void e_sg_esa_search ( e_sg_class * i_this)
static

◆ e_sg_kamu()

static void e_sg_kamu ( e_sg_class * i_this)
static

◆ e_sg_move()

static void e_sg_move ( e_sg_class * i_this)
static

◆ e_sg_search()

static void e_sg_search ( e_sg_class * i_this)
static

◆ nodeCallBack()

static int nodeCallBack ( J3DJoint * i_joint,
int i_callbackCondition )
static

◆ otherBgCheck()

static int otherBgCheck ( fopAc_ac_c * i_this,
cXyz * i_end_pos,
cXyz * o_cross_pos )
static

◆ pl_joint_search()

static void pl_joint_search ( e_sg_class * i_this)
static

◆ s_box_sub()

static void * s_box_sub ( void * i_ac,
void *  )
static

◆ search_box()

static obj_kbox_class * search_box ( e_sg_class * i_this)
static

◆ search_esa()

static dmg_rod_class * search_esa ( e_sg_class * i_this)
static

◆ useHeapInit()

static int useHeapInit ( fopAc_ac_c * i_this)
static

Variable Documentation

◆ AUDIO_INSTANCES

AUDIO_INSTANCES

◆ bg_cross

cXyz bg_cross[10]
static

◆ bg_on

s8 bg_on[10]
static

◆ g_profile_E_SG

actor_process_profile_definition g_profile_E_SG
extern
Initial value:
= {
7,
sizeof(e_sg_class),
0,
0,
122,
0x000D0100,
}
Skullfish.
Definition d_a_e_sg.h:21
static actor_method_class l_daE_SG_Method
Definition d_a_e_sg.cpp:1249
@ PROC_E_SG
Definition d_procname.h:447
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

◆ hio_init

bool hio_init
static

◆ jc_data

dJntColData_c jc_data
static
Initial value:
= {
0x00, 0x01, 0x0001, 10.0f, &jv_offset,
}
static Vec jv_offset
Definition d_a_e_sg.cpp:1123

◆ jv_offset

Vec jv_offset = {0.0f, 0.0f, 0.0f}
static

◆ l_daE_SG_Method

actor_method_class l_daE_SG_Method
static
Initial value:
= {
}
static int daE_SG_Draw(e_sg_class *i_this)
Definition d_a_e_sg.cpp:87
static int daE_SG_Delete(e_sg_class *i_this)
Definition d_a_e_sg.cpp:1104
static int daE_SG_Create(fopAc_ac_c *i_this)
Definition d_a_e_sg.cpp:1150
static int daE_SG_Execute(e_sg_class *i_this)
Definition d_a_e_sg.cpp:965
static int daE_SG_IsDelete(e_sg_class *i_this)
Definition d_a_e_sg.cpp:1100
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_HIO

daE_SG_HIO_c l_HIO
static

◆ stick_bit

int stick_bit[32]
static
Initial value:
= {1 << 0, 1 << 1, 1 << 2, 1 << 3, 1 << 4, 1 << 5, 1 << 6, 1 << 7,
1 << 8, 1 << 9, 1 << 10, 1 << 11, 1 << 12, 1 << 13, 1 << 14, 1 << 15,
1 << 16, 1 << 17, 1 << 18, 1 << 19, 1 << 20, 1 << 21, 1 << 22, 1 << 23,
1 << 24, 1 << 25, 1 << 26, 1 << 27, 1 << 28, 1 << 29, 1 << 30, 1 << 31}

◆ stick_d

stick_info stick_d[19]
static
Initial value:
= {
{0x22, 0, 20}, {0x01, 20, 0}, {0x12, 0, 10}, {0x07, 0, -10}, {0x1C, 0, 0},
{0x09, 0, -10}, {0x0C, 0, 10}, {0x1D, 0, 10}, {0x18, 0, 10}, {0x08, 0, -10},
{0x13, 0, 10}, {0x0D, 0, 10}, {0x02, 20, 0}, {0x17, 0, 10}, {0x03, 20, 0},
{0x19, 0, 10}, {0x0E, 0, 10}, {0x20, 0, 0}, {0x14, 0, 10},
}

◆ stick_pt

int stick_pt
static

◆ target_info

obj_kbox_class* target_info[10]
static

◆ target_info_count

int target_info_count
static