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/fx_discreetline.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/fx_discreetline.h')
| -rw-r--r-- | game/client/fx_discreetline.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/game/client/fx_discreetline.h b/game/client/fx_discreetline.h new file mode 100644 index 0000000..316bfdb --- /dev/null +++ b/game/client/fx_discreetline.h @@ -0,0 +1,50 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#if !defined( FXDISCREETLINE_H ) +#define FXDISCREETLINE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "mathlib/vector.h" +#include "clientsideeffects.h" + +class IMaterial; + +class CFXDiscreetLine : public CClientSideEffect +{ +public: + + CFXDiscreetLine ( const char *name, const Vector& start, const Vector& direction, float velocity, + float length, float clipLength, float scale, float life, const char *shader ); + ~CFXDiscreetLine ( void ); + + virtual void Draw( double frametime ); + virtual bool IsActive( void ); + virtual void Destroy( void ); + virtual void Update( double frametime ); + +protected: + + IMaterial *m_pMaterial; + float m_fLife; + Vector m_vecOrigin, m_vecDirection; + float m_fVelocity; + float m_fStartTime; + float m_fClipLength; + float m_fScale; + float m_fLength; +}; + +#endif //FXDISCREETLINE_H
\ No newline at end of file |