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.
28 lines
688 B
28 lines
688 B
#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
|