From 7218e3bd4616d4706090ec47d72845a2bb89c6a3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 4 May 2008 22:30:49 +0000 Subject: split map reading from models --- src/model/light.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/model/light.h') diff --git a/src/model/light.h b/src/model/light.h index e202d21..9605497 100644 --- a/src/model/light.h +++ b/src/model/light.h @@ -16,7 +16,10 @@ namespace model { class Light { public: + Light(); + Light(math::Vector3f const & location, math::Color const & color, bool strobe=false); + ~Light(); inline math::Vector3f const & location() const { return light_location; } @@ -39,7 +42,7 @@ public: inline float time() const { return light_time; } /// flare texture number - inline size_t flare() const { return light_flare; } + inline unsigned int flare() const { return light_flare; } /// render texture number inline size_t texture() const { return render_texture; } @@ -52,7 +55,7 @@ public: float light_offset; float light_time; - size_t light_flare; + unsigned int light_flare; size_t render_texture; }; -- cgit v1.2.3