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.

41 lines
983 B

  1. //========= Copyright � 1996-2008, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef C_POSTPROCESSCONTROLLER_H
  7. #define C_POSTPROCESSCONTROLLER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "postprocess_shared.h"
  12. //=============================================================================
  13. //
  14. // Class Postprocess Controller:
  15. //
  16. class C_PostProcessController : public C_BaseEntity
  17. {
  18. DECLARE_CLASS( C_PostProcessController, C_BaseEntity );
  19. public:
  20. DECLARE_CLIENTCLASS();
  21. C_PostProcessController();
  22. virtual ~C_PostProcessController();
  23. virtual void PostDataUpdate( DataUpdateType_t updateType );
  24. static C_PostProcessController* GetMasterController() { return ms_pMasterController; }
  25. PostProcessParameters_t m_PostProcessParameters;
  26. private:
  27. bool m_bMaster;
  28. static C_PostProcessController* ms_pMasterController;
  29. };
  30. #endif // C_POSTPROCESSCONTROLLER_H