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/client/client.h | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'src/client/client.h') diff --git a/src/client/client.h b/src/client/client.h index dbb2c44..fd762c6 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -1,7 +1,7 @@ /* client/client.h - This file is part of the Osirion project and is distributed under - the terms and conditions of the GNU General Public License version 2 + This file is part of the Osirion project and is distributed under + the terms and conditions of the GNU General Public License version 2 */ #ifndef __INCLUDED_CLIENT_H__ @@ -16,7 +16,8 @@ #include "render/renderext.h" /// client part of the engine -namespace client { +namespace client +{ /// run the client application void run(int count, char **arguments); @@ -62,7 +63,9 @@ public: virtual void notify_disconnect(); /// the main client widget - inline WorldView *worldview() { return client_worldview; } + inline WorldView *worldview() { + return client_worldview; + } protected: /// run a client frame @@ -95,14 +98,20 @@ private: Client *client(); -inline ClientExt *ext_client(core::Entity *entity) - { return static_cast(entity->extension(core::Extension::Client)); } +inline ClientExt *ext_client(core::Entity *entity) +{ + return static_cast(entity->extension(core::Extension::Client)); +} -inline SoundExt *ext_sound(core::Entity *entity) - { return static_cast(entity->extension(core::Extension::Sound)); } +inline SoundExt *ext_sound(core::Entity *entity) +{ + return static_cast(entity->extension(core::Extension::Sound)); +} -inline render::RenderExt *ext_render(core::Entity *entity) - { return static_cast(entity->extension(core::Extension::Render)); } +inline render::RenderExt *ext_render(core::Entity *entity) +{ + return static_cast(entity->extension(core::Extension::Render)); +} } -- cgit v1.2.3