#include "map.h" int map_size(int w, int h) { return sizeof(Map) + w * h * sizeof(Map_Tile); } Map_Tile* map_tiles(Map* m) { return (Map_Tile*)&m[1]; } const Map_Tile* map_tilesc(const Map* m) { return (Map_Tile*)&m[1]; }