Added waypoint support to the plugin.

- 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
This commit is contained in:
Jason Watkins
2015-04-08 15:44:40 -07:00
parent 001d5fd2d4
commit 97eb023df6
7 changed files with 225 additions and 5 deletions

View File

@@ -1,8 +1,23 @@
#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