From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/core/extension.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'src/core/extension.h') 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 -- cgit v1.2.3