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.
42 lines
869 B
42 lines
869 B
5 years ago
|
//========= 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
|