diff options
Diffstat (limited to 'game/client/tf/c_tf_ammo_pack.h')
| -rw-r--r-- | game/client/tf/c_tf_ammo_pack.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/game/client/tf/c_tf_ammo_pack.h b/game/client/tf/c_tf_ammo_pack.h new file mode 100644 index 0000000..102adc1 --- /dev/null +++ b/game/client/tf/c_tf_ammo_pack.h @@ -0,0 +1,49 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef C_TF_AMMO_PACK_H +#define C_TF_AMMO_PACK_H +#ifdef _WIN32 +#pragma once +#endif + +#include "c_baseanimating.h" +#include "engine/ivdebugoverlay.h" +#include "c_tf_player.h" +#include "engine/IEngineSound.h" +#include "soundenvelope.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +class C_TFAmmoPack : public C_BaseAnimating, public ITargetIDProvidesHint +{ + DECLARE_CLASS( C_TFAmmoPack, C_BaseAnimating ); + +public: + + DECLARE_CLIENTCLASS(); + + C_TFAmmoPack( void ); + ~C_TFAmmoPack( void ); + + virtual int DrawModel( int flags ); + virtual void OnDataChanged( DataUpdateType_t updateType ); + virtual int GetWorldModelIndex( void ); + virtual void ValidateModelIndex( void ); + virtual bool Interpolate( float currentTime ); + + // ITargetIDProvidesHint +public: + virtual void DisplayHintTo( C_BasePlayer *pPlayer ); + +private: + + Vector m_vecInitialVelocity; + short m_nWorldModelIndex; +}; + +#endif // C_TF_AMMO_PACK_H |