mirror of https://github.com/skeeto/pixelcity.git
24 lines
517 B
C++
24 lines
517 B
C++
class CLight
|
|
{
|
|
GLvector _position;
|
|
GLrgba _color;
|
|
int _size;
|
|
float _vert_size;
|
|
float _flat_size;
|
|
bool _blink;
|
|
unsigned _blink_interval;
|
|
int _cell_x;
|
|
int _cell_z;
|
|
|
|
public:
|
|
CLight(GLvector pos, GLrgba color, int size);
|
|
class CLight* _next;
|
|
void Render ();
|
|
void Blink ();
|
|
|
|
};
|
|
|
|
void LightRender ();
|
|
void LightClear ();
|
|
int LightCount ();
|