From c11c0174ece92b4502648ad33653975bfdfc39a0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 5 May 2008 17:45:30 +0000 Subject: lights with entity color, sunlight, network stats --- src/model/light.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/model/light.h') diff --git a/src/model/light.h b/src/model/light.h index 9605497..b834623 100644 --- a/src/model/light.h +++ b/src/model/light.h @@ -29,6 +29,9 @@ public: /// true if this is a strobe light inline bool strobe() const { return light_strobe; } + /// true if this light has entity color + inline bool entity() const { return light_entity; } + /// size if the light, default is 1.0f inline float radius() const { return light_radius; } @@ -50,6 +53,7 @@ public: math::Vector3f light_location; math::Color light_color; bool light_strobe; + bool light_entity; float light_radius; float light_frequency; float light_offset; -- cgit v1.2.3