player_your.h
来自「国外网游源码....除工具源码缺少之外,其余程序都全...至于,什么游戏,因为国」· C头文件 代码 · 共 66 行
H
66 行
//-----------------------------------------------------------------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?