Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-02 12:23:48 +0000
committerStijn Buys <ingar@osirion.org>2008-03-02 12:23:48 +0000
commit81787e9004377016236865e95b95707ed6cf1d0b (patch)
treeb8a7bd0d51f97848ad98ec8c8f5e424de910df32 /src/core/entity.h
parent1d45d8ecb4633f07a0ff163255dbedc3c3a72ac8 (diff)
initial (buggy) support for .map models
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 9c90ef9..d887bc1 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -61,6 +61,9 @@ public:
/// entity name (can not contain double qoutes ")
inline std::string const & name() { return entity_name; }
+ /// entity model name
+ inline std::string const & modelname() { return entity_modelname; }
+
/// dirty flag
inline bool dirty() const { return entity_dirty; }
@@ -123,6 +126,7 @@ public:
/* entity_ variables can be set by the module */
float entity_radius;
std::string entity_name;
+ std::string entity_modelname;
Shape entity_shape;
math::Vector3f entity_location;
math::Color entity_color;