Updated the SDK with the latest code from the TF and HL2 branches.

This commit is contained in:
John Schoenick
2015-09-09 18:35:41 -07:00
parent 55ed12f8d1
commit 0d8dceea43
675 changed files with 46223 additions and 9824 deletions
+7 -2
View File
@@ -415,7 +415,7 @@ public:
virtual bool Weapon_ShouldSetLast( CBaseCombatWeapon *pOldWeapon, CBaseCombatWeapon *pNewWeapon ) { return true; }
virtual bool Weapon_ShouldSelectItem( CBaseCombatWeapon *pWeapon );
void Weapon_DropSlot( int weaponSlot );
CBaseCombatWeapon *Weapon_GetLast( void ) { return m_hLastWeapon.Get(); }
CBaseCombatWeapon *GetLastWeapon( void ) { return m_hLastWeapon.Get(); }
virtual void OnMyWeaponFired( CBaseCombatWeapon *weapon ); // call this when this player fires a weapon to allow other systems to react
virtual float GetTimeSinceWeaponFired( void ) const; // returns the time, in seconds, since this player fired a weapon
@@ -735,6 +735,8 @@ public:
bool IsPredictingWeapons( void ) const;
int CurrentCommandNumber() const;
const CUserCmd *GetCurrentUserCommand() const;
int GetLockViewanglesTickNumber() const { return m_iLockViewanglesTickNumber; }
QAngle GetLockViewanglesData() const { return m_qangLockViewangles; }
int GetFOV( void ); // Get the current FOV value
int GetDefaultFOV( void ) const; // Default FOV if not specified otherwise
@@ -891,7 +893,8 @@ public:
#if defined USES_ECON_ITEMS
CEconWearable *GetWearable( int i ) { return m_hMyWearables[i]; }
int GetNumWearables( void ) { return m_hMyWearables.Count(); }
const CEconWearable *GetWearable( int i ) const { return m_hMyWearables[i]; }
int GetNumWearables( void ) const { return m_hMyWearables.Count(); }
#endif
private:
@@ -1058,6 +1061,8 @@ protected:
// Last received usercmd (in case we drop a lot of packets )
CUserCmd m_LastCmd;
CUserCmd *m_pCurrentCommand;
int m_iLockViewanglesTickNumber;
QAngle m_qangLockViewangles;
float m_flStepSoundTime; // time to check for next footstep sound