diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-02 12:23:48 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-02 12:23:48 +0000 |
commit | 81787e9004377016236865e95b95707ed6cf1d0b (patch) | |
tree | b8a7bd0d51f97848ad98ec8c8f5e424de910df32 /src/core/entity.h | |
parent | 1d45d8ecb4633f07a0ff163255dbedc3c3a72ac8 (diff) |
initial (buggy) support for .map models
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 4 |
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; |