📄 player_your.h
字号:
//-----------------------------------------------------------------------------------------------------------
// File. Player_Your.h
//-----------------------------------------------------------------------------------------------------------
#ifndef _PLAYER_YOUR_
#define _PLAYER_YOUR_
class CPlayer_Your : public CPlayer
{
public:
CPlayer_Your();
virtual ~CPlayer_Your();
virtual void Init();
virtual HRESULT Create( UserInfoEx *pUserInfo, CModelManager *pModel, CItemManager *pManager,short nSelect = -1);
virtual void SetPos(D3DXVECTOR3 vPos);
virtual bool FrameMove();
virtual void Rotate(char nType, float Angle);
virtual float SetLookAt(D3DXVECTOR3 *pV);
virtual bool SetGhost(bool bDeath, const GHOST* pGhost);
virtual void Render(bool bBoundBox=false);
virtual void SendMyPosInfo(BYTE Frame);
void SetWorldMatrix();
void UpdateAnimation();
virtual bool SetLight();
//----------------------------------------------------------------//
// Animation
//----------------------------------------------------------------//
virtual bool Ani_Start(ANI_ACTION Action,int nLooping=-1);
//virtual bool Ani_Start(ANI_ACTION Action,EQUIP_POS EquipPos, int nLooping);
virtual bool Ani_Stop(ANI_ACTION Action);
virtual bool Ani_IsEnd(ANI_ACTION Action);
// 胶鸥飘 饶 茄锅父 犁积
//bool Ani_StartStop(ANI_ACTION Action);
protected:
//------------------------------//
// Action
//------------------------------//
bool Ani_TorsoPlay();
bool Ani_LegsPlay();
bool Turn_Legs(float VecLook, float Angle);
bool RevisionMove(); //皋矫瘤啊 甸绢坷瘤 臼绰 悼救狼 捞悼阑 磊悼栏肺 窍扁 困茄巴捞促.
//virtual bool Act_Walking();
protected:
int m_nReversionCnt;
D3DXVECTOR3 m_vResultDir;
float m_fTempAngle; // 促府阿档 雀傈 焊埃累诀.
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -