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

Enumerations

enum  Joint {
  JNT_WORLD_ROOT , JNT_BACKBONE1 , JNT_BACKBONE2 , JNT_NECK ,
  JNT_HEAD , JNT_CHIN , JNT_HAIR_1 , JNT_HAIR_2 ,
  JNT_HAIR_3 , JNT_HAIR_4 , JNT_HAIR_5 , JNT_MOUTH ,
  JNT_SHOULDER_L , JNT_ARM_L1 , JNT_ARM_L2 , JNT_HAND_L ,
  JNT_SHOULDER_R , JNT_ARM_R1 , JNT_ARM_R2 , JNT_HAND_R ,
  JNT_WAIST , JNT_CLOTCHL , JNT_LEG_L1 , JNT_LEG_L2 ,
  JNT_FOOT_L , JNT_CLOTCHR , JNT_LEG_R1 , JNT_LEG_R2 ,
  JNT_FOOT_R , JNT_MAX
}
 

Functions

static int daMidna_modelCallBack (J3DJoint *i_joint, int param_2)
 
static int daMidna_createHeap (fopAc_ac_c *i_this)
 
static cPhs__Step daMidna_Create (fopAc_ac_c *i_this)
 
static voiddaMidna_searchNpc (fopAc_ac_c *i_actor, void *o_far)
 
static int daMidna_Execute (daMidna_c *i_this)
 
static int daMidna_Draw (daMidna_c *i_this)
 
static int daMidna_Delete (daMidna_c *i_this)
 

Variables

static u8 const lit_3777 [12]
 
static char const l_arcName [6] = "Midna"
 
static Vec const l_eyeOffset = { 16.0f, -10.400001f, 0.0f }
 
static Vec const l_headCenterOffset = { 0.0f, -10.400001f, 0.0f }
 
static GXColorS10 const l_normalColor = { 0x50, 0x00, 0x00, 0x00 }
 
static GXColor const l_normalKColor = { 0xB4, 0x87, 0x00, 0x00 }
 
static GXColor const l_normalKColor2 = { 0x00, 0xC3, 0xC3, 0x00 }
 
static GXColorS10 const l_bigColor = { 0xFF, 0x64, 0x78, 0x00 }
 
static GXColor const l_bigKColor = { 0x1E, 0x00, 0x00, 0x00 }
 
static GXColor const l_lNormalKColor = { 0xFF, 0xDC, 0x00, 0x00 }
 
static GXColor const l_lNormalKColor2 = { 0x00, 0xC3, 0xEB, 0x00 }
 
static GXColorS10 const l_lBigColor = { 0xFF, 0x78, 0x00, 0x00 }
 
static GXColor const l_lBigKColor2 = { 0xAA, 0xFF, 0xC3, 0x00 }
 
static Vec const l_hairScale [5]
 
static actor_method_class l_daMidna_Method
 
actor_process_profile_definition g_profile_MIDNA
 

Enumeration Type Documentation

◆ Joint

Enumerator
JNT_WORLD_ROOT 
JNT_BACKBONE1 
JNT_BACKBONE2 
JNT_NECK 
JNT_HEAD 
JNT_CHIN 
JNT_HAIR_1 
JNT_HAIR_2 
JNT_HAIR_3 
JNT_HAIR_4 
JNT_HAIR_5 
JNT_MOUTH 
JNT_SHOULDER_L 
JNT_ARM_L1 
JNT_ARM_L2 
JNT_HAND_L 
JNT_SHOULDER_R 
JNT_ARM_R1 
JNT_ARM_R2 
JNT_HAND_R 
JNT_WAIST 
JNT_CLOTCHL 
JNT_LEG_L1 
JNT_LEG_L2 
JNT_FOOT_L 
JNT_CLOTCHR 
JNT_LEG_R1 
JNT_LEG_R2 
JNT_FOOT_R 
JNT_MAX 

Function Documentation

◆ daMidna_Create()

static cPhs__Step daMidna_Create ( fopAc_ac_c i_this)
static

◆ daMidna_createHeap()

static int daMidna_createHeap ( fopAc_ac_c i_this)
static

◆ daMidna_Delete()

static int daMidna_Delete ( daMidna_c i_this)
static

◆ daMidna_Draw()

static int daMidna_Draw ( daMidna_c i_this)
static

◆ daMidna_Execute()

static int daMidna_Execute ( daMidna_c i_this)
static

◆ daMidna_modelCallBack()

static int daMidna_modelCallBack ( J3DJoint i_joint,
int  param_2 
)
static

◆ daMidna_searchNpc()

static void * daMidna_searchNpc ( fopAc_ac_c i_actor,
void o_far 
)
static

Variable Documentation

◆ g_profile_MIDNA

actor_process_profile_definition g_profile_MIDNA
extern
Initial value:
= {
6,
sizeof(daMidna_c),
0,
0,
0x5C,
0x60000,
}
Midna.
Definition d_a_midna.h:93
void * g_fopAc_Method[8]
void * g_fpcLf_Method[5+1]
Definition f_pc_leaf.cpp:65
static actor_method_class l_daMidna_Method
Definition d_a_midna.cpp:3410
@ PROC_MIDNA
Definition d_procname.h:260
@ fopAc_CULLBOX_0_e
Definition f_op_actor.h:53
@ fopAc_ENV_e
Definition f_op_actor.h:41
@ fpcLy_CURRENT_e
Definition f_pc_layer_tag.h:9
@ fpcPi_CURRENT_e
Definition f_pc_priority.h:8

◆ l_arcName

char const l_arcName[6] = "Midna"
static

◆ l_bigColor

GXColorS10 const l_bigColor = { 0xFF, 0x64, 0x78, 0x00 }
static

◆ l_bigKColor

GXColor const l_bigKColor = { 0x1E, 0x00, 0x00, 0x00 }
static

◆ l_daMidna_Method

actor_method_class l_daMidna_Method
static
Initial value:
= {
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74
static cPhs__Step daMidna_Create(fopAc_ac_c *i_this)
Definition d_a_midna.cpp:622
static int daMidna_Execute(daMidna_c *i_this)
Definition d_a_midna.cpp:3244
static int daMidna_Delete(daMidna_c *i_this)
Definition d_a_midna.cpp:3404
static int daMidna_Draw(daMidna_c *i_this)
Definition d_a_midna.cpp:3392
int(* process_method_func)(void *)
Definition f_pc_method.h:7

◆ l_eyeOffset

Vec const l_eyeOffset = { 16.0f, -10.400001f, 0.0f }
static

◆ l_hairScale

Vec const l_hairScale[5]
static
Initial value:
= {
{0.3f, 0.8f, 0.7f},
{0.2f, 0.8f, 0.4f},
{0.15f, 0.75f, 0.5f},
{0.1f, 0.7f, 0.7f},
{1.0f, 1.0f, 1.0f},
}

◆ l_headCenterOffset

Vec const l_headCenterOffset = { 0.0f, -10.400001f, 0.0f }
static

◆ l_lBigColor

GXColorS10 const l_lBigColor = { 0xFF, 0x78, 0x00, 0x00 }
static

◆ l_lBigKColor2

GXColor const l_lBigKColor2 = { 0xAA, 0xFF, 0xC3, 0x00 }
static

◆ l_lNormalKColor

GXColor const l_lNormalKColor = { 0xFF, 0xDC, 0x00, 0x00 }
static

◆ l_lNormalKColor2

GXColor const l_lNormalKColor2 = { 0x00, 0xC3, 0xEB, 0x00 }
static

◆ l_normalColor

GXColorS10 const l_normalColor = { 0x50, 0x00, 0x00, 0x00 }
static

◆ l_normalKColor

GXColor const l_normalKColor = { 0xB4, 0x87, 0x00, 0x00 }
static

◆ l_normalKColor2

GXColor const l_normalKColor2 = { 0x00, 0xC3, 0xC3, 0x00 }
static

◆ lit_3777

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