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

Cat (Neko) More...

#include <d_a_npc_ne.h>

+ Inheritance diagram for npc_ne_class:
+ Collaboration diagram for npc_ne_class:

Public Types

enum  Action {
  ACT_WAIT = 0 , ACT_AWAY = 1 , ACT_TAME = 2 , ACT_ROOF = 3 ,
  ACT_HOME = 4 , ACT_JUMP = 5 , ACT_S_JUMP = 6 , ACT_BIRD = 7 ,
  ACT_BALL = 8 , ACT_SANBASI = 9 , ACT_PATH_WALK = 10 , ACT_SWIM = 12 ,
  ACT_OUT_SWIM = 13 , ACT_CLIMB = 14 , ACT_DROP = 15 , ACT_S_DROP = 16 ,
  ACT_MESSAGE = 17 , ACT_DISH = 18 , ACT_CARRY = 20
}
 
enum  Animation {
  ANM_CARRY_A = 6 , ANM_CARRY_B = 7 , ANM_DRINK_DISH = 8 , ANM_EMPTY_DISH = 9 ,
  ANM_FAWN_L = 10 , ANM_FAWN_R = 11 , ANM_JUMP_END = 12 , ANM_JUMP_LOOP = 13 ,
  ANM_JUMP_START = 14 , ANM_JUMP_UP = 15 , ANM_MILK = 16 , ANM_RUN = 17 ,
  ANM_SIT_A = 18 , ANM_SIT_B = 19 , ANM_SWIM = 20 , ANM_TO_JUMP = 21 ,
  ANM_TO_WAIT = 22 , ANM_TO_CARRY_B = 23 , ANM_WAIT = 24 , ANM_WALK = 25
}
 
enum  Behavior { BHV_NONE = 0 , BHV_TAME = 1 , BHV_PIER = 2 , BHV_DISH = 3 }
 
enum  LookMode { LOOK_FORWARD = 0 , LOOK_PLAYER = 1 , LOOK_TARGET = 2 , LOOK_NONE = 3 }
 

Public Member Functions

 npc_ne_class ()
 
- 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 checkDownFlg () const
 
bool checkCutDownHitFlg () const
 
bool checkDeadFlg () 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 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 ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 
 fopAc_ac_c ()
 
 ~fopAc_ac_c ()
 

Public Attributes

request_of_phase_process_class mPhase
 
u8 mBehavior
 
u8 mTexture
 
u8 mSize
 
u8 mIsGengle
 
u8 mPathIndex
 
u8 field_0x5b9
 
dPathmpPath
 
s8 mPathPointNo
 
s8 mPathDir
 
cXyz mTargetPos
 
s16 mTargetAngleY
 
f32 mAngleYStep
 
f32 mDistToTarget
 
s16 mAngleToPlayer
 
f32 mDistScale
 
charmResName
 
mDoExt_McaMorfmpMorf
 
mDoExt_btkAnmmpBtkAnm
 
mDoExt_btpAnmmpBtpAnm
 
s8 mBtkFrame
 
s16 mBtpFrame
 
s8 mBtpReset
 
mDoExt_McaMorfmpDishMorf
 
cXyz mDishPos
 
Z2SoundObjSimple mSound
 
s16 mBtpTimer
 
int mAnmID
 
u8 field_0x634 [4]
 
f32 mAnmSpeed
 
u8 field_0x63c [4]
 
s16 mCounter
 
s16 mAction
 
u8 field_0x644 [2]
 
s16 mMode
 
u32 mShadowKey
 
s16 mTimers [5]
 
s16 mCcDisableTimer
 
s16 mSplashTimer
 
f32 field_0x65c
 
s16 field_0x660
 
s16 mHeadAngleZ
 
s16 mHeadAngleY
 
s16 mHeadAngleX
 
s8 mLookMode
 
cXyz mLookTarget
 
s16 mLookNoMoveTimer
 
s16 mLookDownTimer
 
s16 mLookUpTimer
 
s16 mHeadTargetAngleY
 
s16 mHeadTargetAngleZ
 
s16 mNeckAngleY
 
s16 mTailSwayAngle [2]
 
s16 mTailAngle
 
s16 mTailTargetAngle
 
f32 mTailSway
 
f32 mTailSwayTarget
 
s16 mBackboneAngleY
 
s16 mBackboneTargetAngleY
 
u8 field_0x698 [2]
 
s16 mHeadBobAngleY
 
s16 mHeadBobAngleX
 
u8 field_0x69e [2]
 
s16 mHeadBobTargetAngleY
 
s16 mHeadBobTargetAngleX
 
s16 mHeadBobTimer
 
u8 field_0x6a6 [0x12]
 
f32 field_0x6b8
 
f32 mWaterY
 
u8 field_0x6c0 [0x14]
 
f32 field_0x6d4
 
cXyz mBaseScale
 
cXyz mClimbPos
 
s8 mCarryTimer
 
u8 field_0x6f1 [7]
 
s8 mSearchBall
 
int mHomePathIdx
 
s8 mNoFollow
 
s8 mWantsFish
 
dBgS_AcchCir mAcchCir
 
dBgS_ObjAcch mAcch
 
f32 mGroundY
 
dCcD_Stts mStts
 
dCcD_Sph mCcSph
 
dCcD_Sph mAtSph
 
s8 mAtEnable
 
u8 field_0xbcd [0x27]
 
f32 field_0xbf4
 
u8 field_0xbf8 [8]
 
u32 mParticle [2]
 
s8 mMessageState
 
s16 mIsTalking
 
s16 mFlowID
 
dMsgFlow_c mMsgFlow
 
s16 mDemoMode
 
s16 mDemoCounter
 
s16 mDemoTimer
 
cXyz mCameraEye1
 
cXyz mCameraCenter1
 
u8 field_0xc7c [0xc]
 
f32 mCameraFovY
 
u8 field_0xc8c [4]
 
cXyz mDemoFishPos
 
cXyz mCameraEye2
 
cXyz mCameraCenter2
 
bool field_0xcb4
 
s16 field_0xcb6
 
f32 field_0xcb8
 
u32 mFishID
 
bool field_0xcc0
 
bool mHIOInit
 
- Public Attributes inherited from fopEn_enemy_c
cXyz mDownPos
 
cXyz mHeadLockPos
 
J3DModelmBallModel
 
J3DAnmTextureSRTKeymBtk
 
J3DAnmTevRegKeymBrk
 
u8 field_0x58c
 
u8 mThrowMode
 
u16 mFlags
 
f32 field_0x590
 
u32 mEffectID1
 
u32 mEffectID2
 
u32 mMidnaBindID [3]
 
u8 mMidnaBindMode
 
- Public Attributes inherited from fopAc_ac_c
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 subtype
 
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
 
u8 field_0x566
 
s8 field_0x567
 
- Public Attributes inherited from leafdraw_class
base_process_class mBase
 
leafdraw_method_classmpDrawMtd
 
s8 mbUnk0
 
u8 mbUnk1
 
draw_priority_class mDwPi
 

Additional Inherited Members

- 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

Cat (Neko)

Member Enumeration Documentation

◆ Action

Enumerator
ACT_WAIT 
ACT_AWAY 
ACT_TAME 
ACT_ROOF 
ACT_HOME 
ACT_JUMP 
ACT_S_JUMP 
ACT_BIRD 
ACT_BALL 
ACT_SANBASI 
ACT_PATH_WALK 
ACT_SWIM 
ACT_OUT_SWIM 
ACT_CLIMB 
ACT_DROP 
ACT_S_DROP 
ACT_MESSAGE 
ACT_DISH 
ACT_CARRY 

◆ Animation

Enumerator
ANM_CARRY_A 
ANM_CARRY_B 
ANM_DRINK_DISH 
ANM_EMPTY_DISH 
ANM_FAWN_L 
ANM_FAWN_R 
ANM_JUMP_END 
ANM_JUMP_LOOP 
ANM_JUMP_START 
ANM_JUMP_UP 
ANM_MILK 
ANM_RUN 
ANM_SIT_A 
ANM_SIT_B 
ANM_SWIM 
ANM_TO_JUMP 
ANM_TO_WAIT 
ANM_TO_CARRY_B 
ANM_WAIT 
ANM_WALK 

◆ Behavior

Enumerator
BHV_NONE 
BHV_TAME 
BHV_PIER 
BHV_DISH 

◆ LookMode

Enumerator
LOOK_FORWARD 
LOOK_PLAYER 
LOOK_TARGET 
LOOK_NONE 

Constructor & Destructor Documentation

◆ npc_ne_class()

npc_ne_class::npc_ne_class ( )

Member Data Documentation

◆ field_0x5b9

u8 npc_ne_class::field_0x5b9

◆ field_0x634

u8 npc_ne_class::field_0x634[4]

◆ field_0x63c

u8 npc_ne_class::field_0x63c[4]

◆ field_0x644

u8 npc_ne_class::field_0x644[2]

◆ field_0x65c

f32 npc_ne_class::field_0x65c

◆ field_0x660

s16 npc_ne_class::field_0x660

◆ field_0x698

u8 npc_ne_class::field_0x698[2]

◆ field_0x69e

u8 npc_ne_class::field_0x69e[2]

◆ field_0x6a6

u8 npc_ne_class::field_0x6a6[0x12]

◆ field_0x6b8

f32 npc_ne_class::field_0x6b8

◆ field_0x6c0

u8 npc_ne_class::field_0x6c0[0x14]

◆ field_0x6d4

f32 npc_ne_class::field_0x6d4

◆ field_0x6f1

u8 npc_ne_class::field_0x6f1[7]

◆ field_0xbcd

u8 npc_ne_class::field_0xbcd[0x27]

◆ field_0xbf4

f32 npc_ne_class::field_0xbf4

◆ field_0xbf8

u8 npc_ne_class::field_0xbf8[8]

◆ field_0xc7c

u8 npc_ne_class::field_0xc7c[0xc]

◆ field_0xc8c

u8 npc_ne_class::field_0xc8c[4]

◆ field_0xcb4

bool npc_ne_class::field_0xcb4

◆ field_0xcb6

s16 npc_ne_class::field_0xcb6

◆ field_0xcb8

f32 npc_ne_class::field_0xcb8

◆ field_0xcc0

bool npc_ne_class::field_0xcc0

◆ mAcch

dBgS_ObjAcch npc_ne_class::mAcch

◆ mAcchCir

dBgS_AcchCir npc_ne_class::mAcchCir

◆ mAction

s16 npc_ne_class::mAction

◆ mAngleToPlayer

s16 npc_ne_class::mAngleToPlayer

◆ mAngleYStep

f32 npc_ne_class::mAngleYStep

◆ mAnmID

int npc_ne_class::mAnmID

◆ mAnmSpeed

f32 npc_ne_class::mAnmSpeed

◆ mAtEnable

s8 npc_ne_class::mAtEnable

◆ mAtSph

dCcD_Sph npc_ne_class::mAtSph

◆ mBackboneAngleY

s16 npc_ne_class::mBackboneAngleY

◆ mBackboneTargetAngleY

s16 npc_ne_class::mBackboneTargetAngleY

◆ mBaseScale

cXyz npc_ne_class::mBaseScale

◆ mBehavior

u8 npc_ne_class::mBehavior

◆ mBtkFrame

s8 npc_ne_class::mBtkFrame

◆ mBtpFrame

s16 npc_ne_class::mBtpFrame

◆ mBtpReset

s8 npc_ne_class::mBtpReset

◆ mBtpTimer

s16 npc_ne_class::mBtpTimer

◆ mCameraCenter1

cXyz npc_ne_class::mCameraCenter1

◆ mCameraCenter2

cXyz npc_ne_class::mCameraCenter2

◆ mCameraEye1

cXyz npc_ne_class::mCameraEye1

◆ mCameraEye2

cXyz npc_ne_class::mCameraEye2

◆ mCameraFovY

f32 npc_ne_class::mCameraFovY

◆ mCarryTimer

s8 npc_ne_class::mCarryTimer

◆ mCcDisableTimer

s16 npc_ne_class::mCcDisableTimer

◆ mCcSph

dCcD_Sph npc_ne_class::mCcSph

◆ mClimbPos

cXyz npc_ne_class::mClimbPos

◆ mCounter

s16 npc_ne_class::mCounter

◆ mDemoCounter

s16 npc_ne_class::mDemoCounter

◆ mDemoFishPos

cXyz npc_ne_class::mDemoFishPos

◆ mDemoMode

s16 npc_ne_class::mDemoMode

◆ mDemoTimer

s16 npc_ne_class::mDemoTimer

◆ mDishPos

cXyz npc_ne_class::mDishPos

◆ mDistScale

f32 npc_ne_class::mDistScale

◆ mDistToTarget

f32 npc_ne_class::mDistToTarget

◆ mFishID

u32 npc_ne_class::mFishID

◆ mFlowID

s16 npc_ne_class::mFlowID

◆ mGroundY

f32 npc_ne_class::mGroundY

◆ mHeadAngleX

s16 npc_ne_class::mHeadAngleX

◆ mHeadAngleY

s16 npc_ne_class::mHeadAngleY

◆ mHeadAngleZ

s16 npc_ne_class::mHeadAngleZ

◆ mHeadBobAngleX

s16 npc_ne_class::mHeadBobAngleX

◆ mHeadBobAngleY

s16 npc_ne_class::mHeadBobAngleY

◆ mHeadBobTargetAngleX

s16 npc_ne_class::mHeadBobTargetAngleX

◆ mHeadBobTargetAngleY

s16 npc_ne_class::mHeadBobTargetAngleY

◆ mHeadBobTimer

s16 npc_ne_class::mHeadBobTimer

◆ mHeadTargetAngleY

s16 npc_ne_class::mHeadTargetAngleY

◆ mHeadTargetAngleZ

s16 npc_ne_class::mHeadTargetAngleZ

◆ mHIOInit

bool npc_ne_class::mHIOInit

◆ mHomePathIdx

int npc_ne_class::mHomePathIdx

◆ mIsGengle

u8 npc_ne_class::mIsGengle

◆ mIsTalking

s16 npc_ne_class::mIsTalking

◆ mLookDownTimer

s16 npc_ne_class::mLookDownTimer

◆ mLookMode

s8 npc_ne_class::mLookMode

◆ mLookNoMoveTimer

s16 npc_ne_class::mLookNoMoveTimer

◆ mLookTarget

cXyz npc_ne_class::mLookTarget

◆ mLookUpTimer

s16 npc_ne_class::mLookUpTimer

◆ mMessageState

s8 npc_ne_class::mMessageState

◆ mMode

s16 npc_ne_class::mMode

◆ mMsgFlow

dMsgFlow_c npc_ne_class::mMsgFlow

◆ mNeckAngleY

s16 npc_ne_class::mNeckAngleY

◆ mNoFollow

s8 npc_ne_class::mNoFollow

◆ mParticle

u32 npc_ne_class::mParticle[2]

◆ mPathDir

s8 npc_ne_class::mPathDir

◆ mPathIndex

u8 npc_ne_class::mPathIndex

◆ mPathPointNo

s8 npc_ne_class::mPathPointNo

◆ mpBtkAnm

mDoExt_btkAnm* npc_ne_class::mpBtkAnm

◆ mpBtpAnm

mDoExt_btpAnm* npc_ne_class::mpBtpAnm

◆ mpDishMorf

mDoExt_McaMorf* npc_ne_class::mpDishMorf

◆ mPhase

request_of_phase_process_class npc_ne_class::mPhase

◆ mpMorf

mDoExt_McaMorf* npc_ne_class::mpMorf

◆ mpPath

dPath* npc_ne_class::mpPath

◆ mResName

char* npc_ne_class::mResName

◆ mSearchBall

s8 npc_ne_class::mSearchBall

◆ mShadowKey

u32 npc_ne_class::mShadowKey

◆ mSize

u8 npc_ne_class::mSize

◆ mSound

Z2SoundObjSimple npc_ne_class::mSound

◆ mSplashTimer

s16 npc_ne_class::mSplashTimer

◆ mStts

dCcD_Stts npc_ne_class::mStts

◆ mTailAngle

s16 npc_ne_class::mTailAngle

◆ mTailSway

f32 npc_ne_class::mTailSway

◆ mTailSwayAngle

s16 npc_ne_class::mTailSwayAngle[2]

◆ mTailSwayTarget

f32 npc_ne_class::mTailSwayTarget

◆ mTailTargetAngle

s16 npc_ne_class::mTailTargetAngle

◆ mTargetAngleY

s16 npc_ne_class::mTargetAngleY

◆ mTargetPos

cXyz npc_ne_class::mTargetPos

◆ mTexture

u8 npc_ne_class::mTexture

◆ mTimers

s16 npc_ne_class::mTimers[5]

◆ mWantsFish

s8 npc_ne_class::mWantsFish

◆ mWaterY

f32 npc_ne_class::mWaterY

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