mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 14:46:53 +00:00
40 lines
1.0 KiB
C
40 lines
1.0 KiB
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef CS_VIEW_SCENE_H
|
||
|
#define CS_VIEW_SCENE_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "viewrender.h"
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose: Implements the interview to view rendering for the client .dll
|
||
|
//-----------------------------------------------------------------------------
|
||
|
class CCSViewRender : public CViewRender
|
||
|
{
|
||
|
public:
|
||
|
CCSViewRender();
|
||
|
|
||
|
virtual void Init( void );
|
||
|
|
||
|
virtual void GetScreenFadeDistances( float *min, float *max );
|
||
|
|
||
|
virtual void Render2DEffectsPreHUD( const CViewSetup &view );
|
||
|
virtual void Render2DEffectsPostHUD( const CViewSetup &view );
|
||
|
virtual void RenderPlayerSprites( void );
|
||
|
|
||
|
private:
|
||
|
|
||
|
void PerformFlashbangEffect( const CViewSetup &view );
|
||
|
void PerformNightVisionEffect( const CViewSetup &view );
|
||
|
|
||
|
ITexture *m_pFlashTexture;
|
||
|
};
|
||
|
|
||
|
#endif //CS_VIEW_SCENE_H
|