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 45 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 47 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_LoadRouteXML(), AIR_SaveRouteXML(), and MAP_MapCalcLine().
number of points that make up this path
Definition at line 46 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_GetDestinationWhilePursuing(), AIR_LoadRouteXML(), AIR_Move(), AIR_SaveRouteXML(), MAP_3DMapDrawLine(), MAP_DrawMapMarkers(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), MAP_MapCalcLine(), MAP_MapDrawLine(), and UFO_CampaignRunUFOs().
vec2_t mapline_s::point[LINE_MAXPTS] |
array of 2D points that make up this path
Definition at line 49 of file cp_aircraft.h.
Referenced by AIR_AircraftMakeMove(), AIR_GetDestinationWhilePursuing(), AIR_LoadRouteXML(), AIR_Move(), AIR_SaveRouteXML(), MAP_3DMapDrawLine(), MAP_DrawMapMarkers(), MAP_DrawMapOnePhalanxAircraft(), MAP_GetAircraftText(), MAP_MapCalcLine(), MAP_MapDrawLine(), and UFO_CampaignRunUFOs().