]> err.no Git - mapper/blobdiff - src/mapper-types.h
Move some variables around
[mapper] / src / mapper-types.h
index 9bee657b628715460de5b9cac7dc480a400eda66..914290bb30cd58c119d878ef07cc795e10c203ee 100644 (file)
@@ -33,17 +33,6 @@ typedef enum {
        REPOTYPE_WMS            /* "service=wms" */
 } RepoType;
 
-/** Possible center modes.  The "WAS" modes imply no current center mode;
- * they only hint at what the last center mode was, so that it can be
- * recalled. */
-typedef enum {
-       CENTER_WAS_LATLON = -2,
-       CENTER_WAS_LEAD = -1,
-       CENTER_MANUAL =0,
-       CENTER_LEAD = 1,
-       CENTER_LATLON = 2
-} CenterMode;
-
 /* Route list */
 typedef enum {
        ROUTE_LATLON,
@@ -65,19 +54,6 @@ typedef enum {
        CAT_NUM_COLUMNS
 } CategoryList;
 
-/** This enum defines the possible units we can use. */
-typedef enum {
-       UNITS_KM,
-       UNITS_MI,
-       UNITS_NM,
-       UNITS_ENUM_COUNT
-} UnitType;
-gchar *UNITS_TEXT[UNITS_ENUM_COUNT];
-
-/* UNITS_CONVERTS, when multiplied, converts from NM. */
-#define EARTH_RADIUS (3440.06479f)
-gfloat UNITS_CONVERT[UNITS_ENUM_COUNT];
-
 /** This enum defines the possible font sizes. */
 typedef enum {
        INFO_FONT_XXSMALL,