Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
e_yk_class Class Reference

Twilight Keese (Yami Keese) More...

#include <d_a_e_yk.h>

+ Inheritance diagram for e_yk_class:
+ Collaboration diagram for e_yk_class:

Public Attributes

request_of_phase_process_class mPhase
 Resource loading phase handler.
 
u8 mBehaviorMode
 Controls default behavior (0: return to roof, 1: free flying).
 
u8 mPlayerTriggerBase
 Base value used to calculate player detection range (multiplied by 100).
 
u8 field_0x5b6
 Appears unused.
 
u8 mPathIdx
 Path index for room path lookup.
 
u8 mPathActive
 Flag indicating if path following is active (pathIdx + 1).
 
s8 mPathPntIdx
 Current index in path point array.
 
s8 mPathDirection
 Direction to traverse path (1: forward, -1: backward).
 
dPathmpPath
 Pointer to current flight path data.
 
mDoExt_McaMorfSOmpMorfSO
 Model and animation handler.
 
Z2CreatureEnemy mCreature
 Sound effect and voice handler.
 
s32 mResIdx
 Current animation resource index.
 
s16 mFrameCounter
 Increments each frame, used for periodic events.
 
s16 mAction
 Current action state.
 
s16 mActionPhase
 Sub-phase within current action.
 
cXyz mPathPntPos
 Target position (path point or player).
 
s16 mAngleFromPlayer
 Angle between keese and player in XZ plane.
 
f32 mDistanceXZFromPlayer
 XZ distance between keese and player.
 
f32 mPlayerTrigger
 Distance threshold for player detection.
 
f32 mMoveInterpolation
 Movement interpolation factor (0.0-1.0).
 
f32 mTurnSpeed
 Angular velocity for turning.
 
f32 mKnockbackSpeed
 Speed when knocked back from damage.
 
s16 mKnockbackAngle
 Direction angle when knocked back.
 
csXyz mStunRotation
 Rotation angles during stun animation.
 
s8 mDeathFlag
 Set to 1 when keese is dying.
 
s16 mActionTimers [4]
 Timers for various action states (movement, attack, etc).
 
s16 mInvulnerabilityTimer
 Frames of damage invulnerability remaining.
 
s16 field_0x6ac [6]
 Reserved/unused timer array.
 
cXyz mBoomrangPosOffset
 Position offset when caught in Gale Boomerang.
 
s16 mBoomrangXRotOffset
 Rotation offset when caught in Gale Boomerang.
 
dBgS_AcchCir mWallCollisionCircle
 Circular collision volume for wall detection and response.
 
dBgS_ObjAcch mActorCollisionHandler
 Handles all collision types (ground/wall/roof/water) for this actor.
 
dCcD_Stts mCollisionStatus
 Collision state tracking.
 
dCcD_Sph mCollisionSphere
 Spherical collision shape.
 
dCcU_AtInfo mAtColliderInfo
 Attack collision processor.
 
u32 mSmokeEffectId
 ID for smoke particle effect.
 
u32 mSmokeEffectParams
 Parameters for smoke effect.
 
u32 mShadowParticleId
 ID for shadow trail particle effect.
 
u32 mWingParticleIds [2]
 IDs for wing particle effects.
 
u8 mIsFirstSpawn
 Set to 1 if this is the first keese spawned in room.
 
- Public Attributes inherited from fopEn_enemy_c
cXyz mDownPos
 
cXyz mHeadLockPos
 
J3DModelmBallModel
 
J3DAnmTextureSRTKeymBtk
 
J3DAnmTevRegKeymBrk
 
u8 field_0x58c
 
u8 mThrowMode
 
u16 mFlags
 
f32 mAnmFrame
 
u32 mEffectID1
 
u32 mEffectID2
 
u32 mMidnaBindID [3]
 
u8 mMidnaBindMode
 
- Public Attributes inherited from fopAc_ac_c
leafdraw_class base
 
int actor_type
 
create_tag_class actor_tag
 
create_tag_class draw_tag
 
profile_method_classsub_method
 
JKRSolidHeapheap
 
dEvt_info_c eventInfo
 
dKy_tevstr_c tevStr
 
u16 setID
 
u8 group
 
u8 cullType
 
u8 demoActorID
 
s8 argument
 
u8 carryType
 
u32 actor_status
 
u32 actor_condition
 
fpc_ProcID parentActorID
 
actor_place home
 
actor_place old
 
actor_place current
 
csXyz shape_angle
 
cXyz scale
 
cXyz speed
 
MtxP cullMtx
 
union { 
 
   cull_box   box 
 
   cull_sphere   sphere 
 
cull 
 
f32 cullSizeFar
 
J3DModelmodel
 
dJntCol_cjntCol
 
f32 speedF
 
f32 gravity
 
f32 maxFallSpeed
 
cXyz eyePos
 
actor_attention_types attention_info
 
s16 field_0x560
 
s16 health
 
u8 field_0x564
 
u8 field_0x565
 
s8 field_0x566
 
s8 field_0x567
 

Additional Inherited Members

- Public Types inherited from fopEn_enemy_c
enum  fopEn_flag {
  fopEn_flag_Down = 0x1 , fopEn_flag_CutDownHit = 0x2 , fopEn_flag_WolfDownStart = 0x4 , fopEn_flag_Dead = 0x8 ,
  fopEn_flag_WolfDownPull = 0x10 , fopEn_flag_WolfDownPullEnd = 0x20 , fopEn_flag_WolfBiteDamage = 0x40 , fopEn_flag_HeadLock = 0x80 ,
  fopEn_flag_WolfNoLock = 0x200
}
 
enum  fopEn_throwMode { fopEn_throwMode_Catch = 0x2 , fopEn_throwMode_Dash = 0x4 , fopEn_throwMode_ThrowLeft = 0x8 , fopEn_throwMode_ThrowRight = 0x10 }
 
- Public Member Functions inherited from fopEn_enemy_c
BOOL initBallModel ()
 
bool checkBallModelDraw ()
 
void setBallModelEffect (dKy_tevstr_c *)
 
void drawBallModel (dKy_tevstr_c *)
 
BOOL checkWolfNoLock () const
 
BOOL checkHeadLockFlg () const
 
BOOL checkWolfBiteDamage () const
 
BOOL checkWolfDownPullFlg () const
 
BOOL checkDownFlg ()
 
BOOL checkCutDownHitFlg () const
 
BOOL checkWolfDownStartFlg () const
 
BOOL checkDeadFlg () const
 
BOOL checkThrowMode (u8 param_1) const
 
u32getMidnaBindID (int i_idx)
 
u8 getMidnaBindMode ()
 
cXyzgetDownPos ()
 
cXyzgetHeadLockPos ()
 
void onCutDownHitFlg ()
 
void onWolfBiteDamage ()
 
void onWolfDownStartFlg ()
 
void onWolfDownPullEndFlg ()
 
void onWolfNoLock ()
 
void onDownFlg ()
 
void onHeadLockFlg ()
 
void offWolfBiteDamage ()
 
void offCutDownHitFlg ()
 
void offWolfDownPullFlg ()
 
void offDownFlg ()
 
void offWolfNoLock ()
 
void offHeadLockFlg ()
 
void offThrowMode (u8 throwMode)
 
void offWolfBiteDamage ()
 
void offCutDownHitFlg ()
 
void offWolfDownPullFlg ()
 
void offDownFlg ()
 
void offWolfNoLock ()
 
void offHeadLockFlg ()
 
void offThrowMode (u8 throwMode)
 
void setMidnaBindMode (u8 i_bindMode)
 
void setMidnaBindID (u8 i_idx, u32 i_bindID)
 
void setThrowModeCatch ()
 
void setThrowModeDash ()
 
void setThrowModeThrowRight ()
 
void setThrowModeThrowLeft ()
 
void setDownPos (const cXyz *i_pos)
 
void setHeadLockPos (const cXyz *i_pos)
 
- Public Member Functions inherited from fopAc_ac_c
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Detailed Description

Twilight Keese (Yami Keese)

Member Data Documentation

◆ field_0x5b6

u8 e_yk_class::field_0x5b6

Appears unused.

◆ field_0x6ac

s16 e_yk_class::field_0x6ac[6]

Reserved/unused timer array.

◆ mAction

s16 e_yk_class::mAction

Current action state.

See also
daE_YK_Action

◆ mActionPhase

s16 e_yk_class::mActionPhase

Sub-phase within current action.

◆ mActionTimers

s16 e_yk_class::mActionTimers[4]

Timers for various action states (movement, attack, etc).

◆ mActorCollisionHandler

dBgS_ObjAcch e_yk_class::mActorCollisionHandler

Handles all collision types (ground/wall/roof/water) for this actor.

◆ mAngleFromPlayer

s16 e_yk_class::mAngleFromPlayer

Angle between keese and player in XZ plane.

◆ mAtColliderInfo

dCcU_AtInfo e_yk_class::mAtColliderInfo

Attack collision processor.

◆ mBehaviorMode

u8 e_yk_class::mBehaviorMode

Controls default behavior (0: return to roof, 1: free flying).

◆ mBoomrangPosOffset

cXyz e_yk_class::mBoomrangPosOffset

Position offset when caught in Gale Boomerang.

◆ mBoomrangXRotOffset

s16 e_yk_class::mBoomrangXRotOffset

Rotation offset when caught in Gale Boomerang.

◆ mCollisionSphere

dCcD_Sph e_yk_class::mCollisionSphere

Spherical collision shape.

◆ mCollisionStatus

dCcD_Stts e_yk_class::mCollisionStatus

Collision state tracking.

◆ mCreature

Z2CreatureEnemy e_yk_class::mCreature

Sound effect and voice handler.

◆ mDeathFlag

s8 e_yk_class::mDeathFlag

Set to 1 when keese is dying.

◆ mDistanceXZFromPlayer

f32 e_yk_class::mDistanceXZFromPlayer

XZ distance between keese and player.

◆ mFrameCounter

s16 e_yk_class::mFrameCounter

Increments each frame, used for periodic events.

◆ mInvulnerabilityTimer

s16 e_yk_class::mInvulnerabilityTimer

Frames of damage invulnerability remaining.

◆ mIsFirstSpawn

u8 e_yk_class::mIsFirstSpawn

Set to 1 if this is the first keese spawned in room.

◆ mKnockbackAngle

s16 e_yk_class::mKnockbackAngle

Direction angle when knocked back.

◆ mKnockbackSpeed

f32 e_yk_class::mKnockbackSpeed

Speed when knocked back from damage.

◆ mMoveInterpolation

f32 e_yk_class::mMoveInterpolation

Movement interpolation factor (0.0-1.0).

◆ mPathActive

u8 e_yk_class::mPathActive

Flag indicating if path following is active (pathIdx + 1).

◆ mPathDirection

s8 e_yk_class::mPathDirection

Direction to traverse path (1: forward, -1: backward).

◆ mPathIdx

u8 e_yk_class::mPathIdx

Path index for room path lookup.

◆ mPathPntIdx

s8 e_yk_class::mPathPntIdx

Current index in path point array.

◆ mPathPntPos

cXyz e_yk_class::mPathPntPos

Target position (path point or player).

◆ mPhase

request_of_phase_process_class e_yk_class::mPhase

Resource loading phase handler.

◆ mPlayerTrigger

f32 e_yk_class::mPlayerTrigger

Distance threshold for player detection.

◆ mPlayerTriggerBase

u8 e_yk_class::mPlayerTriggerBase

Base value used to calculate player detection range (multiplied by 100).

◆ mpMorfSO

mDoExt_McaMorfSO* e_yk_class::mpMorfSO

Model and animation handler.

◆ mpPath

dPath* e_yk_class::mpPath

Pointer to current flight path data.

◆ mResIdx

s32 e_yk_class::mResIdx

Current animation resource index.

◆ mShadowParticleId

u32 e_yk_class::mShadowParticleId

ID for shadow trail particle effect.

◆ mSmokeEffectId

u32 e_yk_class::mSmokeEffectId

ID for smoke particle effect.

◆ mSmokeEffectParams

u32 e_yk_class::mSmokeEffectParams

Parameters for smoke effect.

◆ mStunRotation

csXyz e_yk_class::mStunRotation

Rotation angles during stun animation.

◆ mTurnSpeed

f32 e_yk_class::mTurnSpeed

Angular velocity for turning.

◆ mWallCollisionCircle

dBgS_AcchCir e_yk_class::mWallCollisionCircle

Circular collision volume for wall detection and response.

◆ mWingParticleIds

u32 e_yk_class::mWingParticleIds[2]

IDs for wing particle effects.


The documentation for this class was generated from the following file: