diff options
Diffstat (limited to 'src/model/model.h')
-rw-r--r-- | src/model/model.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/model/model.h b/src/model/model.h index 552d7dd..47728cb 100644 --- a/src/model/model.h +++ b/src/model/model.h @@ -95,10 +95,13 @@ public: } /// engine sound loop for this model - inline unsigned int & enginesound() + inline unsigned int enginesound() const { return model_enginesound; } + + /// engine color for this model + inline math::Color const & enginecolor() const { return model_enginecolor; } /// add a light to the model void add_light(Light *light); @@ -115,6 +118,8 @@ public: math::Vector3f model_minbbox; unsigned int model_enginesound; + + math::Color model_enginecolor; /* ---- static functions for the Model registry -------------------- */ |