#ifndef RESOURCE_TILESET_H #define RESOURCE_TILESET_H #include #include "resource.h" #include "image.h" struct tileset { struct resource res; int firstgid; char *name; int tilewidth; int tileheight; struct image *image; struct tileset *next; }; struct tileset *tileset_get(const char *path); void XMLCALL xml_tileset_start(void *data, const char *el, const char **attr); void XMLCALL xml_tileset_end(void *data, const char *el); #endif