X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Fmap.c;h=0dbb79f38931333092fa91274610d77dabed7945;hp=7edc1ce64cc951d7b3ab909486bfb21c11e79a96;hb=b87064909e6d20e1ee2995adae0c1ce5cb692d7e;hpb=7d7d6ae0531a85361ce0d8b997d988b653282847 diff --git a/src/plugins/map.c b/src/plugins/map.c index 7edc1ce..0dbb79f 100644 --- a/src/plugins/map.c +++ b/src/plugins/map.c @@ -16,6 +16,7 @@ */ #include +#include #include #include @@ -27,7 +28,7 @@ #define TILE_WIDTH 1024 #define TILE_HEIGHT 512 -const guchar colormap[][2][4] = { +static const guchar colormap[][2][4] = { {{0x73, 0x91, 0xad}, {0x73, 0x91, 0xad, 0x20}}, // Oceans {{0xf6, 0xee, 0xee}, {0xf6, 0xee, 0xee, 0x00}}, // Ground {{0xff, 0xff, 0xff}, {0xff, 0xff, 0xff, 0xff}}, // Borders @@ -40,7 +41,6 @@ struct _LoadTileData { GisTile *tile; GdkPixbuf *pixbuf; }; -#include static gboolean _load_tile_cb(gpointer _data) { struct _LoadTileData *data = _data;