#ifndef CAVEGEN_H_ #define CAVEGEN_H_ #include #define HEIGHT 100 #define WIDTH 180 enum tile_type { WALL, GROUND, UP_STAIR, DOWN_STAIR, }; struct point { int x; int y; }; struct map { enum tile_type *map; struct point entry_point; int width; int height; }; void create_cave(struct map *map); #endif // CAVEGEN_H_