diff options
Diffstat (limited to 'mp/src/common/replay/ireplayperformancerecorder.h')
| -rw-r--r-- | mp/src/common/replay/ireplayperformancerecorder.h | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/mp/src/common/replay/ireplayperformancerecorder.h b/mp/src/common/replay/ireplayperformancerecorder.h index 83997eb7..1274ab0e 100644 --- a/mp/src/common/replay/ireplayperformancerecorder.h +++ b/mp/src/common/replay/ireplayperformancerecorder.h @@ -1,49 +1,49 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-//=======================================================================================//
-
-#ifndef IREPLAYPERFORMANCERECORDER_H
-#define IREPLAYPERFORMANCERECORDER_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-//----------------------------------------------------------------------------------------
-
-#include "interface.h"
-
-//----------------------------------------------------------------------------------------
-
-class CReplay;
-class Vector;
-class QAngle;
-class CReplayPerformance;
-
-//----------------------------------------------------------------------------------------
-
-class IReplayPerformanceRecorder : public IBaseInterface
-{
-public:
- virtual void BeginPerformanceRecord( CReplay *pReplay ) = 0;
- virtual void EndPerformanceRecord() = 0;
-
- virtual void NotifyPauseState( bool bPaused ) = 0;
-
- virtual CReplayPerformance *GetPerformance() = 0;
- virtual bool IsRecording() const = 0;
-
- virtual void SnipAtTime( float flTime ) = 0;
- virtual void NotifySkipping() = 0;
- virtual void ClearSkipping() = 0;
-
- virtual void AddEvent_Camera_Change_FirstPerson( float flTime, int nEntityIndex ) = 0;
- virtual void AddEvent_Camera_Change_ThirdPerson( float flTime, int nEntityIndex ) = 0;
- virtual void AddEvent_Camera_Change_Free( float flTime ) = 0;
- virtual void AddEvent_Camera_ChangePlayer( float flTime, int nEntIndex ) = 0;
- virtual void AddEvent_Camera_SetView( float flTime, const Vector& origin, const QAngle &angles, float fov ) = 0;
- virtual void AddEvent_Slowmo( float flTime, float flScale ) = 0;
-};
-
-//----------------------------------------------------------------------------------------
-
-#endif // IREPLAYPERFORMANCERECORDER_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +//=======================================================================================// + +#ifndef IREPLAYPERFORMANCERECORDER_H +#define IREPLAYPERFORMANCERECORDER_H +#ifdef _WIN32 +#pragma once +#endif + +//---------------------------------------------------------------------------------------- + +#include "interface.h" + +//---------------------------------------------------------------------------------------- + +class CReplay; +class Vector; +class QAngle; +class CReplayPerformance; + +//---------------------------------------------------------------------------------------- + +class IReplayPerformanceRecorder : public IBaseInterface +{ +public: + virtual void BeginPerformanceRecord( CReplay *pReplay ) = 0; + virtual void EndPerformanceRecord() = 0; + + virtual void NotifyPauseState( bool bPaused ) = 0; + + virtual CReplayPerformance *GetPerformance() = 0; + virtual bool IsRecording() const = 0; + + virtual void SnipAtTime( float flTime ) = 0; + virtual void NotifySkipping() = 0; + virtual void ClearSkipping() = 0; + + virtual void AddEvent_Camera_Change_FirstPerson( float flTime, int nEntityIndex ) = 0; + virtual void AddEvent_Camera_Change_ThirdPerson( float flTime, int nEntityIndex ) = 0; + virtual void AddEvent_Camera_Change_Free( float flTime ) = 0; + virtual void AddEvent_Camera_ChangePlayer( float flTime, int nEntIndex ) = 0; + virtual void AddEvent_Camera_SetView( float flTime, const Vector& origin, const QAngle &angles, float fov ) = 0; + virtual void AddEvent_Slowmo( float flTime, float flScale ) = 0; +}; + +//---------------------------------------------------------------------------------------- + +#endif // IREPLAYPERFORMANCERECORDER_H |