mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-03-13 06:01:53 +00:00
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
#ifndef _INLCUDE_C_ASW_DRONE_ADVANCED_H
|
|
#define _INLCUDE_C_ASW_DRONE_ADVANCED_H
|
|
|
|
#include "c_asw_alien.h"
|
|
#include "interpolatedvar.h"
|
|
|
|
class C_ASW_Drone_Advanced : public C_ASW_Alien
|
|
{
|
|
public:
|
|
DECLARE_CLASS( C_ASW_Drone_Advanced, C_ASW_Alien );
|
|
DECLARE_CLIENTCLASS();
|
|
DECLARE_PREDICTABLE();
|
|
|
|
C_ASW_Drone_Advanced();
|
|
virtual ~C_ASW_Drone_Advanced();
|
|
|
|
Class_T Classify( void ) { return (Class_T) CLASS_ASW_DRONE; }
|
|
|
|
float GetRunSpeed();
|
|
virtual void ClientThink();
|
|
virtual void OnDataChanged( DataUpdateType_t updateType );
|
|
void UpdatePoseParams();
|
|
virtual const Vector& GetAimTargetPos(const Vector &vecFiringSrc, bool bWeaponPrefersFlatAiming);
|
|
virtual void GetPoseParameters( CStudioHdr *pStudioHdr, float poseParameter[MAXSTUDIOPOSEPARAM]);
|
|
|
|
CNetworkVar( EHANDLE, m_hAimTarget );
|
|
|
|
|
|
private:
|
|
C_ASW_Drone_Advanced( const C_ASW_Drone_Advanced & ); // not defined, not accessible
|
|
float m_flCurrentTravelYaw;
|
|
float m_flCurrentTravelSpeed;
|
|
float m_flClientPoseParameter[MAXSTUDIOPOSEPARAM];
|
|
bool m_bWasJumping;
|
|
};
|
|
|
|
#endif /* _INLCUDE_C_ASW_DRONE_ADVANCED_H */ |