+struct _GisTileClass {
+ GisObjectClass parent_class;
+};
+
+typedef void (*GisTileLoadFunc)(GisTile *tile, gpointer user_data);
+typedef void (*GisTileFreeFunc)(GisTile *tile, gpointer user_data);
+
+/* Forech functions */
+#define gis_tile_foreach(tile, child) \
+ for (int _x = 0; _x < G_N_ELEMENTS(tile->children); _x++) \
+ for (int _y = 0; child = tile->children[_x][_y], \
+ _y < G_N_ELEMENTS(tile->children[_x]); _y++) \
+
+#define gis_tile_foreach_index(tile, x, y) \
+ for (x = 0; x < G_N_ELEMENTS(tile->children); x++) \
+ for (y = 0; y < G_N_ELEMENTS(tile->children[x]); y++)
+
+/* Path to string table, keep in sync with tile->children */