You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
//========= 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
|