Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-26 14:55:35 +0000
committerStijn Buys <ingar@osirion.org>2010-09-26 14:55:35 +0000
commit765927f9f0e9ca751e1d94bd86aaf47200dcdb81 (patch)
tree3eae4aeaad9b38ab8ea1d4287359542ebe4486a3 /src/game/base/shipmodel.h
parentaeef4449ce3c1bdc531fb90699fef68bd48ca644 (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.h5
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();