28 lines
426 B
C++
28 lines
426 B
C++
#ifndef LIGHT_H
|
|
#define LIGHT_H
|
|
|
|
#include "pointentity.h"
|
|
#include "../shared/light.h"
|
|
|
|
class CBaseLight: public CPointEntity
|
|
{
|
|
public:
|
|
DECLARE_CLASS(CBaseLight, CPointEntity)
|
|
DECLARE_DATADESC()
|
|
DECLARE_SERVERCLASS()
|
|
|
|
ColorAlpha m_vColor;
|
|
float m_fBrightness;
|
|
float m_fRadius;
|
|
int m_eLightFlags;
|
|
bool m_bIsEnabled;
|
|
};
|
|
|
|
class CPointLight: public CBaseLight
|
|
{
|
|
public:
|
|
DECLARE_CLASS(CPointLight, CBaseLight);
|
|
};
|
|
|
|
#endif
|