diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/server/particle_light.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/server/particle_light.h')
| -rw-r--r-- | game/server/particle_light.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/game/server/particle_light.h b/game/server/particle_light.h new file mode 100644 index 0000000..cc7d928 --- /dev/null +++ b/game/server/particle_light.h @@ -0,0 +1,41 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef PARTICLE_LIGHT_H +#define PARTICLE_LIGHT_H +#ifdef _WIN32 +#pragma once +#endif + + +#include "baseentity.h" + + +//================================================== +// CParticleLight. These are tied to +//================================================== + +#define PARTICLELIGHT_ENTNAME "env_particlelight" + +class CParticleLight : public CServerOnlyPointEntity +{ +public: + DECLARE_CLASS( CParticleLight, CServerOnlyPointEntity ); + DECLARE_DATADESC(); + + CParticleLight(); + + +public: + float m_flIntensity; + Vector m_vColor; // 0-255 + string_t m_PSName; // Name of the particle system entity this light affects. + bool m_bDirectional; +}; + + +#endif // PARTICLE_LIGHT_H |