diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/game/client/fx_discreetline.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/game/client/fx_discreetline.h')
| -rw-r--r-- | mp/src/game/client/fx_discreetline.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/mp/src/game/client/fx_discreetline.h b/mp/src/game/client/fx_discreetline.h new file mode 100644 index 00000000..e8795317 --- /dev/null +++ b/mp/src/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 |