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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user