diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf/c_tf_ammo_pack.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
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 |