sqwarmed/sdk_src/game/server/env_ambient_light.h

28 lines
715 B
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
#ifndef _INCLUDED_ENV_AMBIENT_LIGHT_H
#define _INCLUDED_ENV_AMBIENT_LIGHT_H
#include "spatialentity.h"
//------------------------------------------------------------------------------
// Purpose : Ambient light controller entity
//------------------------------------------------------------------------------
class CEnvAmbientLight : public CSpatialEntity
{
DECLARE_CLASS( CEnvAmbientLight, CSpatialEntity );
public:
DECLARE_SERVERCLASS();
DECLARE_DATADESC();
virtual void Spawn( void );
void InputSetColor(inputdata_t &inputdata);
void SetColor( const Vector &vecColor );
private:
color32 m_Color;
CNetworkVector( m_vecColor );
};
#endif // _INCLUDED_ENV_AMBIENT_LIGHT_H