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/dod/c_dod_smokegrenade.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/dod/c_dod_smokegrenade.h')
| -rw-r--r-- | game/client/dod/c_dod_smokegrenade.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/game/client/dod/c_dod_smokegrenade.h b/game/client/dod/c_dod_smokegrenade.h new file mode 100644 index 0000000..519043b --- /dev/null +++ b/game/client/dod/c_dod_smokegrenade.h @@ -0,0 +1,38 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef C_DOD_SMOKEGRENADE_H +#define C_DOD_SMOKEGRENADE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "c_dod_basegrenade.h" + +class C_DODSmokeGrenade : public C_DODBaseGrenade +{ +public: + DECLARE_CLASS( C_DODSmokeGrenade, C_DODBaseGrenade ); + DECLARE_NETWORKCLASS(); + + C_DODSmokeGrenade(); + + virtual const char *GetOverviewSpriteName( void ); + + virtual const char *GetParticleTrailName( void ) { return NULL; } + + virtual void OnDataChanged( DataUpdateType_t updateType ); + virtual void ClientThink( void ); + + float CalcSmokeCloudRadius( void ); + float CalcSmokeCloudAlpha( void ); + +private: + float m_flSmokeSpawnTime; // time the smoke starts emitting +}; + + +#endif // C_DOD_SMOKEGRENADE_H |