summaryrefslogtreecommitdiff
path: root/game/client/dod/dod_view_scene.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/dod/dod_view_scene.h')
-rw-r--r--game/client/dod/dod_view_scene.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/game/client/dod/dod_view_scene.h b/game/client/dod/dod_view_scene.h
new file mode 100644
index 0000000..2ad0359
--- /dev/null
+++ b/game/client/dod/dod_view_scene.h
@@ -0,0 +1,47 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================
+
+#ifndef DOD_VIEW_SCENE_H
+#define DOD_VIEW_SCENE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "iviewrender.h"
+#include "viewrender.h"
+
+#include "colorcorrectionmgr.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Implements the interview to view rendering for the client .dll
+//-----------------------------------------------------------------------------
+class CDODViewRender : public CViewRender
+{
+public:
+ CDODViewRender();
+
+ void Init( );
+ void Shutdown( );
+
+ void RenderView( const CViewSetup &view, int nClearFlags, int whatToDraw );
+ void RenderPlayerSprites();
+
+ void PerformStunEffect( const CViewSetup &view );
+
+ void InitColorCorrection( );
+ void ShutdownColorCorrection( );
+ void SetupColorCorrection( );
+
+private:
+ ITexture *m_pStunTexture;
+
+ ClientCCHandle_t m_SpectatorLookupHandle;
+ ClientCCHandle_t m_DeathLookupHandle;
+ bool m_bLookupActive;
+};
+
+#endif //DOD_VIEW_SCENE_H \ No newline at end of file