From 08f0d0fb6a57f9c398bc03ed9a3cc9537a1f3e18 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 20 Oct 2010 17:38:55 +0000 Subject: docking functions cleanup, jumpgates work again --- src/game/base/jumppoint.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/game/base/jumppoint.h') diff --git a/src/game/base/jumppoint.h b/src/game/base/jumppoint.h index fe29727..cb3ee28 100644 --- a/src/game/base/jumppoint.h +++ b/src/game/base/jumppoint.h @@ -15,6 +15,8 @@ namespace game { +class Ship; + /// a jumppoint /** * jumppoints are used to define hyperspace routes between systems. @@ -57,8 +59,8 @@ public: /// validate the targetlabel and set target() virtual void validate(); - /// entity received a docking request - virtual void dock(core::Entity *entity); + /// a ship wants to use the jumpgate + void func_dock(Ship *ship); inline bool activated() const { return (jumpgate_timer > 0); -- cgit v1.2.3