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/public/icliententitylist.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/public/icliententitylist.h')
| -rw-r--r-- | sp/src/public/icliententitylist.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/sp/src/public/icliententitylist.h b/sp/src/public/icliententitylist.h index fcc7e2e3..1e0e2586 100644 --- a/sp/src/public/icliententitylist.h +++ b/sp/src/public/icliententitylist.h @@ -1,56 +1,56 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $Workfile: $
-// $Date: $
-// $NoKeywords: $
-//=============================================================================//
-#if !defined( ICLIENTENTITYLIST_H )
-#define ICLIENTENTITYLIST_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-
-class IClientEntity;
-class ClientClass;
-class IClientNetworkable;
-class CBaseHandle;
-class IClientUnknown;
-
-
-//-----------------------------------------------------------------------------
-// Purpose: Exposes IClientEntity's to engine
-//-----------------------------------------------------------------------------
-abstract_class IClientEntityList
-{
-public:
- // Get IClientNetworkable interface for specified entity
- virtual IClientNetworkable* GetClientNetworkable( int entnum ) = 0;
- virtual IClientNetworkable* GetClientNetworkableFromHandle( CBaseHandle hEnt ) = 0;
- virtual IClientUnknown* GetClientUnknownFromHandle( CBaseHandle hEnt ) = 0;
-
- // NOTE: This function is only a convenience wrapper.
- // It returns GetClientNetworkable( entnum )->GetIClientEntity().
- virtual IClientEntity* GetClientEntity( int entnum ) = 0;
- virtual IClientEntity* GetClientEntityFromHandle( CBaseHandle hEnt ) = 0;
-
- // Returns number of entities currently in use
- virtual int NumberOfEntities( bool bIncludeNonNetworkable ) = 0;
-
- // Returns highest index actually used
- virtual int GetHighestEntityIndex( void ) = 0;
-
- // Sizes entity list to specified size
- virtual void SetMaxEntities( int maxents ) = 0;
- virtual int GetMaxEntities( ) = 0;
-};
-
-extern IClientEntityList *entitylist;
-
-#define VCLIENTENTITYLIST_INTERFACE_VERSION "VClientEntityList003"
-
-#endif // ICLIENTENTITYLIST_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// $NoKeywords: $ +//=============================================================================// +#if !defined( ICLIENTENTITYLIST_H ) +#define ICLIENTENTITYLIST_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "interface.h" + +class IClientEntity; +class ClientClass; +class IClientNetworkable; +class CBaseHandle; +class IClientUnknown; + + +//----------------------------------------------------------------------------- +// Purpose: Exposes IClientEntity's to engine +//----------------------------------------------------------------------------- +abstract_class IClientEntityList +{ +public: + // Get IClientNetworkable interface for specified entity + virtual IClientNetworkable* GetClientNetworkable( int entnum ) = 0; + virtual IClientNetworkable* GetClientNetworkableFromHandle( CBaseHandle hEnt ) = 0; + virtual IClientUnknown* GetClientUnknownFromHandle( CBaseHandle hEnt ) = 0; + + // NOTE: This function is only a convenience wrapper. + // It returns GetClientNetworkable( entnum )->GetIClientEntity(). + virtual IClientEntity* GetClientEntity( int entnum ) = 0; + virtual IClientEntity* GetClientEntityFromHandle( CBaseHandle hEnt ) = 0; + + // Returns number of entities currently in use + virtual int NumberOfEntities( bool bIncludeNonNetworkable ) = 0; + + // Returns highest index actually used + virtual int GetHighestEntityIndex( void ) = 0; + + // Sizes entity list to specified size + virtual void SetMaxEntities( int maxents ) = 0; + virtual int GetMaxEntities( ) = 0; +}; + +extern IClientEntityList *entitylist; + +#define VCLIENTENTITYLIST_INTERFACE_VERSION "VClientEntityList003" + +#endif // ICLIENTENTITYLIST_H |