Counter Strike : Global Offensive Source Code
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.
 
 
 
 
 
 

39 lines
1.0 KiB

//========= Copyright © 1996-2005, 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 Render2DEffectsPreHUD( const CViewSetup &view );
virtual void Render2DEffectsPostHUD( const CViewSetup &view );
virtual void RenderPlayerSprites( void );
virtual void RenderSmokeOverlay( bool bPreViewModel = true );
private:
void PerformFlashbangEffect( const CViewSetup &view );
void PerformNightVisionEffect( const CViewSetup &view );
ITexture *m_pFlashTexture;
};
#endif //CS_VIEW_SCENE_H