DisplayLists/
glInterleavedArrays
* States/cities/roads overlays
+* Atmosphere
+* Mouse control
Roam update
-----------
+* Find a better way to fix great circle errors
+* Improve garbage collection (use timeout?)
+* Refactor height functions
+* Fix texture rendering at edges w/ linear filtering
- x # Gis:
- x gis_update_tiles(tiles);
- x for (tile in tiles)
- x if (need_split(tiles))
- x tiles << split(tile)
- x gis_render_surface(Image *img)
- x polys = roam_get_intersecting_polies(img)
- x for (poly in plies)
- x render(img, poly)
-
- # Roam:
- on_view_change:
- roam_update_errors(roam)
- on_timeout:
- split_merge:
- if (height_func())
- vertex_heght = roam->height_func()
- else
- vertex_heght = 0
-
- x # GisPluginSrtm:
- x on_view_change:
- x roam->height_func = srtm_height_func
- x gis_update_tiles(tiles)
- x for (new_tiles in tiles)
- x points = roam_get_intersecting_points(tile)
- x for (poly in plies)
- x render(img, poly)
-
- x # GisPluginBmng:
- x on_view_change:
- x gis_update_tiles(tiles)
- x on_render:
- x for tile in tiles:
- x gis_render_surface(gis, tile)
+vim: ts=2 sw=2 sts=2
.list.h:
glib-genmarshal --prefix=gis_cclosure_marshal --header $< > $@
-test: all
+test: all .libs/gis
./gis_test
-gdb: all
+gdb: all .libs/gis
gdb ./gis_test
-ddd: all
+ddd: all .libs/gis
ddd ./gis_test
+.libs/gis: plugins/.libs
+ ln -sf ../plugins/.libs .libs/gis
+
memcheck: all
- LD_LIBRARY_PATH=.libs \
- G_SLICE=always-malloc \
- G_DEBUG=gc-friendly,resident-modules \
- valgrind --track-origins=yes \
- --leak-check=full \
- --leak-resolution=high \
- --num-callers=100 \
- --suppressions=../gtk.suppression \
- .libs/gis_test \
+ G_SLICE=always-malloc \
+ G_DEBUG=gc-friendly,resident-modules \
+ valgrind --track-origins=yes \
+ --leak-check=full \
+ --leak-resolution=high \
+ --num-callers=50 \
+ --suppressions=gtk.suppression \
+ ./gis_test \
2> valgrind.out
--- /dev/null
+set makeprg=make\ test
+set tw=100
pluginsdir = $(pkglibdir)
-plugins_LTLIBRARIES = bmng.la srtm.la
-bmng_la_SOURCES = bmng.c bmng.h
-srtm_la_SOURCES = srtm.c srtm.h
+plugins_LTLIBRARIES = bmng.la srtm.la
+bmng_la_SOURCES = bmng.c bmng.h
+srtm_la_SOURCES = srtm.c srtm.h
+
+test:
+ ( cd ../; make test )
# Fixme...
bmng_la_DEPENDENCIES = $(top_srcdir)/src/libgis.la
srtm_la_DEPENDENCIES = $(top_srcdir)/src/libgis.la
-$(top_srcdir)/src/libgis.la:
+$(top_srcdir)/src/libgis.la: $(wildcard ../*.[ch])
( cd ../; make libgis.la )