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.

27 lines
688 B

  1. #ifndef _INCLUDED_ENV_AMBIENT_LIGHT_H
  2. #define _INCLUDED_ENV_AMBIENT_LIGHT_H
  3. #include "spatialentity.h"
  4. //------------------------------------------------------------------------------
  5. // Purpose : Ambient light controller entity
  6. //------------------------------------------------------------------------------
  7. class CEnvAmbientLight : public CSpatialEntity
  8. {
  9. DECLARE_CLASS( CEnvAmbientLight, CSpatialEntity );
  10. public:
  11. DECLARE_SERVERCLASS();
  12. DECLARE_DATADESC();
  13. virtual void Spawn( void );
  14. void InputSetColor(inputdata_t &inputdata);
  15. void SetColor( const Vector &vecColor );
  16. private:
  17. color32 m_Color;
  18. CNetworkVector( m_vecColor );
  19. };
  20. #endif // _INCLUDED_ENV_AMBIENT_LIGHT_H