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/shipmodel.h | |
parent | aeef4449ce3c1bdc531fb90699fef68bd48ca644 (diff) |
moved trading definitions from station.ini to the zone.ini
Diffstat (limited to 'src/game/base/shipmodel.h')
-rw-r--r-- | src/game/base/shipmodel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/base/shipmodel.h b/src/game/base/shipmodel.h index ef7ff15..a7c8500 100644 --- a/src/game/base/shipmodel.h +++ b/src/game/base/shipmodel.h @@ -10,6 +10,7 @@ #include <string> #include "core/info.h" +#include "core/entity.h" namespace game { @@ -90,11 +91,13 @@ public: void generate_info(); + void buy(core::EntityControlable *buyer, core::Entity *seller); + /* --- static registry functions ---------------------------------- */ static ShipModel *find(const std::string & label); - static ShipModel *search(const std::string & searchstr); + static ShipModel *search(const std::string & searchstr); static bool init(); |