UFO: Alien Invasion
|
A path on the map described by 2D points. More...
#include <cp_aircraft.h>
Data Fields | |
int | numPoints |
float | distance |
vec2_t | point [LINE_MAXPTS] |
A path on the map described by 2D points.
Definition at line 38 of file cp_aircraft.h.
float mapline_s::distance |
the distance between two points of the path - total distance is then (distance * (numPoints - 1))
Definition at line 40 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_LoadRouteXML(), AIR_SaveRouteXML(), and GEO_CalcLine().
int mapline_s::numPoints |
number of points that make up this path
Definition at line 39 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_GetDestinationWhilePursuing(), AIR_LoadRouteXML(), AIR_Move(), AIR_SaveRouteXML(), GEO_3DMapDrawLine(), GEO_CalcLine(), GEO_DrawMapOnePhalanxAircraft(), GEO_DrawMarkers(), GEO_GetAircraftText(), GEO_MapDrawLine(), and UFO_CampaignRunUFOs().
vec2_t mapline_s::point[LINE_MAXPTS] |
array of 2D points that make up this path
Definition at line 42 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_GetDestinationWhilePursuing(), AIR_LoadRouteXML(), AIR_Move(), AIR_SaveRouteXML(), GEO_3DMapDrawLine(), GEO_CalcLine(), GEO_DrawMapOnePhalanxAircraft(), GEO_DrawMarkers(), GEO_GetAircraftText(), GEO_MapDrawLine(), and UFO_CampaignRunUFOs().