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-07-25 18:30:10 +0000
committerStijn Buys <ingar@osirion.org>2008-07-25 18:30:10 +0000
commit812bb37b7e73104d97da35eb3e66046495aaa305 (patch)
tree63ee32e2c53d35aeb3dc219c8caa211de5fbf0cd /src/core/entity.h
parentabe6c3dc6e6f9df40345d6aaf19f12fdfa3f3024 (diff)
minor cleanups
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 0b25dad..d6000b9 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -133,8 +133,11 @@ public:
/*----- static ---------------------------------------------------- */
+ /// type definition for the entity registry
+ typedef std::map<unsigned int, Entity*> Registry;
+
/// the entity registry
- static std::map<unsigned int, Entity*> registry;
+ static Registry registry;
/// find an entity in the registry
static Entity *find(unsigned int id);