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 /sp/src/game/server/basetempentity.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 'sp/src/game/server/basetempentity.h')
| -rw-r--r-- | sp/src/game/server/basetempentity.h | 130 |
1 files changed, 65 insertions, 65 deletions
diff --git a/sp/src/game/server/basetempentity.h b/sp/src/game/server/basetempentity.h index db9baff2..bef09105 100644 --- a/sp/src/game/server/basetempentity.h +++ b/sp/src/game/server/basetempentity.h @@ -1,65 +1,65 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-//
-//-----------------------------------------------------------------------------
-// $Log: $
-//
-// $NoKeywords: $
-//=============================================================================//
-#if !defined( BASETEMPENTITY_H )
-#define BASETEMPENTITY_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "edict.h"
-
-// This is the base class for TEMP ENTITIES that use the
-// event system to propagate
-class CBaseTempEntity
-{
-public:
- DECLARE_CLASS_NOBASE( CBaseTempEntity );
- DECLARE_SERVERCLASS();
-
- CBaseTempEntity( const char *name );
- virtual ~CBaseTempEntity( void );
-
- const char *GetName( void );
-
- // Force all derived classes to implement a test
- virtual void Test( const Vector& current_origin, const QAngle& current_angles );
-
- virtual void Create( IRecipientFilter& filter, float delay = 0.0 );
-
- virtual void Precache( void );
-
- CBaseTempEntity *GetNext( void );
-
- // Get list of tempentities
- static CBaseTempEntity *GetList( void );
-
- // Called at startup to allow temp entities to precache any models/sounds that they need
- static void PrecacheTempEnts( void );
-
- void NetworkStateChanged() {} // TE's are sent out right away so we don't track whether state changes or not,
- // but we want to allow CNetworkVars.
- void NetworkStateChanged( void *pVar ) {}
-
-private:
- // Descriptive name, for when running tests
- const char *m_pszName;
-
- // Next in chain
- CBaseTempEntity *m_pNext;
-
- // ConVars add themselves to this list for the executable. Then ConVarMgr::Init() runs through
- // all the console variables and registers them.
- static CBaseTempEntity *s_pTempEntities;
-};
-
-#endif // BASETEMPENTITY_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// +#if !defined( BASETEMPENTITY_H ) +#define BASETEMPENTITY_H +#ifdef _WIN32 +#pragma once +#endif + +#include "edict.h" + +// This is the base class for TEMP ENTITIES that use the +// event system to propagate +class CBaseTempEntity +{ +public: + DECLARE_CLASS_NOBASE( CBaseTempEntity ); + DECLARE_SERVERCLASS(); + + CBaseTempEntity( const char *name ); + virtual ~CBaseTempEntity( void ); + + const char *GetName( void ); + + // Force all derived classes to implement a test + virtual void Test( const Vector& current_origin, const QAngle& current_angles ); + + virtual void Create( IRecipientFilter& filter, float delay = 0.0 ); + + virtual void Precache( void ); + + CBaseTempEntity *GetNext( void ); + + // Get list of tempentities + static CBaseTempEntity *GetList( void ); + + // Called at startup to allow temp entities to precache any models/sounds that they need + static void PrecacheTempEnts( void ); + + void NetworkStateChanged() {} // TE's are sent out right away so we don't track whether state changes or not, + // but we want to allow CNetworkVars. + void NetworkStateChanged( void *pVar ) {} + +private: + // Descriptive name, for when running tests + const char *m_pszName; + + // Next in chain + CBaseTempEntity *m_pNext; + + // ConVars add themselves to this list for the executable. Then ConVarMgr::Init() runs through + // all the console variables and registers them. + static CBaseTempEntity *s_pTempEntities; +}; + +#endif // BASETEMPENTITY_H |