Team Fortress 2 Source Code as on 22/4/2020
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
869 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef PARTICLE_LIGHT_H
  8. #define PARTICLE_LIGHT_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "baseentity.h"
  13. //==================================================
  14. // CParticleLight. These are tied to
  15. //==================================================
  16. #define PARTICLELIGHT_ENTNAME "env_particlelight"
  17. class CParticleLight : public CServerOnlyPointEntity
  18. {
  19. public:
  20. DECLARE_CLASS( CParticleLight, CServerOnlyPointEntity );
  21. DECLARE_DATADESC();
  22. CParticleLight();
  23. public:
  24. float m_flIntensity;
  25. Vector m_vColor; // 0-255
  26. string_t m_PSName; // Name of the particle system entity this light affects.
  27. bool m_bDirectional;
  28. };
  29. #endif // PARTICLE_LIGHT_H