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>2009-08-18 09:24:15 +0000
committerStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
commitf030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch)
treecd92baf9e4fa8a136523b9eb570e9811846c9250 /src/core/extension.h
parent5636fad174f0bcff857c357c394c4cc8d424b302 (diff)
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/core/extension.h')
-rw-r--r--src/core/extension.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/core/extension.h b/src/core/extension.h
index 0b9ecad..91ba906 100644
--- a/src/core/extension.h
+++ b/src/core/extension.h
@@ -7,23 +7,30 @@
#ifndef __INCLUDED_CORE_EXTENSION_H__
#define __INCLUDED_CORE_EXTENSION_H__
-namespace core {
- class Extension;
+namespace core
+{
+class Extension;
}
#include "core/entity.h"
-namespace core {
+namespace core
+{
/// a abstract base class for entity extensions
-class Extension {
+class Extension
+{
public:
/// extension types
- enum Type { Client=0, Render=1, Sound=2, Game=3 };
+ enum Type { Client = 0, Render = 1, Sound = 2, Game = 3 };
- inline Type type() const { return extension_type; }
+ inline Type type() const {
+ return extension_type;
+ }
- inline Entity *entity() { return extension_entity; }
+ inline Entity *entity() {
+ return extension_entity;
+ }
Extension(Type type, Entity *entity);
virtual ~Extension();
@@ -33,7 +40,7 @@ public:
private:
Type extension_type;
Entity *extension_entity;
-
+
};
} // namespace core