Files
XPlaneConnectCSP/xpcPlugin/xpcDrawing.h
Jason Watkins 97eb023df6 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
2015-04-09 09:06:18 -07:00

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