9#define SAFELANES_FRIENDLY (1<<0)
10#define SAFELANES_NEUTRAL (1<<1)
11#define SAFELANES_HOSTILE (1<<3)
16typedef enum SafeLaneLocType_ {
18 SAFELANE_LOC_DEST_SYS,
24typedef struct SafeLane_ {
26 SafeLaneLocType point_type[2];
int safelanes_calculated(void)
Whether or not the safe lanes have been calculated at least once.
void safelanes_destroy(void)
Shuts down the safelanes system.
void safelanes_init(void)
Initializes the safelanes system.
void safelanes_recalculate(void)
Update the safe lane locations in response to the universe changing (e.g., diff applied).
SafeLane * safelanes_get(int faction, int standing, const StarSystem *system)
Gets a set of safelanes for a faction and system.
Describes a safe lane, patrolled by a faction, within a system.