X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrlugburz;a=blobdiff_plain;f=src%2Ftileset.h;fp=src%2Ftileset.h;h=82d4ec33dcb419e2a977db19d404fbe93da45c80;hp=0000000000000000000000000000000000000000;hb=7a1a5aa446fcf3d2b0bb26f6f7465e4f3d116e47;hpb=8c3ae60742d38e2dbcd9811b16966933df0a5c29 diff --git a/src/tileset.h b/src/tileset.h new file mode 100644 index 0000000..82d4ec3 --- /dev/null +++ b/src/tileset.h @@ -0,0 +1,20 @@ +#ifndef TILESET_H_ +#define TILESET_H_ + +#include "scenefile.h" + +struct tile; + +struct tileset { + const char *name; + + struct scenefile scn; /* scene file containing tile geometry */ + struct tile *tiles; +}; + +int load_tileset(struct tileset *tset, const char *fname); +void destroy_tileset(struct tileset *tset); + +struct tileset *get_tileset(const char *name); + +#endif /* TILESET_H_ */