⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 player_your.h

📁 国外网游源码....除工具源码缺少之外,其余程序都全...至于,什么游戏,因为国内还没有,所以找不到测试
💻 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 + -