- The plugin now supports drawing a series of waypoints in the world. - The plugin supports add, remove, and clear operations - Add and remove take a list of waypoints - Clear removes all waypoints
24 lines
378 B
C
24 lines
378 B
C
#ifndef xpcDrawing_h
|
|
#define xpcDrawing_h
|
|
|
|
#include <stdlib.h>
|
|
|
|
typedef struct
|
|
{
|
|
double lattitude;
|
|
double longitude;
|
|
double altitude;
|
|
} Waypoint;
|
|
|
|
void XPCClearMessage();
|
|
|
|
void XPCSetMessage(int x, int y, char* msg);
|
|
|
|
void XPCClearWaypoints();
|
|
|
|
void XPCAddWaypoints(Waypoint points[], size_t numPoints);
|
|
|
|
void XPCRemoveWaypoints(Waypoint points[], size_t numPoints);
|
|
|
|
#endif
|