From 765927f9f0e9ca751e1d94bd86aaf47200dcdb81 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 26 Sep 2010 14:55:35 +0000 Subject: moved trading definitions from station.ini to the zone.ini --- src/game/base/shipmodel.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/base/shipmodel.h') 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 #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(); -- cgit v1.2.3