aboutsummaryrefslogtreecommitdiff
path: root/cavegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cavegen.h')
-rw-r--r--cavegen.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/cavegen.h b/cavegen.h
index 450f905..05d2fd2 100644
--- a/cavegen.h
+++ b/cavegen.h
@@ -18,9 +18,14 @@ struct point {
int y;
};
-void create_cave(
- enum tile_type **map, struct point **open, int *open_tiles,
- struct point *up, struct point *down
-);
+struct map {
+ enum tile_type *map;
+ struct point entry_point;
+
+ int width;
+ int height;
+};
+
+void create_cave(struct map *map);
#endif // CAVEGEN_H_