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

Ashei (Yeti Garb) More...

#include <d_a_npc_ashB.h>

+ Inheritance diagram for daNpcAshB_c:
+ Collaboration diagram for daNpcAshB_c:

Public Types

enum  Animation {
  ANM_NONE , ANM_F_TALK_A , ANM_F_TALK_B , ANM_F_SILENT ,
  ANM_F_COOL , ANM_F_ASK , ANM_F_EXPLAIN_A , ANM_F_EXPLAIN_B ,
  ANM_WAIT_A , ANM_WAIT_B , ANM_WAIT_C , ANM_STEP ,
  ANM_COOL , ANM_ASK , ANM_EXPLAIN_A , ANM_EXPLAIN_B ,
  ANM_BOWWAIT , ANM_BOWRUN
}
 
enum  Expression {
  EXPR_TALK_A , EXPR_TALK_B , EXPR_SILENT , EXPR_COOL ,
  EXPR_ASK , EXPR_EXPLAIN_A , EXPR_EXPLAIN_B , EXPR_NONE
}
 
enum  Motion {
  MOT_WAIT_A , MOT_WAIT_B , MOT_WAIT_C , MOT_COOL ,
  MOT_ASK , MOT_EXPLAIN_A , MOT_EXPLAIN_B , MOT_BOWWAIT ,
  MOT_BOWRUN , MOT_STEP
}
 
enum  LookMode {
  LOOK_NONE , LOOK_RESET , LOOK_PLAYER , LOOK_PLAYER_TALK ,
  LOOK_ACTOR , LOOK_ATTN
}
 
typedef bool(daNpcAshB_c::* ActionFn) (void *)
 
typedef BOOL(daNpcAshB_c::* EventFn) (int)
 
- Public Types inherited from daNpcF_c
enum  AnmFlags {
  ANM_PAUSE_MORF = 0x0001 , ANM_PAUSE_BTK = 0x0002 , ANM_PAUSE_BRK = 0x0004 , ANM_PLAY_MORF = 0x0008 ,
  ANM_PLAY_BTK = 0x0010 , ANM_PLAY_BRK = 0x0020 , ANM_PAUSE_BCK = 0x0040 , ANM_PAUSE_BTP = 0x0080 ,
  ANM_PLAY_BCK = 0x0100 , ANM_PLAY_BTP = 0x0200 , ANM_FLAG_400 = 0x0400 , ANM_FLAG_800 = 0x0800 ,
  ANM_PAUSE_EXPRESSION = 0x1000 , ANM_PAUSE_BPK = 0x2000 , ANM_PLAY_BPK = 0x4000 , ANM_MOTION_FLAGS ,
  ANM_EXPRESSION_FLAGS , ANM_PAUSE_ALL
}
 
enum  LookMode {
  LOOK_NONE , LOOK_RESET , LOOK_PLAYER , LOOK_PLAYER_TALK ,
  LOOK_ACTOR , LOOK_ATTN
}
 

Public Member Functions

 daNpcAshB_c ()
 
 ~daNpcAshB_c ()
 
cPhs__Step Create ()
 
BOOL CreateHeap ()
 
int Delete ()
 
int Execute ()
 
int Draw ()
 
bool ctrlJoint (J3DJoint *, J3DModel *)
 
bool setExpressionAnm (int, bool)
 
bool setExpressionBtp (int)
 
bool setMotionAnm (int, f32)
 
void reset ()
 
bool setAction (ActionFn i_actionFn)
 
bool wait (void *)
 
void setMotion (int, f32, int)
 
void setExpression (int, f32)
 
bool talk (void *)
 
bool demo (void *)
 
BOOL EvCut_Appear (int)
 
void setParam ()
 
BOOL main ()
 
void playMotion ()
 
BOOL ctrlBtk ()
 
void setAttnPos ()
 
void lookat ()
 
void drawOtherMdls ()
 
BOOL drawDbgInfo ()
 
s16 getMessageNo ()
 
void setExpressionTalkAfter ()
 
void setLookMode (int i_lookMode)
 
BOOL chkFindPlayer ()
 
bool step (s16, int, f32)
 
void playExpression ()
 
- Public Member Functions inherited from daNpcF_c
BOOL execute ()
 
int draw (BOOL, BOOL, f32, _GXColorS10 *, BOOL)
 
void initialize ()
 
J3DAnmTransformKeygetTrnsfrmKeyAnmP (char *, int)
 
J3DAnmTexPatterngetTexPtrnAnmP (char *, int)
 
J3DAnmTextureSRTKeygetTexSRTKeyAnmP (char *, int)
 
J3DAnmTevRegKeygetTevRegKeyAnmP (char *, int)
 
BOOL setMcaMorfAnm (J3DAnmTransformKey *i_anm, f32 i_rate, f32 i_morf, int i_attr, int i_start, int i_end)
 
BOOL setBckAnm (J3DAnmTransform *i_bck, f32 i_rate, int i_attr, int i_start, int i_end, bool i_modify)
 
BOOL setBtpAnm (J3DAnmTexPattern *i_btp, J3DModelData *i_modelData, f32 i_rate, int i_attr)
 
BOOL setBtkAnm (J3DAnmTextureSRTKey *i_btk, J3DModelData *i_modelData, f32 i_rate, int i_attr)
 
BOOL setBrkAnm (J3DAnmTevRegKey *i_brk, J3DModelData *i_modelData, f32 i_rate, int i_attr)
 
void setEnvTevColor ()
 
void setRoomNo ()
 
BOOL chkEndAnm (f32)
 
BOOL chkEndAnm (J3DFrameCtrl *, f32)
 
BOOL playAllAnm ()
 
void playExpressionAnm (daNpcF_c::daNpcF_anmPlayData ***)
 
void playMotionAnm (daNpcF_c::daNpcF_anmPlayData ***)
 
void setLookatMtx (int, int *, f32)
 
BOOL hitChk2 (dCcD_Cyl *, BOOL, BOOL)
 
void setDamage (int, int, int)
 
int ctrlMsgAnm (int &, int &, fopAc_ac_c *, BOOL)
 
void orderEvent (int, char *, u16, u16, u8, u16)
 
void changeEvent (char *, char *, u16, u16)
 
BOOL chkActorInSight (fopAc_ac_c *, f32)
 
BOOL chkActorInArea (fopAc_ac_c *, cXyz, cXyz, s16)
 
BOOL chkActorInAttnArea (fopAc_ac_c *, fopAc_ac_c *, int)
 
BOOL initTalk (int, fopAc_ac_c **)
 
BOOL talkProc (int *, BOOL, fopAc_ac_c **)
 
BOOL turn (s16, f32, int)
 
BOOL step (s16, int, int, int)
 
void setAngle (s16)
 
u8 getDistTableIdx (int, int)
 
fopAc_ac_cgetEvtAreaTagP (int, int)
 
fopAc_ac_cgetAttnActorP (BOOL, fpcLyIt_JudgeFunc, f32, f32, f32, f32, s16, int, BOOL)
 
BOOL chkActorInSight2 (fopAc_ac_c *, f32, s16)
 
BOOL chkPointInArea (cXyz, cXyz, f32, f32, f32, s16)
 
BOOL chkPointInArea (cXyz, cXyz, cXyz, s16)
 
cXyz getAttentionPos (fopAc_ac_c *)
 
BOOL chkFindPlayer2 (BOOL, s16)
 
void setHitodamaPrtcl ()
 
virtual ~daNpcF_c ()
 
virtual void adjustShapeAngle ()
 
virtual void setMtx ()
 
virtual void setMtx2 ()
 
virtual void setCollisions ()
 
BOOL chkActorInSpeakArea (fopAc_ac_c *i_actorCheck, fopAc_ac_c *i_actorArea)
 
BOOL chkPlayerInSpeakArea (fopAc_ac_c *i_actor)
 
BOOL chkActorInTalkArea (fopAc_ac_c *i_actorCheck, fopAc_ac_c *i_actorArea)
 
BOOL chkPlayerInTalkArea (fopAc_ac_c *i_actor)
 
BOOL checkHide ()
 
void setIntDemander (fopAc_ac_c *i_actor)
 
void setIntFlowNodeNo (int i_flowNodeNo)
 
void setCutType (int i_cutType)
 
void onInterrupt (u8 param_0)
 
- 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 ()
 

Static Public Member Functions

static BOOL createHeapCallBack (fopAc_ac_c *)
 
static BOOL ctrlJointCallBack (J3DJoint *, int)
 
- Static Public Member Functions inherited from daNpcF_c
static void tgHitCallBack (fopAc_ac_c *, dCcD_GObjInf *, fopAc_ac_c *, dCcD_GObjInf *)
 
static voidsrchAttnActor1 (void *, void *)
 
static voidsrchActor (void *, void *)
 
- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 

Static Public Attributes

static EventFn mEvtSeqList [2]
 
- Static Public Attributes inherited from daNpcF_c
static u8 const mCcDObjInfo [48]
 
static dCcD_SrcCyl mCcDCyl
 
static dCcD_SrcSph mCcDSph
 
static fopAc_ac_cmFindActorPList [100]
 
static s32 mFindCount
 
static s16 mSrchActorName
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Private Attributes

Z2Creature mCreatureSound
 
daNpcF_MatAnm_cmpMatAnm
 
J3DModelmpModel
 
daNpcF_Lookat_c mLookat
 
daNpcF_ActorMngr_c mActorMngr [1]
 
fopAc_ac_cmpTalkPartner
 
dCcD_Cyl mCyl
 
ActionFn mpActionFn
 
request_of_phase_process_class mPhase [1]
 
s32 mItemPartnerId
 
u32 field_0xddc
 
u32 field_0xde0
 
s16 mFlowID
 
s16 mLookMode
 
u16 mMode
 
s16 field_0xdea
 
u8 field_0xdec
 
u8 field_0xded
 
u8 field_0xdee
 

Additional Inherited Members

- 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
 
- Protected Attributes inherited from daNpcF_c
mDoExt_McaMorfSOmpMorf
 
mDoExt_bckAnm mBckAnm
 
mDoExt_btpAnm mBtpAnm
 
mDoExt_btkAnm mBtkAnm
 
mDoExt_brkAnm mBrkAnm
 
dBgS_ObjAcch mAcch
 
dCcD_Stts mCcStts
 
dBgS_AcchCir mAcchCir
 
daNpcF_ActorMngr_c field_0x824
 
daNpcF_ActorMngr_c mAttnActor [5]
 
cXyz mLookatPos [3]
 
cXyz mLookPos
 
cXyz field_0x884
 
cXyz field_0x890
 
cXyz field_0x89c
 
cXyz field_0x8a8
 
cXyz field_0x8b4
 
cXyz field_0x8c0
 
cXyz field_0x8cc
 
cXyz field_0x8d8
 
cXyz mHeadPos
 
csXyz mCurAngle
 
csXyz mOldAngle
 
csXyz mEyeAngle
 
csXyz mHeadAngle
 
csXyz field_0x908 [3]
 
csXyz mLookatAngle [3]
 
int mStaffID
 
int mCutType
 
int mAttnIdx
 
int mAttnChangeTimer
 
int mAttnActorTimer [5]
 
int mMsgTimer
 
int mDamageTimer
 
int mTotalDamageTimer
 
int field_0x95c
 
int mEventTimer
 
int mBtpTimer
 
int mTurnAmount
 
int mTurnMode
 
f32 mTurnStepNum
 
f32 mExpressionMorfOverride
 
f32 mExpressionMorf
 
f32 mMotionMorfOverride
 
f32 mGroundH
 
f32 field_0x984 [3]
 
s16 field_0x990
 
s16 field_0x992
 
s16 mTurnStartAngle
 
s16 mTurnTargetAngle
 
u16 field_0x998
 
u32 mAnmFlags
 
u32 mShadowKey
 
u32 field_0x9a4
 
u32 mHitodamaParticleKey [2]
 
u32 mPolySound
 
int mFlowNodeNo
 
cXyz field_0x9b8
 
cXyz field_0x9c4
 
s16 field_0x9d0
 
s16 field_0x9d2
 
s16 mEventIdx
 
s16 mExpressionPhase
 
s16 mExpressionPrevPhase
 
s16 mMotionPhase
 
s16 mMotionPrevPhase
 
s16 mExpression
 
s16 mMotion
 
u16 mMotionLoops
 
u16 mExpressionLoops
 
u16 mOrderEvtNo
 
s8 mReverb
 
bool mOrderSpeakEvt
 
bool field_0x9ea
 
bool field_0x9eb
 
bool field_0x9ec
 
bool mOrderNewEvt
 
bool field_0x9ee
 
u8 field_0x9ef
 
bool mIsDamaged
 
u8 field_0x9f1
 
bool mHide
 
u8 field_0x9f3
 
bool mTwilight
 
u8 field_0x9f5
 
u8 field_0x9f6
 
dMsgFlow_c mFlow
 
cBgS_GndChk mGndChk
 
dBgS_GndChk field_0xa80
 
dBgS_LinChk field_0xad4
 

Detailed Description

Ashei (Yeti Garb)

Member Typedef Documentation

◆ ActionFn

typedef bool(daNpcAshB_c::* daNpcAshB_c::ActionFn) (void *)

◆ EventFn

typedef BOOL(daNpcAshB_c::* daNpcAshB_c::EventFn) (int)

Member Enumeration Documentation

◆ Animation

Enumerator
ANM_NONE 
ANM_F_TALK_A 
ANM_F_TALK_B 
ANM_F_SILENT 
ANM_F_COOL 
ANM_F_ASK 
ANM_F_EXPLAIN_A 
ANM_F_EXPLAIN_B 
ANM_WAIT_A 
ANM_WAIT_B 
ANM_WAIT_C 
ANM_STEP 
ANM_COOL 
ANM_ASK 
ANM_EXPLAIN_A 
ANM_EXPLAIN_B 
ANM_BOWWAIT 
ANM_BOWRUN 

◆ Expression

Enumerator
EXPR_TALK_A 
EXPR_TALK_B 
EXPR_SILENT 
EXPR_COOL 
EXPR_ASK 
EXPR_EXPLAIN_A 
EXPR_EXPLAIN_B 
EXPR_NONE 

◆ LookMode

Enumerator
LOOK_NONE 
LOOK_RESET 
LOOK_PLAYER 
LOOK_PLAYER_TALK 
LOOK_ACTOR 
LOOK_ATTN 

◆ Motion

Enumerator
MOT_WAIT_A 
MOT_WAIT_B 
MOT_WAIT_C 
MOT_COOL 
MOT_ASK 
MOT_EXPLAIN_A 
MOT_EXPLAIN_B 
MOT_BOWWAIT 
MOT_BOWRUN 
MOT_STEP 

Constructor & Destructor Documentation

◆ daNpcAshB_c()

daNpcAshB_c::daNpcAshB_c ( )

◆ ~daNpcAshB_c()

daNpcAshB_c::~daNpcAshB_c ( )

Member Function Documentation

◆ chkFindPlayer()

BOOL daNpcAshB_c::chkFindPlayer ( )
inline

◆ Create()

cPhs__Step daNpcAshB_c::Create ( )

◆ CreateHeap()

BOOL daNpcAshB_c::CreateHeap ( )

◆ createHeapCallBack()

BOOL daNpcAshB_c::createHeapCallBack ( fopAc_ac_c i_this)
static

◆ ctrlBtk()

BOOL daNpcAshB_c::ctrlBtk ( )
virtual

Reimplemented from daNpcF_c.

◆ ctrlJoint()

bool daNpcAshB_c::ctrlJoint ( J3DJoint i_joint,
J3DModel i_model 
)

◆ ctrlJointCallBack()

BOOL daNpcAshB_c::ctrlJointCallBack ( J3DJoint i_joint,
int  param_1 
)
static

◆ Delete()

int daNpcAshB_c::Delete ( )

◆ demo()

bool daNpcAshB_c::demo ( void param_0)

◆ Draw()

int daNpcAshB_c::Draw ( )

◆ drawDbgInfo()

BOOL daNpcAshB_c::drawDbgInfo ( )
virtual

Reimplemented from daNpcF_c.

◆ drawOtherMdls()

void daNpcAshB_c::drawOtherMdls ( )
virtual

Reimplemented from daNpcF_c.

◆ EvCut_Appear()

BOOL daNpcAshB_c::EvCut_Appear ( int  i_staffID)

◆ Execute()

int daNpcAshB_c::Execute ( )

◆ getMessageNo()

s16 daNpcAshB_c::getMessageNo ( )
inline

◆ lookat()

void daNpcAshB_c::lookat ( )

◆ main()

BOOL daNpcAshB_c::main ( )
virtual

Reimplemented from daNpcF_c.

◆ playExpression()

void daNpcAshB_c::playExpression ( )
inline

◆ playMotion()

void daNpcAshB_c::playMotion ( )

◆ reset()

void daNpcAshB_c::reset ( )

◆ setAction()

bool daNpcAshB_c::setAction ( daNpcAshB_c::ActionFn  i_actionFn)
inline

◆ setAttnPos()

void daNpcAshB_c::setAttnPos ( )
virtual

Reimplemented from daNpcF_c.

◆ setExpression()

void daNpcAshB_c::setExpression ( int  i_expression,
f32  i_morf 
)
virtual

Reimplemented from daNpcF_c.

◆ setExpressionAnm()

bool daNpcAshB_c::setExpressionAnm ( int  i_idx,
bool  i_modify 
)
virtual

Reimplemented from daNpcF_c.

◆ setExpressionBtp()

bool daNpcAshB_c::setExpressionBtp ( int  i_idx)
virtual

Reimplemented from daNpcF_c.

◆ setExpressionTalkAfter()

void daNpcAshB_c::setExpressionTalkAfter ( )
inline

◆ setLookMode()

void daNpcAshB_c::setLookMode ( int  i_lookMode)
inline

◆ setMotion()

void daNpcAshB_c::setMotion ( int  i_motion,
f32  i_morf,
int  i_restart 
)
virtual

Reimplemented from daNpcF_c.

◆ setMotionAnm()

bool daNpcAshB_c::setMotionAnm ( int  i_idx,
f32  i_morf 
)
virtual

Reimplemented from daNpcF_c.

◆ setParam()

void daNpcAshB_c::setParam ( )
virtual

Reimplemented from daNpcF_c.

◆ step()

bool daNpcAshB_c::step ( s16  i_targetAngle,
int  param_2,
f32  i_rate 
)
inline

◆ talk()

bool daNpcAshB_c::talk ( void param_0)

◆ wait()

bool daNpcAshB_c::wait ( void param_0)

Member Data Documentation

◆ field_0xddc

u32 daNpcAshB_c::field_0xddc
private

◆ field_0xde0

u32 daNpcAshB_c::field_0xde0
private

◆ field_0xdea

s16 daNpcAshB_c::field_0xdea
private

◆ field_0xdec

u8 daNpcAshB_c::field_0xdec
private

◆ field_0xded

u8 daNpcAshB_c::field_0xded
private

◆ field_0xdee

u8 daNpcAshB_c::field_0xdee
private

◆ mActorMngr

daNpcF_ActorMngr_c daNpcAshB_c::mActorMngr[1]
private

◆ mCreatureSound

Z2Creature daNpcAshB_c::mCreatureSound
private

◆ mCyl

dCcD_Cyl daNpcAshB_c::mCyl
private

◆ mEvtSeqList

daNpcAshB_c::EventFn daNpcAshB_c::mEvtSeqList
static
Initial value:
= {
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74
BOOL EvCut_Appear(int)
Definition d_a_npc_ashB.cpp:1075

◆ mFlowID

s16 daNpcAshB_c::mFlowID
private

◆ mItemPartnerId

s32 daNpcAshB_c::mItemPartnerId
private

◆ mLookat

daNpcF_Lookat_c daNpcAshB_c::mLookat
private

◆ mLookMode

s16 daNpcAshB_c::mLookMode
private

◆ mMode

u16 daNpcAshB_c::mMode
private

◆ mpActionFn

ActionFn daNpcAshB_c::mpActionFn
private

◆ mPhase

request_of_phase_process_class daNpcAshB_c::mPhase[1]
private

◆ mpMatAnm

daNpcF_MatAnm_c* daNpcAshB_c::mpMatAnm
private

◆ mpModel

J3DModel* daNpcAshB_c::mpModel
private

◆ mpTalkPartner

fopAc_ac_c* daNpcAshB_c::mpTalkPartner
private

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