diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/client/fx_line.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/client/fx_line.h')
| -rw-r--r-- | mp/src/game/client/fx_line.h | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/mp/src/game/client/fx_line.h b/mp/src/game/client/fx_line.h index f37696f8..59752716 100644 --- a/mp/src/game/client/fx_line.h +++ b/mp/src/game/client/fx_line.h @@ -1,59 +1,59 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#if !defined( FXLINE_H )
-#define FXLINE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-struct FXLineData_t
-{
- Vector m_vecStart;
- Vector m_vecEnd;
- Vector m_vecStartVelocity;
- Vector m_vecEndVelocity;
- float m_flStartAlpha;
- float m_flEndAlpha;
- float m_flStartScale;
- float m_flEndScale;
- float m_flDieTime;
- float m_flLifeTime;
-
- IMaterial *m_pMaterial;
-};
-
-#include "fx_staticline.h"
-
-class CFXLine : public CClientSideEffect
-{
-public:
-
- CFXLine( const char *name, const FXLineData_t &data );
-
- ~CFXLine( void );
-
- virtual void Draw( double frametime );
- virtual bool IsActive( void );
- virtual void Destroy( void );
- virtual void Update( double frametime );
-
-protected:
-
- FXLineData_t m_FXData;
-};
-
-void FX_DrawLine( const Vector &start, const Vector &end, float scale, IMaterial *pMaterial, const color32 &color );
-void FX_DrawLineFade( const Vector &start, const Vector &end, float scale, IMaterial *pMaterial, const color32 &color, float fadeDist );
-
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#if !defined( FXLINE_H ) +#define FXLINE_H +#ifdef _WIN32 +#pragma once +#endif + +struct FXLineData_t +{ + Vector m_vecStart; + Vector m_vecEnd; + Vector m_vecStartVelocity; + Vector m_vecEndVelocity; + float m_flStartAlpha; + float m_flEndAlpha; + float m_flStartScale; + float m_flEndScale; + float m_flDieTime; + float m_flLifeTime; + + IMaterial *m_pMaterial; +}; + +#include "fx_staticline.h" + +class CFXLine : public CClientSideEffect +{ +public: + + CFXLine( const char *name, const FXLineData_t &data ); + + ~CFXLine( void ); + + virtual void Draw( double frametime ); + virtual bool IsActive( void ); + virtual void Destroy( void ); + virtual void Update( double frametime ); + +protected: + + FXLineData_t m_FXData; +}; + +void FX_DrawLine( const Vector &start, const Vector &end, float scale, IMaterial *pMaterial, const color32 &color ); +void FX_DrawLineFade( const Vector &start, const Vector &end, float scale, IMaterial *pMaterial, const color32 &color, float fadeDist ); + #endif //FXLINE_H
\ No newline at end of file |