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

Malo (Shopkeeper) More...

#include <d_a_npc_shop_maro.h>

+ Inheritance diagram for daNpc_shopMaro_c:
+ Collaboration diagram for daNpc_shopMaro_c:

Public Member Functions

int create ()
 
 daNpc_shopMaro_c ()
 
virtual ~daNpc_shopMaro_c ()
 
- Public Member Functions inherited from dShopSystem_c
 dShopSystem_c (daNpcT_faceMotionAnmData_c const *param_1, daNpcT_motionAnmData_c const *param_2, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_3, int param_4, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_5, int param_6, daNpcT_evtData_c const *param_7, char **param_8)
 
void initShopSystem ()
 
void onFlag (int)
 
void offFlag (int)
 
BOOL isFlag (int)
 
void onSoldOutItemFlag (int)
 
void offSoldOutItemFlag (int)
 
BOOL isSoldOutItemFlag (int)
 
int checkController (u8, dMsgFlow_c *)
 
int chooseItem3 (u8)
 
int chooseItem5 (u8)
 
int chooseItem4 (u8)
 
int moveCursor (int, u8)
 
int moveCursor0 (int, u8)
 
int moveCursor1 (int, u8)
 
int drawCursor ()
 
int itemRotate ()
 
int itemZoom (cXyz *)
 
int seq_wait (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_start (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_select_wait (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_select_start (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_select (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_moving (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_decide (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_choose (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_decide_yes (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_decide_no (fopAc_ac_c *, dMsgFlow_c *)
 
int seq_finish (fopAc_ac_c *, dMsgFlow_c *)
 
bool seq_event (fopAc_ac_c *, dMsgFlow_c *)
 
int shop_init (bool)
 
int shop_process (fopAc_ac_c *, dMsgFlow_c *)
 
void createShopItem (int)
 
void setSeq (u8)
 
void setSoldOutFlag ()
 
void setSoldOut ()
 
void setSoldOutItemHide ()
 
void deleteObject ()
 
int searchItemActor ()
 
int getFlowNodeNum ()
 
void setSellItemMax (u8)
 
bool checkShopOpen ()
 
bool checkLeftTrigger (STControl *)
 
bool checkRightTrigger (STControl *)
 
bool dpdMove ()
 
void dummyWeakOrder ()
 
virtual ~dShopSystem_c ()
 
virtual bool getResName2 (int)
 
virtual int beforeStartSeqAction (dMsgFlow_c *, int)
 
virtual int beforeSelectSeqAction (dMsgFlow_c *, int)
 
bool chkSpMode ()
 
void offSpMode ()
 
u8 getEventParamU8 (int param_0)
 
void setEventParam (u32 param)
 
- Public Member Functions inherited from daNpcT_c
void tgHitCallBack (fopAc_ac_c *, dCcD_GObjInf *, fopAc_ac_c *, dCcD_GObjInf *)
 
void srchActor (void *, void *)
 
void getTrnsfrmKeyAnmP (char const *, int)
 
void getTexSRTKeyAnmP (char const *, int)
 
void getTevRegKeyAnmP (char const *, int)
 
void setBtkAnm (J3DAnmTextureSRTKey *, J3DModelData *, f32, int)
 
void setBrkAnm (J3DAnmTevRegKey *, J3DModelData *, f32, int)
 
void loadRes (s8 const *, char const **)
 
void deleteRes (s8 const *, char const **)
 
void execute ()
 
void draw (int, int, f32, _GXColorS10 *, f32, int, int, int)
 
void setEnvTevColor ()
 
void setRoomNo ()
 
void ctrlBtk ()
 
void setMtx ()
 
void ctrlJoint (J3DJoint *, J3DModel *)
 
void evtProc ()
 
void setFootPos ()
 
void setFootPrtcl (cXyz *, f32, f32)
 
bool checkCullDraw ()
 
void twilight ()
 
void evtOrder ()
 
void evtChange ()
 
void clrParam ()
 
void setFaceMotionAnm (int, bool)
 
void setMotionAnm (int, f32, int)
 
void setPos (cXyz)
 
void setAngle (s16)
 
void setAngle (csXyz)
 
void chkPointInArea (cXyz, cXyz, f32, f32, f32, s16)
 
void step (s16, int, int, int, int)
 
void initTalk (int, fopAc_ac_c **)
 
void talkProc (int *, int, fopAc_ac_c **, int)
 
void getNearestActorP (s16)
 
void getEvtAreaTagP (int, int)
 
 ~daNpcT_c ()
 
 daNpcT_c (daNpcT_faceMotionAnmData_c const *, daNpcT_motionAnmData_c const *, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *, int, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *, int, daNpcT_evtData_c const *, char **)
 
s32 getEyeballMaterialNo ()
 
s32 getNeckJointNo ()
 
void ctrlSubFaceMotion (int)
 
bool checkChangeJoint (int)
 
bool checkRemoveJoint (int)
 
s32 getFootLJointNo ()
 
s32 getFootRJointNo ()
 
bool getEyeballLMaterialNo ()
 
bool getEyeballRMaterialNo ()
 
bool evtEndProc ()
 
void afterMoved ()
 
bool chkXYItems ()
 
void decTmr ()
 
bool afterSetFaceMotionAnm (int, int, f32, int)
 
void getFaceMotionAnm (daNpcT_faceMotionAnmData_c)
 
void getMotionAnm (daNpcT_motionAnmData_c)
 
void changeAnm (int *, int *)
 
void changeBck (int *, int *)
 
void changeBtp (int *, int *)
 
void changeBtk (int *, int *)
 
 daNpcT_c (daNpcT_faceMotionAnmData_c const *param_1, daNpcT_motionAnmData_c const *param_2, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_3, int param_4, daNpcT_MotionSeqMngr_c::sequenceStepData_c const *param_5, int param_6, daNpcT_evtData_c const *param_7, char **param_8)
 
J3DAnmTransformgetTrnsfrmAnmP (char const *, int)
 
J3DAnmTransformKeygetTrnsfrmKeyAnmP (char const *, int)
 
J3DAnmTexPatterngetTexPtrnAnmP (char const *, int)
 
J3DAnmTextureSRTKeygetTexSRTKeyAnmP (char const *, int)
 
J3DAnmTevRegKeygetTevRegKeyAnmP (char const *, int)
 
J3DAnmColorgetColorAnmP (char const *, int)
 
void setBckAnm (J3DAnmTransform *, f32, int, int, int, bool)
 
int setMcaMorfAnm (J3DAnmTransformKey *, f32, f32, int, int, int)
 
void setBtpAnm (J3DAnmTexPattern *, J3DModelData *, f32, int)
 
void setBtkAnm (J3DAnmTextureSRTKey *, J3DModelData *, f32, int)
 
void setBrkAnm (J3DAnmTevRegKey *, J3DModelData *, f32, int)
 
void setBpkAnm (J3DAnmColor *, J3DModelData *, f32, int)
 
int loadRes (s8 const *, char const **)
 
void deleteRes (s8 const *, char const **)
 
int execute ()
 
int draw (int, int, f32, _GXColorS10 *, f32, int, int, int)
 
void setEnvTevColor ()
 
void setRoomNo ()
 
int checkEndAnm (f32)
 
int checkEndAnm (J3DFrameCtrl *, f32)
 
void playAllAnm ()
 
void setMtx ()
 
void ctrlFaceMotion ()
 
void ctrlMotion ()
 
int ctrlMsgAnm (int *, int *, fopAc_ac_c *, int)
 
void evtChange ()
 
bool setFaceMotionAnm (int, bool)
 
void setPos (cXyz)
 
void setAngle (s16)
 
void setAngle (csXyz)
 
fopAc_ac_chitChk (dCcD_GObjInf *, u32)
 
void setDamage (int, int, int)
 
BOOL chkActorInSight (fopAc_ac_c *, f32, s16)
 
BOOL chkPointInArea (cXyz, cXyz, f32, f32, f32, s16)
 
BOOL chkPointInArea (cXyz, cXyz, cXyz, s16)
 
void chkFindActor (fopAc_ac_c *, int, s16)
 
void chkWolfAction ()
 
void chkFindWolf (s16, int, int, f32, f32, f32, f32, int)
 
BOOL srchPlayerActor ()
 
void getAttnPos (fopAc_ac_c *)
 
void turn (s16, int, int)
 
int step (s16, int, int, int, int)
 
void calcSpeedAndAngle (cXyz, int, s16, s16)
 
void getActorDistance (fopAc_ac_c *, int, int)
 
int initTalk (int, fopAc_ac_c **)
 
int talkProc (int *, int, fopAc_ac_c **, int)
 
fopAc_ac_cgetNearestActorP (s16)
 
fopAc_ac_cgetEvtAreaTagP (int, int)
 
fopAc_ac_cgetShopItemTagP ()
 
void setHitodamaPrtcl ()
 
virtual ~daNpcT_c ()
 
virtual void ctrlBtk ()
 
virtual void ctrlSubFaceMotion (int)
 
virtual int checkChangeJoint (int)
 
virtual int checkRemoveJoint (int)
 
virtual s32 getBackboneJointNo ()
 
virtual s32 getNeckJointNo ()
 
virtual s32 getHeadJointNo ()
 
virtual s32 getFootLJointNo ()
 
virtual s32 getFootRJointNo ()
 
virtual int getEyeballLMaterialNo ()
 
virtual bool getEyeballRMaterialNo ()
 
virtual s32 getEyeballMaterialNo ()
 
virtual void ctrlJoint (J3DJoint *, J3DModel *)
 
virtual void afterJntAnm (int)
 
virtual void setParam ()
 
virtual bool checkChangeEvt ()
 
virtual bool evtTalk ()
 
virtual bool evtEndProc ()
 
virtual bool evtCutProc ()
 
virtual void setAfterTalkMotion ()
 
virtual int evtProc ()
 
virtual void action ()
 
virtual void beforeMove ()
 
virtual void afterMoved ()
 
virtual void setAttnPos ()
 
virtual void setFootPos ()
 
virtual void setCollision ()
 
virtual void setFootPrtcl (cXyz *, f32, f32)
 
virtual bool checkCullDraw ()
 
virtual void twilight ()
 
virtual bool chkXYItems ()
 
virtual void evtOrder ()
 
virtual void decTmr ()
 
virtual void clrParam ()
 
virtual int drawDbgInfo ()
 
virtual void drawOtherMdl ()
 
virtual void drawGhost ()
 
virtual bool afterSetFaceMotionAnm (int, int, f32, int)
 
virtual bool afterSetMotionAnm (int, int, f32, int)
 
virtual daNpcT_faceMotionAnmData_c getFaceMotionAnm (daNpcT_faceMotionAnmData_c param_1)
 
virtual daNpcT_motionAnmData_c getMotionAnm (daNpcT_motionAnmData_c param_1)
 
virtual void changeAnm (int *, int *)
 
virtual void changeBck (int *, int *)
 
virtual void changeBtp (int *, int *)
 
virtual void changeBtk (int *, int *)
 
virtual bool setMotionAnm (int, f32, int)
 
bool checkHide ()
 
s16 checkStep ()
 
void setCommander (fopAc_ac_c *param_0)
 
void initialize ()
 
- 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 ()
 

Additional Inherited Members

- Public Types inherited from dShopSystem_c
enum  {
  SEQ_WAIT , SEQ_START , SEQ_SELECT_WAIT , SEQ_SELECT_START ,
  SEQ_SELECT , SEQ_MOVING , SEQ_DECIDE , SEQ_CHOOSE ,
  SEQ_DECIDE_YES , SEQ_DECIDE_NO , SEQ_FINISH
}
 
enum  { ITEM_MAX_e = 7 }
 
- Static Public Member Functions inherited from daNpcT_c
static void tgHitCallBack (fopAc_ac_c *, dCcD_GObjInf *, fopAc_ac_c *, dCcD_GObjInf *)
 
static int srchActor (void *, void *)
 
- Static Public Member Functions inherited from fopAc_ac_c
static void setStopStatus (u32 status)
 
- Public Attributes inherited from daNpcT_c
daNpcT_faceMotionAnmData_c constfield_0x568
 
daNpcT_motionAnmData_c constfield_0x56c
 
daNpcT_evtData_c constfield_0x570
 
char ** field_0x574
 
mDoExt_McaMorfSOmpMorf [2]
 
Z2Creature field_0x580
 
mDoExt_bckAnm mBckAnm
 
mDoExt_btpAnm mBtpAnm
 
mDoExt_btkAnm mBtkAnm
 
mDoExt_brkAnm mBrkAnm
 
mDoExt_bpkAnm mBpkAnm
 
dBgS_ObjAcch field_0x68c
 
dCcD_Stts field_0x864
 
dBgS_AcchCir field_0x8a0
 
request_of_phase_process_class field_0x8e0 [10]
 
cBgS_GndChk field_0x930
 
daNpcT_MatAnm_cfield_0x96c
 
u8 field_0x970 [4]
 
dMsgFlow_c mFlow
 
dPaPoT_c field_0x9c0
 
dCcD_Stts field_0xa40
 
u32 field_0xa7c
 
f32 field_0xa80
 
f32 field_0xa84
 
u8 field_0xa88
 
u8 field_0xa89
 
dBgS_GndChk field_0xa8c
 
dBgS_LinChk field_0xae0
 
daNpcT_MotionSeqMngr_c field_0xb50
 
daNpcT_MotionSeqMngr_c field_0xb74
 
daNpcT_ActorMngr_c field_0xb98
 
daNpcT_ActorMngr_c field_0xba0
 
daNpcT_JntAnm_c field_0xba8
 
daNpcT_DmgStagger_c field_0xd08
 
cXyz field_0xd24
 
cXyz field_0xd30
 
cXyz field_0xd3c
 
cXyz field_0xd48
 
cXyz field_0xd54
 
cXyz field_0xd60
 
cXyz field_0xd6c
 
csXyz field_0xd78
 
csXyz field_0xd7e
 
csXyz field_0xd84
 
csXyz field_0xd8a
 
u32 field_0xd90
 
u32 field_0xd94
 
u32 field_0xd98
 
u32 mMsgId
 
u8 field_0xda0 [8]
 
u32 field_0xda8
 
int field_0xdac
 
int mCutType
 
int field_0xdb4
 
int field_0xdb8
 
int mTimer
 
int field_0xdc0
 
int field_0xdc4
 
s16 field_0xdc8
 
s16 field_0xdca
 
u8 field_0xdcc [10]
 
s16 field_0xdd4
 
s16 mStepNo
 
s16 field_0xdda
 
f32 field_0xddc
 
f32 field_0xde0
 
f32 field_0xde4
 
f32 field_0xde8
 
f32 field_0xdec
 
f32 field_0xdf0
 
f32 field_0xdf4
 
f32 field_0xdf8
 
f32 field_0xdfc
 
cXyz field_0xe00
 
cXyz field_0xe0c
 
s16 field_0xe18
 
s16 field_0xe1a
 
s16 field_0xe1c
 
u16 field_0xe1e
 
u16 field_0xe20
 
u16 field_0xe22
 
s8 field_0xe24
 
u8 field_0xe25
 
u8 field_0xe26
 
u8 field_0xe27
 
u8 field_0xe28
 
u8 field_0xe29
 
u8 field_0xe2a
 
u8 field_0xe2b
 
u8 field_0xe2c
 
u8 field_0xe2d
 
u8 field_0xe2e [2]
 
u16 field_0xe30
 
u8 field_0xe32
 
u8 field_0xe33
 
u8 field_0xe34
 
u8 field_0xe35
 
u8 field_0xe36
 
u8 field_0xe37
 
u8 field_0xe38
 
- 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 inherited from daNpcT_c
static u8 mCcDCyl [68]
 
static u8 mFindActorPtrs [200]
 
static u8 mSrchName [2+2]
 
static u8 mFindCount [4]
 
static u8 const mCcDObjData [48]
 
static dCcD_SrcCyl mCcDCyl
 
static dCcD_SrcSph mCcDSph
 
static fopAc_ac_cmFindActorPtrs [50]
 
static s16 mSrchName
 
static s32 mFindCount
 
- Static Public Attributes inherited from fopAc_ac_c
static u32 stopStatus
 

Detailed Description

Malo (Shopkeeper)

Constructor & Destructor Documentation

◆ daNpc_shopMaro_c()

daNpc_shopMaro_c::daNpc_shopMaro_c ( )

◆ ~daNpc_shopMaro_c()

daNpc_shopMaro_c::~daNpc_shopMaro_c ( )
virtual

Member Function Documentation

◆ create()

int daNpc_shopMaro_c::create ( )

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