]> git.street.me.uk Git - andy/viking.git/blobdiff - src/mapcache.h
Fix internal tile locking
[andy/viking.git] / src / mapcache.h
index 2e817dd1ec10b7ed8bfca5f43bb514a3fbc6fe8c..b2bf8518154ec85b8a1244ded7e41b7ee18754e9 100644 (file)
 #ifndef __VIKING_MAPCACHE_H
 #define __VIKING_MAPCACHE_H
 
 #ifndef __VIKING_MAPCACHE_H
 #define __VIKING_MAPCACHE_H
 
+#include <glib.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
+
 void a_mapcache_init ();
 void a_mapcache_add ( GdkPixbuf *pixbuf, gint x, gint y, gint z, guint8 type, guint zoom, guint8 alpha, gdouble xshrinkfactor, gdouble yshrinkfactor );
 GdkPixbuf *a_mapcache_get ( gint x, gint y, gint z, guint8 type, guint zoom, guint8 alpha, gdouble xshrinkfactor, gdouble yshrinkfactor );
 void a_mapcache_init ();
 void a_mapcache_add ( GdkPixbuf *pixbuf, gint x, gint y, gint z, guint8 type, guint zoom, guint8 alpha, gdouble xshrinkfactor, gdouble yshrinkfactor );
 GdkPixbuf *a_mapcache_get ( gint x, gint y, gint z, guint8 type, guint zoom, guint8 alpha, gdouble xshrinkfactor, gdouble yshrinkfactor );
-void a_mapcache_remove_all_shrinkfactors ( guint16 x, guint16 y, guint16 z, guint8 type, guint zoom );
+void a_mapcache_remove_all_shrinkfactors ( gint x, gint y, gint z, guint8 type, guint zoom );
+void a_mapcache_flush ();
 void a_mapcache_uninit ();
 
 #endif
 void a_mapcache_uninit ();
 
 #endif