diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-26 14:55:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-26 14:55:35 +0000 |
commit | 765927f9f0e9ca751e1d94bd86aaf47200dcdb81 (patch) | |
tree | 3eae4aeaad9b38ab8ea1d4287359542ebe4486a3 /src/game/base/shipdealer.h | |
parent | aeef4449ce3c1bdc531fb90699fef68bd48ca644 (diff) |
moved trading definitions from station.ini to the zone.ini
Diffstat (limited to 'src/game/base/shipdealer.h')
-rw-r--r-- | src/game/base/shipdealer.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/game/base/shipdealer.h b/src/game/base/shipdealer.h deleted file mode 100644 index 1d93f03..0000000 --- a/src/game/base/shipdealer.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - 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 -*/ - -#ifndef __INCLUDED_BASE_SHIPDEALER_H__ -#define __INCLUDED_BASE_SHIPDEALER_H__ - -#include <list> - -#include "base/shipmodel.h" -#include "core/entity.h" - -namespace game -{ - -class ShipDealer -{ -public: - typedef std::list<ShipModel *> 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; -}; - -} - -#endif // __INCLUDED_BASE_SHIPDEALER_H__ - |