]> Pileus Git - aweather/blobdiff - src/aweather-location.h
Subjectively adding LODs to cities
[aweather] / src / aweather-location.h
index 1c3966850acdc45d3369612ad4e53352045e7282..453f6868e0c9bc1521f0847ce969522cb798b4d8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #ifndef __LOCATION_H__
 #define __LOCATION_H__
 
+#include "gis-util.h"
+
 enum {
+       LOCATION_END,
        LOCATION_CITY,
-       LOCATION_STATE
+       LOCATION_STATE,
 };
 
 typedef struct {
        int type;
        char *code;
        char *label;
-       double lat;
-       double lon;
-       double elev;
+       GisPoint pos;
+       gdouble lod;
 } city_t;
 
 extern city_t cities[];