From f831477c2502b7a2b32cd1fe1b6678a9c87d3fda Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 1 Aug 2008 22:06:11 +0000 Subject: jumpdrive countdown --- src/game/ship.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/game/ship.h') diff --git a/src/game/ship.h b/src/game/ship.h index bca0857..4d04b62 100644 --- a/src/game/ship.h +++ b/src/game/ship.h @@ -27,6 +27,9 @@ public: /// true if the ship is equiped with a jumpdrive inline bool jumpdrive() const { return ship_jumpdrive; } + /// toggle jump drive activation + void jump(std::string const & args); + private: ShipModel *ship_shipmodel; @@ -35,6 +38,10 @@ private: float current_target_roll; bool ship_jumpdrive; + float ship_jumpdrive_activated; + core::Zone *ship_jumptargetzone; + + float ship_countdown; }; } -- cgit v1.2.3