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

#include <d_a_npc_zra.h>

+ Inheritance diagram for daNpc_zrA_c:
+ Collaboration diagram for daNpc_zrA_c:

Public Types

enum  Type {
  TYPE_WAIT , TYPE_SWIM , TYPE_WATERFALL , TYPE_RIVER ,
  TYPE_TOBIKOMI , TYPE_SEARCH , TYPE_SPA
}
 
enum  SoldierType { SOLDIER_SPEAR , SOLDIER_NOSPEAR , SOLDIER_NONE }
 
enum  ActionType {
  ACT_TYPE_0 , ACT_TYPE_1 , ACT_TYPE_2 , ACT_TYPE_3 ,
  ACT_TYPE_4 , ACT_TYPE_5 , ACT_TYPE_6
}
 
enum  GameMode { GAME_MODE_0 , GAME_MODE_1 , GAME_MODE_2 , GAME_MODE_3 }
 
enum  SwimMode { SWIM_WAIT , SWIM_RAIL , SWIM_TURN , SWIM_3 }
 
enum  Animation {
  ANM_NONE , ANM_F_TALK_A , ANM_F_TALK_A_SP , ANM_F_WAIT_SWIM ,
  ANM_F_TALK_NOMAL , ANM_FH_TALK_NOMAL , ANM_FH_SADSIT_A , ANM_FH_SADSIT_B ,
  ANM_FH_SADSIT_C , ANM_FH_SADSIT_D , ANM_FH_SADSIT_E , ANM_F_LOOKING_SP ,
  ANM_FH_LOOKING_SP , ANM_F_LOOKUP , ANM_FH_LOOKUP , ANM_F_TALK_SWIM_SP ,
  ANM_F_TALK_B_SP , ANM_F_SPA_TALK_A , ANM_FH_SPA_WAIT_A , ANM_F_SPA_TALK_B ,
  ANM_FH_SPA_WAIT_B , ANM_SWIM_TURN , ANM_STILL , ANM_FALLSWIM ,
  ANM_SWIM_TALK , ANM_SADSIT_A , ANM_SADSIT_B , ANM_SADSIT_C ,
  ANM_SADSIT_D , ANM_SADSIT_E , ANM_TOBIKOMI_S , ANM_TOBIKOMI_T ,
  ANM_TOBIKOMI_E , ANM_LOOKING_SP , ANM_TALK_SWIM_SP , ANM_TALK_B_SP ,
  ANM_LOOKUP , ANM_SPA_WAIT_B , ANM_SPA_TALK_B , ANM_SPA_WAIT_A ,
  ANM_SPA_TALK_A , ANM_WAIT_A , ANM_WALK_A , ANM_TALK_A ,
  ANM_SWIM_A , ANM_SWIM_B , ANM_WAIT_SWIM , ANM_DIVE ,
  ANM_DIVE_B , ANM_FLOAT , ANM_FLOAT_B , ANM_STEP ,
  ANM_WAIT_SP , ANM_WALK_A_SP , ANM_TALK_A_SP , ANM_SWIM_A_SP ,
  ANM_SWIM_B_SP , ANM_WAIT_SWIM_SP , ANM_DIVE_SP , ANM_DIVE_B_SP ,
  ANM_FLOAT_SP , ANM_FLOAT_B_SP , ANM_STEP_SP
}
 
enum  Expression {
  EXPR_TALK_NOMAL , EXPR_SADSIT_A , EXPR_SADSIT_B , EXPR_SADSIT_C ,
  EXPR_SADSIT_D , EXPR_SADSIT_E , EXPR_LOOKING_SP , EXPR_LOOKUP ,
  EXPR_SPA_TALK_A , EXPR_SPA_TALK_B , EXPR_TALK_SWIM_SP , EXPR_TALK_B_SP ,
  EXPR_TALK_A , EXPR_WAIT_SWIM , EXPR_TALK_A_SP , EXPR_TALK_NOMAL_2 ,
  EXPR_LOOKING_SP_2 , EXPR_LOOKUP_2 , EXPR_SPA_WAIT_A , EXPR_SPA_WAIT_B ,
  EXPR_NONE
}
 
enum  Motion {
  MOT_WAIT_A , MOT_WAIT_SWIM , MOT_SWIM_TALK , MOT_WAIT_A_2 ,
  MOT_WAIT_SWIM_2 , MOT_TALK_A , MOT_SADSIT_A , MOT_SADSIT_B ,
  MOT_SADSIT_C , MOT_SADSIT_D , MOT_SADSIT_E , MOT_LOOKING_SP ,
  MOT_LOOKUP , MOT_SPA_TALK_A , MOT_SPA_TALK_B , MOT_TALK_SWIM_SP ,
  MOT_TALK_B_SP , MOT_TALK_A_2 , MOT_SPA_WAIT_A , MOT_SPA_WAIT_B ,
  MOT_WALK_A , MOT_SWIM_A = 0x16 , MOT_SWIM_B , MOT_DIVE_SWIM_A ,
  MOT_DIVE_B_SWIM_A , MOT_DIVE_SWIM_B , MOT_DIVE_B_SWIM_B , MOT_STEP ,
  MOT_FLOAT , MOT_FLOAT_B , MOT_SWIM_TURN , MOT_TOBIKOMI_S ,
  MOT_TOBIKOMI_T , MOT_TOBIKOMI_E , MOT_FALLSWIM
}
 
enum  Event {
  EVT_NONE , EVT_TALK_SWIM , EVT_BEFORE_BLAST_ZRR , EVT_AFTER_BLAST_ZRR ,
  EVT_THANKS_BLAST , EVT_RESULT_ANNOUNCE , EVT_CARRY_WATERFALL , EVT_CARRY_WATERFALL_NIGHT ,
  EVT_CARRY_WATERFALL_SKIP , EVT_CARRY_WATERFALL_NIGHT_SKIP , EVT_SEARCH_PRINCE , EVT_TALK_MULTI ,
  EVT_TALK_MULTI2
}
 
typedef BOOL(daNpc_zrA_c::* ActionFn) (void *)
 
typedef BOOL(daNpc_zrA_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

 daNpc_zrA_c ()
 
 ~daNpc_zrA_c ()
 
cPhs__Step create ()
 
int CreateHeap ()
 
int Delete ()
 
int Execute ()
 
int Draw ()
 
int ctrlJoint (J3DJoint *, J3DModel *)
 
void setParam ()
 
BOOL main ()
 
BOOL ctrlBtk ()
 
void setAttnPos ()
 
void setMtx ()
 
bool setExpressionAnm (int, bool)
 
bool setExpressionBtp (int)
 
void setExpression (int, f32)
 
bool setMotionAnm (int, f32)
 
void setMotionWaterAnm (int)
 
void setMotion (int, f32, BOOL)
 
BOOL drawDbgInfo ()
 
void drawOtherMdls ()
 
Type getTypeFromArgument ()
 
SoldierType getSoldierTypeFromParam ()
 
GameMode getGameModeFromParam ()
 
ActionType getActionTypeFromParam ()
 
u8 getMultiModeFromParam ()
 
u8 getMultiNoFromParam ()
 
u8 getNoFromParam ()
 
u8 getPathNoFromParam ()
 
BOOL isDelete ()
 
void reset ()
 
void playExpression ()
 
void playMotion ()
 
BOOL chkAction (ActionFn)
 
bool setAction (ActionFn)
 
bool selectAction ()
 
BOOL doEvent ()
 
BOOL setSkipZev (int, int)
 
void setLookMode (int)
 
void lookat ()
 
BOOL chkFindPlayer ()
 
void setExpressionTalkAfter ()
 
void setPrtcl ()
 
BOOL test (void *)
 
BOOL wait (void *)
 
void walkCalc ()
 
void waitCalc ()
 
BOOL waitSpa (void *)
 
BOOL waitLake (void *)
 
BOOL talk (void *)
 
BOOL ECut_talkMulti (int)
 
BOOL swim (void *)
 
BOOL railSwim ()
 
BOOL waitSwim ()
 
BOOL turnSwimInit ()
 
BOOL turnSwim ()
 
BOOL turnSwimCheck ()
 
BOOL evasionCalc (cXyz &, csXyz &)
 
void calcBank (s16, s16, s16 &, s16 &)
 
void calcWaistAngle ()
 
void calcWaistAngleInit ()
 
void calcWaistAngleStop ()
 
BOOL calcWaistAngleCheck ()
 
void calcModulation ()
 
void resetModulation ()
 
void calcSwimAngle (csXyz &, csXyz &, s16, s16)
 
void calcSwimPos (cXyz &)
 
void calcWaitSwim (BOOL)
 
BOOL ECut_talkSwim (int)
 
BOOL waitWaterfall (void *)
 
BOOL swimWaterfall (void *)
 
BOOL diveWaterfall (void *)
 
BOOL talkSwim (void *)
 
BOOL ECut_carryWaterfall (int)
 
BOOL ECut_carryWaterfallSkip (int)
 
BOOL diveCalc (s16, s16, BOOL)
 
BOOL waitRiverDescend (void *)
 
BOOL swimRiverDescend (void *)
 
BOOL swimRiverDescend2 (void *)
 
BOOL diveRiverDescend (void *)
 
BOOL swimGoalRiverDescend (void *)
 
BOOL returnRiverDescend (void *)
 
void moveRiverPosCalc (cXyz &)
 
void createRuppi ()
 
BOOL ECut_beforeBlastzrR (int)
 
BOOL ECut_afterBlastzrR (int)
 
BOOL ECut_thanksBlast (int)
 
BOOL ECut_resultAnnounce (int)
 
void calcCanoeMove (BOOL)
 
BOOL tobiSearch (void *)
 
BOOL tobiWait (void *)
 
BOOL tobikomi1 (void *)
 
BOOL tobikomi2 (void *)
 
BOOL tobikomi3 (void *)
 
BOOL tobiJump (void *)
 
BOOL tobiEnd (void *)
 
BOOL waitSearch (void *)
 
BOOL ECut_searchPrince1 (int)
 
BOOL ECut_searchPrince2 (int)
 
void adjustShapeAngle ()
 
int getType ()
 
u32 getAngleNoFromParam ()
 
void setBlastFlag (u8 i_flag)
 
MtxP getHeadMtx ()
 
- 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 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 int createHeapCallBack (fopAc_ac_c *)
 
static int 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)
 

Public Attributes

Z2Creature mCreatureSound
 
J3DModelmpObjectModel [3]
 
daNpcF_MatAnm_cmpMatAnm
 
mDoExt_btkAnm mWaterBtkAnm
 
mDoExt_bpkAnm mWaterBpkAnm
 
daNpc_zrA_Path_c mPath
 
daNpcF_Lookat_c mLookat
 
dPaPo_c mPaPo
 
daNpcF_ActorMngr_c mActorMngr [3]
 
u8 field_0x1334 [4]
 
dCcD_Cyl mCcCyl
 
ActionFn mpNextActionFn
 
ActionFn mpActionFn
 
request_of_phase_process_class mPhase [8]
 
u32 mItemID
 
int field_0x14d0
 
int field_0x14d4
 
int mSwimTurnTimer
 
int field_0x14dc
 
int mFlowID
 
s16 mLookMode
 
u16 mMode
 
u8 mType
 
u8 mSoldierType
 
int mBaseMotionAnm
 
int mBtkID
 
int mBpkID
 
u32 mWaterAnmFlags
 
charmStaffName
 
cXyz field_0x1500
 
u8 mMeterCount
 
u8 mGameMode
 
u8 mSwitch1
 
u8 mSwitch2
 
int field_0x1510
 
int mSpinAngle
 
s16 field_0x1518
 
int mSpinTimer
 
u8 mSwimMode
 
bool field_0x1521
 
f32 mSwimSpeedF
 
f32 mSwimSpeedScale
 
u8 field_0x152c [4]
 
csXyz mWaistAngle
 
csXyz mSwimAngleCalc
 
bool field_0x153c
 
bool field_0x153d
 
bool field_0x153e
 
int mSwimFastTurnTimer
 
cXyz mSwimSpeed
 
bool field_0x1550
 
int field_0x1554
 
int field_0x1558
 
int mModulationParam
 
cXyz mModulationOffset
 
f32 mScaleFactor
 
int mEvasionTimer
 
s16 mEvasionAngle
 
u8 mActionType
 
bool mIsAboveWater
 
cXyz field_0x1578
 
cXyz field_0x1584
 
bool mResetWaistAngle
 
bool mIsTurning
 
u8 mCheckSwimTurnTimer
 
bool mCheckSwimTurn
 
u8 mActionSelect
 
int mRiverPathIdx
 
cXyz field_0x159c [3]
 
u8 field_0x15c0
 
bool mBlastFlag
 
- 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
 

Static Public Attributes

static charmEvtCutNameList [11]
 
static EventFn mEvtCutList [11]
 
- 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
 

Additional Inherited Members

- 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
 

Member Typedef Documentation

◆ ActionFn

typedef BOOL(daNpc_zrA_c::* daNpc_zrA_c::ActionFn) (void *)

◆ EventFn

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

Member Enumeration Documentation

◆ ActionType

Enumerator
ACT_TYPE_0 
ACT_TYPE_1 
ACT_TYPE_2 
ACT_TYPE_3 
ACT_TYPE_4 
ACT_TYPE_5 
ACT_TYPE_6 

◆ Animation

Enumerator
ANM_NONE 
ANM_F_TALK_A 
ANM_F_TALK_A_SP 
ANM_F_WAIT_SWIM 
ANM_F_TALK_NOMAL 
ANM_FH_TALK_NOMAL 
ANM_FH_SADSIT_A 
ANM_FH_SADSIT_B 
ANM_FH_SADSIT_C 
ANM_FH_SADSIT_D 
ANM_FH_SADSIT_E 
ANM_F_LOOKING_SP 
ANM_FH_LOOKING_SP 
ANM_F_LOOKUP 
ANM_FH_LOOKUP 
ANM_F_TALK_SWIM_SP 
ANM_F_TALK_B_SP 
ANM_F_SPA_TALK_A 
ANM_FH_SPA_WAIT_A 
ANM_F_SPA_TALK_B 
ANM_FH_SPA_WAIT_B 
ANM_SWIM_TURN 
ANM_STILL 
ANM_FALLSWIM 
ANM_SWIM_TALK 
ANM_SADSIT_A 
ANM_SADSIT_B 
ANM_SADSIT_C 
ANM_SADSIT_D 
ANM_SADSIT_E 
ANM_TOBIKOMI_S 
ANM_TOBIKOMI_T 
ANM_TOBIKOMI_E 
ANM_LOOKING_SP 
ANM_TALK_SWIM_SP 
ANM_TALK_B_SP 
ANM_LOOKUP 
ANM_SPA_WAIT_B 
ANM_SPA_TALK_B 
ANM_SPA_WAIT_A 
ANM_SPA_TALK_A 
ANM_WAIT_A 
ANM_WALK_A 
ANM_TALK_A 
ANM_SWIM_A 
ANM_SWIM_B 
ANM_WAIT_SWIM 
ANM_DIVE 
ANM_DIVE_B 
ANM_FLOAT 
ANM_FLOAT_B 
ANM_STEP 
ANM_WAIT_SP 
ANM_WALK_A_SP 
ANM_TALK_A_SP 
ANM_SWIM_A_SP 
ANM_SWIM_B_SP 
ANM_WAIT_SWIM_SP 
ANM_DIVE_SP 
ANM_DIVE_B_SP 
ANM_FLOAT_SP 
ANM_FLOAT_B_SP 
ANM_STEP_SP 

◆ Event

Enumerator
EVT_NONE 
EVT_TALK_SWIM 
EVT_BEFORE_BLAST_ZRR 
EVT_AFTER_BLAST_ZRR 
EVT_THANKS_BLAST 
EVT_RESULT_ANNOUNCE 
EVT_CARRY_WATERFALL 
EVT_CARRY_WATERFALL_NIGHT 
EVT_CARRY_WATERFALL_SKIP 
EVT_CARRY_WATERFALL_NIGHT_SKIP 
EVT_SEARCH_PRINCE 
EVT_TALK_MULTI 
EVT_TALK_MULTI2 

◆ Expression

Enumerator
EXPR_TALK_NOMAL 
EXPR_SADSIT_A 
EXPR_SADSIT_B 
EXPR_SADSIT_C 
EXPR_SADSIT_D 
EXPR_SADSIT_E 
EXPR_LOOKING_SP 
EXPR_LOOKUP 
EXPR_SPA_TALK_A 
EXPR_SPA_TALK_B 
EXPR_TALK_SWIM_SP 
EXPR_TALK_B_SP 
EXPR_TALK_A 
EXPR_WAIT_SWIM 
EXPR_TALK_A_SP 
EXPR_TALK_NOMAL_2 
EXPR_LOOKING_SP_2 
EXPR_LOOKUP_2 
EXPR_SPA_WAIT_A 
EXPR_SPA_WAIT_B 
EXPR_NONE 

◆ GameMode

Enumerator
GAME_MODE_0 
GAME_MODE_1 
GAME_MODE_2 
GAME_MODE_3 

◆ Motion

Enumerator
MOT_WAIT_A 
MOT_WAIT_SWIM 
MOT_SWIM_TALK 
MOT_WAIT_A_2 
MOT_WAIT_SWIM_2 
MOT_TALK_A 
MOT_SADSIT_A 
MOT_SADSIT_B 
MOT_SADSIT_C 
MOT_SADSIT_D 
MOT_SADSIT_E 
MOT_LOOKING_SP 
MOT_LOOKUP 
MOT_SPA_TALK_A 
MOT_SPA_TALK_B 
MOT_TALK_SWIM_SP 
MOT_TALK_B_SP 
MOT_TALK_A_2 
MOT_SPA_WAIT_A 
MOT_SPA_WAIT_B 
MOT_WALK_A 
MOT_SWIM_A 
MOT_SWIM_B 
MOT_DIVE_SWIM_A 
MOT_DIVE_B_SWIM_A 
MOT_DIVE_SWIM_B 
MOT_DIVE_B_SWIM_B 
MOT_STEP 
MOT_FLOAT 
MOT_FLOAT_B 
MOT_SWIM_TURN 
MOT_TOBIKOMI_S 
MOT_TOBIKOMI_T 
MOT_TOBIKOMI_E 
MOT_FALLSWIM 

◆ SoldierType

Enumerator
SOLDIER_SPEAR 
SOLDIER_NOSPEAR 
SOLDIER_NONE 

◆ SwimMode

Enumerator
SWIM_WAIT 
SWIM_RAIL 
SWIM_TURN 
SWIM_3 

◆ Type

Enumerator
TYPE_WAIT 
TYPE_SWIM 
TYPE_WATERFALL 
TYPE_RIVER 
TYPE_TOBIKOMI 
TYPE_SEARCH 
TYPE_SPA 

Constructor & Destructor Documentation

◆ daNpc_zrA_c()

daNpc_zrA_c::daNpc_zrA_c ( )

◆ ~daNpc_zrA_c()

daNpc_zrA_c::~daNpc_zrA_c ( )

Member Function Documentation

◆ adjustShapeAngle()

void daNpc_zrA_c::adjustShapeAngle ( )
inlinevirtual

Reimplemented from daNpcF_c.

◆ calcBank()

void daNpc_zrA_c::calcBank ( s16  ,
s16  ,
s16 ,
s16  
)

◆ calcCanoeMove()

void daNpc_zrA_c::calcCanoeMove ( BOOL  )

◆ calcModulation()

void daNpc_zrA_c::calcModulation ( )

◆ calcSwimAngle()

void daNpc_zrA_c::calcSwimAngle ( csXyz ,
csXyz ,
s16  ,
s16   
)

◆ calcSwimPos()

void daNpc_zrA_c::calcSwimPos ( cXyz )

◆ calcWaistAngle()

void daNpc_zrA_c::calcWaistAngle ( )

◆ calcWaistAngleCheck()

BOOL daNpc_zrA_c::calcWaistAngleCheck ( )

◆ calcWaistAngleInit()

void daNpc_zrA_c::calcWaistAngleInit ( )

◆ calcWaistAngleStop()

void daNpc_zrA_c::calcWaistAngleStop ( )

◆ calcWaitSwim()

void daNpc_zrA_c::calcWaitSwim ( BOOL  )

◆ chkAction()

BOOL daNpc_zrA_c::chkAction ( ActionFn  i_action)

◆ chkFindPlayer()

BOOL daNpc_zrA_c::chkFindPlayer ( )

◆ create()

cPhs__Step daNpc_zrA_c::create ( )

◆ CreateHeap()

int daNpc_zrA_c::CreateHeap ( )

◆ createHeapCallBack()

int daNpc_zrA_c::createHeapCallBack ( fopAc_ac_c i_this)
static

◆ createRuppi()

void daNpc_zrA_c::createRuppi ( )

◆ ctrlBtk()

BOOL daNpc_zrA_c::ctrlBtk ( )
virtual

Reimplemented from daNpcF_c.

◆ ctrlJoint()

int daNpc_zrA_c::ctrlJoint ( J3DJoint i_joint,
J3DModel i_model 
)

◆ ctrlJointCallBack()

int daNpc_zrA_c::ctrlJointCallBack ( J3DJoint i_joint,
int  param_1 
)
static

◆ Delete()

int daNpc_zrA_c::Delete ( )

◆ diveCalc()

BOOL daNpc_zrA_c::diveCalc ( s16  ,
s16  ,
BOOL   
)

◆ diveRiverDescend()

BOOL daNpc_zrA_c::diveRiverDescend ( void )

◆ diveWaterfall()

BOOL daNpc_zrA_c::diveWaterfall ( void )

◆ doEvent()

BOOL daNpc_zrA_c::doEvent ( )

◆ Draw()

int daNpc_zrA_c::Draw ( )

◆ drawDbgInfo()

BOOL daNpc_zrA_c::drawDbgInfo ( )
virtual

Reimplemented from daNpcF_c.

◆ drawOtherMdls()

void daNpc_zrA_c::drawOtherMdls ( )
virtual

Reimplemented from daNpcF_c.

◆ ECut_afterBlastzrR()

BOOL daNpc_zrA_c::ECut_afterBlastzrR ( int  )

◆ ECut_beforeBlastzrR()

BOOL daNpc_zrA_c::ECut_beforeBlastzrR ( int  )

◆ ECut_carryWaterfall()

BOOL daNpc_zrA_c::ECut_carryWaterfall ( int  )

◆ ECut_carryWaterfallSkip()

BOOL daNpc_zrA_c::ECut_carryWaterfallSkip ( int  )

◆ ECut_resultAnnounce()

BOOL daNpc_zrA_c::ECut_resultAnnounce ( int  )

◆ ECut_searchPrince1()

BOOL daNpc_zrA_c::ECut_searchPrince1 ( int  )

◆ ECut_searchPrince2()

BOOL daNpc_zrA_c::ECut_searchPrince2 ( int  )

◆ ECut_talkMulti()

BOOL daNpc_zrA_c::ECut_talkMulti ( int  )

◆ ECut_talkSwim()

BOOL daNpc_zrA_c::ECut_talkSwim ( int  )

◆ ECut_thanksBlast()

BOOL daNpc_zrA_c::ECut_thanksBlast ( int  )

◆ evasionCalc()

BOOL daNpc_zrA_c::evasionCalc ( cXyz ,
csXyz  
)

◆ Execute()

int daNpc_zrA_c::Execute ( )

◆ getActionTypeFromParam()

daNpc_zrA_c::ActionType daNpc_zrA_c::getActionTypeFromParam ( )

◆ getAngleNoFromParam()

u32 daNpc_zrA_c::getAngleNoFromParam ( )
inline

◆ getGameModeFromParam()

daNpc_zrA_c::GameMode daNpc_zrA_c::getGameModeFromParam ( )

◆ getHeadMtx()

MtxP daNpc_zrA_c::getHeadMtx ( )
inline

◆ getMultiModeFromParam()

u8 daNpc_zrA_c::getMultiModeFromParam ( )

◆ getMultiNoFromParam()

u8 daNpc_zrA_c::getMultiNoFromParam ( )

◆ getNoFromParam()

u8 daNpc_zrA_c::getNoFromParam ( )
inline

◆ getPathNoFromParam()

u8 daNpc_zrA_c::getPathNoFromParam ( )
inline

◆ getSoldierTypeFromParam()

daNpc_zrA_c::SoldierType daNpc_zrA_c::getSoldierTypeFromParam ( )

◆ getType()

int daNpc_zrA_c::getType ( )
inline

◆ getTypeFromArgument()

daNpc_zrA_c::Type daNpc_zrA_c::getTypeFromArgument ( )

◆ isDelete()

BOOL daNpc_zrA_c::isDelete ( )

◆ lookat()

void daNpc_zrA_c::lookat ( )

◆ main()

BOOL daNpc_zrA_c::main ( )
virtual

Reimplemented from daNpcF_c.

◆ moveRiverPosCalc()

void daNpc_zrA_c::moveRiverPosCalc ( cXyz )

◆ playExpression()

void daNpc_zrA_c::playExpression ( )

◆ playMotion()

void daNpc_zrA_c::playMotion ( )

◆ railSwim()

BOOL daNpc_zrA_c::railSwim ( )

◆ reset()

void daNpc_zrA_c::reset ( )

◆ resetModulation()

void daNpc_zrA_c::resetModulation ( )

◆ returnRiverDescend()

BOOL daNpc_zrA_c::returnRiverDescend ( void )

◆ selectAction()

bool daNpc_zrA_c::selectAction ( )

◆ setAction()

bool daNpc_zrA_c::setAction ( ActionFn  i_action)

◆ setAttnPos()

void daNpc_zrA_c::setAttnPos ( )
virtual

Reimplemented from daNpcF_c.

◆ setBlastFlag()

void daNpc_zrA_c::setBlastFlag ( u8  i_flag)
inline

◆ setExpression()

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

Reimplemented from daNpcF_c.

◆ setExpressionAnm()

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

Reimplemented from daNpcF_c.

◆ setExpressionBtp()

bool daNpc_zrA_c::setExpressionBtp ( int  i_idx)
virtual

Reimplemented from daNpcF_c.

◆ setExpressionTalkAfter()

void daNpc_zrA_c::setExpressionTalkAfter ( )

◆ setLookMode()

void daNpc_zrA_c::setLookMode ( int  i_lookMode)

◆ setMotion()

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

Reimplemented from daNpcF_c.

◆ setMotionAnm()

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

Reimplemented from daNpcF_c.

◆ setMotionWaterAnm()

void daNpc_zrA_c::setMotionWaterAnm ( int  i_idx)

◆ setMtx()

void daNpc_zrA_c::setMtx ( )
virtual

Reimplemented from daNpcF_c.

◆ setParam()

void daNpc_zrA_c::setParam ( )
virtual

Reimplemented from daNpcF_c.

◆ setPrtcl()

void daNpc_zrA_c::setPrtcl ( )

◆ setSkipZev()

BOOL daNpc_zrA_c::setSkipZev ( int  i_idx1,
int  i_idx2 
)

◆ swim()

BOOL daNpc_zrA_c::swim ( void )

◆ swimGoalRiverDescend()

BOOL daNpc_zrA_c::swimGoalRiverDescend ( void )

◆ swimRiverDescend()

BOOL daNpc_zrA_c::swimRiverDescend ( void )

◆ swimRiverDescend2()

BOOL daNpc_zrA_c::swimRiverDescend2 ( void )

◆ swimWaterfall()

BOOL daNpc_zrA_c::swimWaterfall ( void )

◆ talk()

BOOL daNpc_zrA_c::talk ( void )

◆ talkSwim()

BOOL daNpc_zrA_c::talkSwim ( void )

◆ test()

BOOL daNpc_zrA_c::test ( void param_0)

◆ tobiEnd()

BOOL daNpc_zrA_c::tobiEnd ( void )

◆ tobiJump()

BOOL daNpc_zrA_c::tobiJump ( void )

◆ tobikomi1()

BOOL daNpc_zrA_c::tobikomi1 ( void )

◆ tobikomi2()

BOOL daNpc_zrA_c::tobikomi2 ( void )

◆ tobikomi3()

BOOL daNpc_zrA_c::tobikomi3 ( void )

◆ tobiSearch()

BOOL daNpc_zrA_c::tobiSearch ( void )

◆ tobiWait()

BOOL daNpc_zrA_c::tobiWait ( void )

◆ turnSwim()

BOOL daNpc_zrA_c::turnSwim ( )

◆ turnSwimCheck()

BOOL daNpc_zrA_c::turnSwimCheck ( )

◆ turnSwimInit()

BOOL daNpc_zrA_c::turnSwimInit ( )

◆ wait()

BOOL daNpc_zrA_c::wait ( void )

◆ waitCalc()

void daNpc_zrA_c::waitCalc ( )

◆ waitLake()

BOOL daNpc_zrA_c::waitLake ( void )

◆ waitRiverDescend()

BOOL daNpc_zrA_c::waitRiverDescend ( void )

◆ waitSearch()

BOOL daNpc_zrA_c::waitSearch ( void )

◆ waitSpa()

BOOL daNpc_zrA_c::waitSpa ( void )

◆ waitSwim()

BOOL daNpc_zrA_c::waitSwim ( )

◆ waitWaterfall()

BOOL daNpc_zrA_c::waitWaterfall ( void )

◆ walkCalc()

void daNpc_zrA_c::walkCalc ( )

Member Data Documentation

◆ field_0x1334

u8 daNpc_zrA_c::field_0x1334[4]

◆ field_0x14d0

int daNpc_zrA_c::field_0x14d0

◆ field_0x14d4

int daNpc_zrA_c::field_0x14d4

◆ field_0x14dc

int daNpc_zrA_c::field_0x14dc

◆ field_0x1500

cXyz daNpc_zrA_c::field_0x1500

◆ field_0x1510

int daNpc_zrA_c::field_0x1510

◆ field_0x1518

s16 daNpc_zrA_c::field_0x1518

◆ field_0x1521

bool daNpc_zrA_c::field_0x1521

◆ field_0x152c

u8 daNpc_zrA_c::field_0x152c[4]

◆ field_0x153c

bool daNpc_zrA_c::field_0x153c

◆ field_0x153d

bool daNpc_zrA_c::field_0x153d

◆ field_0x153e

bool daNpc_zrA_c::field_0x153e

◆ field_0x1550

bool daNpc_zrA_c::field_0x1550

◆ field_0x1554

int daNpc_zrA_c::field_0x1554

◆ field_0x1558

int daNpc_zrA_c::field_0x1558

◆ field_0x1578

cXyz daNpc_zrA_c::field_0x1578

◆ field_0x1584

cXyz daNpc_zrA_c::field_0x1584

◆ field_0x159c

cXyz daNpc_zrA_c::field_0x159c[3]

◆ field_0x15c0

u8 daNpc_zrA_c::field_0x15c0

◆ mActionSelect

u8 daNpc_zrA_c::mActionSelect

◆ mActionType

u8 daNpc_zrA_c::mActionType

◆ mActorMngr

daNpcF_ActorMngr_c daNpc_zrA_c::mActorMngr[3]

◆ mBaseMotionAnm

int daNpc_zrA_c::mBaseMotionAnm

◆ mBlastFlag

bool daNpc_zrA_c::mBlastFlag

◆ mBpkID

int daNpc_zrA_c::mBpkID

◆ mBtkID

int daNpc_zrA_c::mBtkID

◆ mCcCyl

dCcD_Cyl daNpc_zrA_c::mCcCyl

◆ mCheckSwimTurn

bool daNpc_zrA_c::mCheckSwimTurn

◆ mCheckSwimTurnTimer

u8 daNpc_zrA_c::mCheckSwimTurnTimer

◆ mCreatureSound

Z2Creature daNpc_zrA_c::mCreatureSound

◆ mEvasionAngle

s16 daNpc_zrA_c::mEvasionAngle

◆ mEvasionTimer

int daNpc_zrA_c::mEvasionTimer

◆ mEvtCutList

daNpc_zrA_c::EventFn daNpc_zrA_c::mEvtCutList
static
Initial value:
= {
}
T cLib_calcTimer(T *value)
Definition c_lib.h:74
BOOL ECut_thanksBlast(int)
BOOL ECut_searchPrince1(int)
BOOL ECut_searchPrince2(int)
BOOL ECut_carryWaterfallSkip(int)
BOOL ECut_resultAnnounce(int)
BOOL ECut_carryWaterfall(int)
BOOL ECut_talkSwim(int)
BOOL ECut_beforeBlastzrR(int)
BOOL ECut_afterBlastzrR(int)
BOOL ECut_talkMulti(int)

◆ mEvtCutNameList

char * daNpc_zrA_c::mEvtCutNameList
static
Initial value:
= {
"",
"TALK_SWIM",
"BEFORE_BLAST_ZRR",
"AFTER_BLAST_ZRR",
"THANKS_BLAST",
"RESULT_ANNOUNCE",
"CARRY_WATERFALL",
"CARRY_WATERFALL_SKIP",
"SEARCH_PRINCE1",
"SEARCH_PRINCE2",
"TALK_MULTI",
}

◆ mFlowID

int daNpc_zrA_c::mFlowID

◆ mGameMode

u8 daNpc_zrA_c::mGameMode

◆ mIsAboveWater

bool daNpc_zrA_c::mIsAboveWater

◆ mIsTurning

bool daNpc_zrA_c::mIsTurning

◆ mItemID

u32 daNpc_zrA_c::mItemID

◆ mLookat

daNpcF_Lookat_c daNpc_zrA_c::mLookat

◆ mLookMode

s16 daNpc_zrA_c::mLookMode

◆ mMeterCount

u8 daNpc_zrA_c::mMeterCount

◆ mMode

u16 daNpc_zrA_c::mMode

◆ mModulationOffset

cXyz daNpc_zrA_c::mModulationOffset

◆ mModulationParam

int daNpc_zrA_c::mModulationParam

◆ mpActionFn

ActionFn daNpc_zrA_c::mpActionFn

◆ mPaPo

dPaPo_c daNpc_zrA_c::mPaPo

◆ mPath

daNpc_zrA_Path_c daNpc_zrA_c::mPath

◆ mPhase

request_of_phase_process_class daNpc_zrA_c::mPhase[8]

◆ mpMatAnm

daNpcF_MatAnm_c* daNpc_zrA_c::mpMatAnm

◆ mpNextActionFn

ActionFn daNpc_zrA_c::mpNextActionFn

◆ mpObjectModel

J3DModel* daNpc_zrA_c::mpObjectModel[3]

◆ mResetWaistAngle

bool daNpc_zrA_c::mResetWaistAngle

◆ mRiverPathIdx

int daNpc_zrA_c::mRiverPathIdx

◆ mScaleFactor

f32 daNpc_zrA_c::mScaleFactor

◆ mSoldierType

u8 daNpc_zrA_c::mSoldierType

◆ mSpinAngle

int daNpc_zrA_c::mSpinAngle

◆ mSpinTimer

int daNpc_zrA_c::mSpinTimer

◆ mStaffName

char* daNpc_zrA_c::mStaffName

◆ mSwimAngleCalc

csXyz daNpc_zrA_c::mSwimAngleCalc

◆ mSwimFastTurnTimer

int daNpc_zrA_c::mSwimFastTurnTimer

◆ mSwimMode

u8 daNpc_zrA_c::mSwimMode

◆ mSwimSpeed

cXyz daNpc_zrA_c::mSwimSpeed

◆ mSwimSpeedF

f32 daNpc_zrA_c::mSwimSpeedF

◆ mSwimSpeedScale

f32 daNpc_zrA_c::mSwimSpeedScale

◆ mSwimTurnTimer

int daNpc_zrA_c::mSwimTurnTimer

◆ mSwitch1

u8 daNpc_zrA_c::mSwitch1

◆ mSwitch2

u8 daNpc_zrA_c::mSwitch2

◆ mType

u8 daNpc_zrA_c::mType

◆ mWaistAngle

csXyz daNpc_zrA_c::mWaistAngle

◆ mWaterAnmFlags

u32 daNpc_zrA_c::mWaterAnmFlags

◆ mWaterBpkAnm

mDoExt_bpkAnm daNpc_zrA_c::mWaterBpkAnm

◆ mWaterBtkAnm

mDoExt_btkAnm daNpc_zrA_c::mWaterBtkAnm

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