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.

38 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef CS_VIEW_SCENE_H
  8. #define CS_VIEW_SCENE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "viewrender.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Implements the interview to view rendering for the client .dll
  15. //-----------------------------------------------------------------------------
  16. class CCSViewRender : public CViewRender
  17. {
  18. public:
  19. CCSViewRender();
  20. virtual void Init( void );
  21. virtual void Render2DEffectsPreHUD( const CViewSetup &view );
  22. virtual void Render2DEffectsPostHUD( const CViewSetup &view );
  23. virtual void RenderPlayerSprites( void );
  24. virtual void RenderSmokeOverlay( bool bPreViewModel = true );
  25. private:
  26. void PerformFlashbangEffect( const CViewSetup &view );
  27. void PerformNightVisionEffect( const CViewSetup &view );
  28. ITexture *m_pFlashTexture;
  29. };
  30. #endif //CS_VIEW_SCENE_H