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-06-01 13:03:45 +0000
committerStijn Buys <ingar@osirion.org>2008-06-01 13:03:45 +0000
commit190cede795ac4c7fcd6865a6c2083b5ce53a154a (patch)
treef1d05ebec665b0fb66ef2448a81ab2ed718ee279 /src/core/entity.h
parent2a41efa0d43b573e1c8851086268b8a64d51c511 (diff)
entity and shipmodel labels, fixes sort order of shipmodels
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 c93d059..bf35bfe 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -68,6 +68,9 @@ public:
/// entity flags
inline unsigned int flags() const { return entity_flags; }
+ /// entity label (can not contain double quotes ")
+ inline std::string const & label() { return entity_label; }
+
/// entity name (can not contain double qoutes ")
inline std::string const & name() { return entity_name; }
@@ -145,6 +148,7 @@ public:
float entity_radius;
std::string entity_name;
+ std::string entity_label;
std::string entity_modelname;
model::Model *entity_model;
Shape entity_shape;