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/game/base/shipdealer.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/game/base/shipdealer.h') diff --git a/src/game/base/shipdealer.h b/src/game/base/shipdealer.h index 48f9835..1d93f03 100644 --- a/src/game/base/shipdealer.h +++ b/src/game/base/shipdealer.h @@ -1,7 +1,7 @@ /* base/shipdealer.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_BASE_SHIPDEALER_H__ @@ -12,29 +12,30 @@ #include "base/shipmodel.h" #include "core/entity.h" -namespace game { +namespace game +{ class ShipDealer { public: typedef std::list Models; - + ShipDealer(); ~ShipDealer(); /// add a ship model to the dealer list ShipModel *add(const std::string &modelname); - + /// find a ship model in the dealer list ShipModel *find(const std::string &modelname) const; - + /// find a ship model in the dealer list ShipModel *find(ShipModel *shipmodel) const; static void func_buy(core::Player *player, const std::string &args); private: - Models dealer_models; + Models dealer_models; }; } -- cgit v1.2.3