1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef MAP_H #define MAP_H #include <SDL_stdinc.h> #include "tileset.h" #include "layer.h" struct map { int width; int height; int tilewidth; int tileheight; struct tileset *tilesets; struct layer *layers; Uint8 *collision; }; #endif