pioneerspacesim/pioneer — pull request #2712 by lwho (2014-02-02 18:40:34+00:00)
Title: Allow to target any star as hyperspace target

Mu Herculis C is famous, well rather infamous. You have never been there? I'm not astonished. Because when you have jumped to the Mu Herculis system, you're away approximately 10 AU from, yes Mu Herculis **A**, but more than 3500 AU away from Mu Herculis **C**. And that's a long travel, a very long travel.

Physically, there is no reason, why you couldn't target any other star of a system than the A component. So, that's what the PR allows. There are two ways to select a hyperspace target in a system:

1. In the sector view, on the first click on a multiple star system, the A component is selected. If you repeatedly click on an already selected system, it will cycle through the other components A->B->C->D->A (or the subset present in the system).
2. In the system info view, you could only select bodies in the current system, which would set the navigation target. Now, you can also select stars (and only stars) in remote systems and this updates the hyperspace target (or the selected star, if the hyperspace target was locked in the sector view). The selection in remote systems is shown in a different color than the usual navigation target selection in the current system.

Currently, there is no possibility to do in-systems jumps. We could just hand-wave that there is a physical minimum distance for hyperjumps (e.g. when entering hyperspace the ship has a certain hyper-momentum which has to be reduced before re-entering normal space).