summaryrefslogtreecommitdiff
path: root/game/client/cstrike/cs_view_scene.h
blob: 7c8c53813dff57021784da8c73f0a9ddaf43b17e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//========= 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