XEphem/GUI/xephem/map.h

19 lines
427 B
C

#ifndef _MAP_H
#define _MAP_H
/* these two structs are used to form lists of polygon vertices and lists
* of such lists. they are used to form maps.
*/
typedef struct {
short lg, lt; /* longitude and latitude, degs (*100 for earth) */
} MCoord;
typedef struct {
char *rname; /* region name */
MCoord *mcp; /* list of MCoords */
int nmcp; /* number of entries in mcp[] */
} MRegion;
#endif /* _MAP_H */