Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/parts.h')
-rw-r--r--src/model/parts.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/model/parts.h b/src/model/parts.h
index 8593147..3e5e74f 100644
--- a/src/model/parts.h
+++ b/src/model/parts.h
@@ -31,7 +31,7 @@ class Light
public:
Light();
- Light(const math::Vector3f & location, const math::Color & color, bool strobe=false);
+ Light(const math::Vector3f & location, const math::Color & color, bool strobe=false, bool engine=false);
~Light();
@@ -86,6 +86,12 @@ public:
{
return light_flare;
}
+
+ /// true if this light has engine activation
+ inline const bool engine() const
+ {
+ return light_engine;
+ }
/// render texture number
inline size_t texture() const
@@ -97,6 +103,7 @@ public:
math::Color light_color;
bool light_strobe;
bool light_entity;
+ bool light_engine;
float light_radius;
float light_frequency;
float light_offset;