9#define SAFELANES_FRIENDLY \
12#define SAFELANES_NEUTRAL \
15#define SAFELANES_HOSTILE ( 1 << 3 )
20typedef enum SafeLaneLocType_ {
22 SAFELANE_LOC_DEST_SYS,
29typedef struct SafeLane_ {
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.
SafeLaneLocType point_type[2]