reorganizing tileset handling
[vrlugburz] / src / tileset.h
1 #ifndef TILESET_H_
2 #define TILESET_H_
3
4 #include "scenefile.h"
5
6 struct tile;
7
8 struct tileset {
9         const char *name;
10
11         struct scenefile scn;   /* scene file containing tile geometry */
12         struct tile *tiles;
13 };
14
15 int load_tileset(struct tileset *tset, const char *fname);
16 void destroy_tileset(struct tileset *tset);
17
18 struct tileset *get_tileset(const char *name);
19
20 #endif  /* TILESET_H_ */