aboutsummaryrefslogtreecommitdiff
path: root/mp/src/common/replay/iclientreplay.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/common/replay/iclientreplay.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/common/replay/iclientreplay.h')
-rw-r--r--mp/src/common/replay/iclientreplay.h126
1 files changed, 63 insertions, 63 deletions
diff --git a/mp/src/common/replay/iclientreplay.h b/mp/src/common/replay/iclientreplay.h
index 31362f4e..1d4b53d8 100644
--- a/mp/src/common/replay/iclientreplay.h
+++ b/mp/src/common/replay/iclientreplay.h
@@ -1,64 +1,64 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-//=======================================================================================//
-
-#ifndef ICLIENTREPLAY_H
-#define ICLIENTREPLAY_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-//----------------------------------------------------------------------------------------
-
-#include "interface.h"
-#include "replay/replayhandle.h"
-
-//----------------------------------------------------------------------------------------
-
-#define CLIENT_REPLAY_INTERFACE_VERSION "ClientReplay001"
-
-//----------------------------------------------------------------------------------------
-
-class IReplayFactory;
-class IReplayScreenshotSystem;
-class IReplayPerformancePlaybackHandler;
-class KeyValues;
-class IReplayCamera;
-class CReplayPerformance;
-struct RenderMovieParams_t;
-class IGameEvent;
-
-//----------------------------------------------------------------------------------------
-
-//
-// Allows the replay and engine DLL's to talk to the client.
-//
-class IClientReplay : public IBaseInterface
-{
-public:
- virtual uint64 GetServerSessionId() = 0;
- virtual bool CacheReplayRagdolls( const char* pFilename, int nStartTick ) = 0; // Cache replay ragdolls
- virtual IReplayScreenshotSystem *GetReplayScreenshotSystem() = 0; // Get the client's replay screenshot system
- virtual IReplayPerformancePlaybackHandler *GetPerformancePlaybackHandler() = 0;
- virtual IReplayCamera *GetReplayCamera() = 0;
- virtual void DisplayReplayMessage( const char *pLocalizeStr, bool bUrgent, bool bDlg, const char *pSound ) = 0;
- virtual void DisplayReplayMessage( const wchar_t *pText, bool bUrgent, bool bDlg, const char *pSound ) = 0;
- virtual void InitPerformanceEditor( ReplayHandle_t hReplay ) = 0;
- virtual void HidePerformanceEditor() = 0;
- virtual bool ShouldRender() = 0;
- virtual void PlaySound( const char *pSound ) = 0;
- virtual void UploadOgsData( KeyValues *pData, bool bIncludeTimeField ) = 0;
- virtual bool ShouldCompletePendingReplay( IGameEvent *pEvent ) = 0;
-
- virtual void OnSaveReplay( ReplayHandle_t hNewReplay, bool bShowInputDlg ) = 0;
- virtual void OnDeleteReplay( ReplayHandle_t hReplay ) = 0; // Called before replay is actually removed from the replay manager
- virtual void OnPlaybackComplete( ReplayHandle_t hReplay, int iPerformance ) = 0;
- virtual void OnRenderStart() = 0;
- virtual void OnRenderComplete( const RenderMovieParams_t &RenderParams, bool bCancelled, bool bSuccess, bool bShowBrowser ) = 0;
- virtual bool OnConfirmQuit() = 0;
- virtual bool OnEndOfReplayReached() = 0;
-};
-
-//----------------------------------------------------------------------------------------
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef ICLIENTREPLAY_H
+#define ICLIENTREPLAY_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "interface.h"
+#include "replay/replayhandle.h"
+
+//----------------------------------------------------------------------------------------
+
+#define CLIENT_REPLAY_INTERFACE_VERSION "ClientReplay001"
+
+//----------------------------------------------------------------------------------------
+
+class IReplayFactory;
+class IReplayScreenshotSystem;
+class IReplayPerformancePlaybackHandler;
+class KeyValues;
+class IReplayCamera;
+class CReplayPerformance;
+struct RenderMovieParams_t;
+class IGameEvent;
+
+//----------------------------------------------------------------------------------------
+
+//
+// Allows the replay and engine DLL's to talk to the client.
+//
+class IClientReplay : public IBaseInterface
+{
+public:
+ virtual uint64 GetServerSessionId() = 0;
+ virtual bool CacheReplayRagdolls( const char* pFilename, int nStartTick ) = 0; // Cache replay ragdolls
+ virtual IReplayScreenshotSystem *GetReplayScreenshotSystem() = 0; // Get the client's replay screenshot system
+ virtual IReplayPerformancePlaybackHandler *GetPerformancePlaybackHandler() = 0;
+ virtual IReplayCamera *GetReplayCamera() = 0;
+ virtual void DisplayReplayMessage( const char *pLocalizeStr, bool bUrgent, bool bDlg, const char *pSound ) = 0;
+ virtual void DisplayReplayMessage( const wchar_t *pText, bool bUrgent, bool bDlg, const char *pSound ) = 0;
+ virtual void InitPerformanceEditor( ReplayHandle_t hReplay ) = 0;
+ virtual void HidePerformanceEditor() = 0;
+ virtual bool ShouldRender() = 0;
+ virtual void PlaySound( const char *pSound ) = 0;
+ virtual void UploadOgsData( KeyValues *pData, bool bIncludeTimeField ) = 0;
+ virtual bool ShouldCompletePendingReplay( IGameEvent *pEvent ) = 0;
+
+ virtual void OnSaveReplay( ReplayHandle_t hNewReplay, bool bShowInputDlg ) = 0;
+ virtual void OnDeleteReplay( ReplayHandle_t hReplay ) = 0; // Called before replay is actually removed from the replay manager
+ virtual void OnPlaybackComplete( ReplayHandle_t hReplay, int iPerformance ) = 0;
+ virtual void OnRenderStart() = 0;
+ virtual void OnRenderComplete( const RenderMovieParams_t &RenderParams, bool bCancelled, bool bSuccess, bool bShowBrowser ) = 0;
+ virtual bool OnConfirmQuit() = 0;
+ virtual bool OnEndOfReplayReached() = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
#endif // ICLIENTREPLAY_H \ No newline at end of file