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/common/replay/ireplayplayercache.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/common/replay/ireplayplayercache.h')
| -rw-r--r-- | sp/src/common/replay/ireplayplayercache.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/sp/src/common/replay/ireplayplayercache.h b/sp/src/common/replay/ireplayplayercache.h index e27ad2e7..c1a816f3 100644 --- a/sp/src/common/replay/ireplayplayercache.h +++ b/sp/src/common/replay/ireplayplayercache.h @@ -1,41 +1,41 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-//----------------------------------------------------------------------------------------
-
-#ifndef IREPLAYPLAYERCACHE_H
-#define IREPLAYPLAYERCACHE_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include "interface.h"
-
-//----------------------------------------------------------------------------------------
-
-#define REPLAYPLAYERCACHE_INTERFACE_VERSION "VENGINE_REPLAY_PLAYER_CACHE_001"
-
-//----------------------------------------------------------------------------------------
-
-abstract_class IReplayPlayerCache : public IBaseInterface
-{
-public:
- virtual bool Init() = 0;
- virtual void Shutdown() = 0;
-
- virtual void SetupPlayer( int nEntIndex ) = 0;
- virtual void DeletePlayerEntry( int nEntIndex ) = 0;
-
- virtual bool PlayerHasCacheEntry( int nEntIndex ) = 0;
-
- virtual void SetPlayerClass( int nEntIndex, const char *pPlayerClass ) = 0;
- virtual void SetPlayerSpawnTick( int nEntIndex, int nTick ) = 0;
- virtual void SetPlayerDeathTick( int nEntIndex, int nTick ) = 0;
-
- virtual const char *GetPlayerClass( int nEntIndex ) = 0;
- virtual int GetPlayerSpawnTick( int nEntIndex ) = 0;
- virtual int GetPlayerDeathTick( int nEntIndex ) = 0;
-};
-
-//----------------------------------------------------------------------------------------
-
-#endif // IREPLAYPLAYERCACHE_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +//---------------------------------------------------------------------------------------- + +#ifndef IREPLAYPLAYERCACHE_H +#define IREPLAYPLAYERCACHE_H +#ifdef _WIN32 +#pragma once +#endif + +#include "interface.h" + +//---------------------------------------------------------------------------------------- + +#define REPLAYPLAYERCACHE_INTERFACE_VERSION "VENGINE_REPLAY_PLAYER_CACHE_001" + +//---------------------------------------------------------------------------------------- + +abstract_class IReplayPlayerCache : public IBaseInterface +{ +public: + virtual bool Init() = 0; + virtual void Shutdown() = 0; + + virtual void SetupPlayer( int nEntIndex ) = 0; + virtual void DeletePlayerEntry( int nEntIndex ) = 0; + + virtual bool PlayerHasCacheEntry( int nEntIndex ) = 0; + + virtual void SetPlayerClass( int nEntIndex, const char *pPlayerClass ) = 0; + virtual void SetPlayerSpawnTick( int nEntIndex, int nTick ) = 0; + virtual void SetPlayerDeathTick( int nEntIndex, int nTick ) = 0; + + virtual const char *GetPlayerClass( int nEntIndex ) = 0; + virtual int GetPlayerSpawnTick( int nEntIndex ) = 0; + virtual int GetPlayerDeathTick( int nEntIndex ) = 0; +}; + +//---------------------------------------------------------------------------------------- + +#endif // IREPLAYPLAYERCACHE_H |