#include "common.h" #include "cstring.h" #include "cyber.h" #include "disk.h" #include "floating.h" #include "frame.h" #include "graph.h" #include "gui.h" #include "vector.h" #include "view.h" #include "zoom.h" #include "polygon.h" #include "sphcoord.h" // Prototypes from drawpoly.c typedef struct { bool good; // whether it should be drawn point start, // start point of drag end; // current or end point of drag image prev, // previous vertex of polygon next; // next vertex of polygon rect drew; // bounding rectangle of all drawn segments } twang; void projearth(const projection *Proj, const polygon **P, int PT, image *D); bool clicktoearth(const mouseclick *M, polypoint *L); void lookatpoly(projection *Proj, const polygons **Py, int POLY, int PT); void Display(window *W); // Prototypes from editpoly.c bool DoContent(mouseclick *M); bool MapWheel(window *W, short DX, short DY);