aboutsummaryrefslogtreecommitdiff
path: root/cavegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cavegen.h')
-rw-r--r--cavegen.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/cavegen.h b/cavegen.h
index 829c7a6..450f905 100644
--- a/cavegen.h
+++ b/cavegen.h
@@ -3,16 +3,24 @@
#include <stdbool.h>
-#define HEIGHT 100
-#define WIDTH 180
-#define MAX_STEPS 200
-#define NUM_WALKERS 100
+#define HEIGHT 100
+#define WIDTH 180
+
+enum tile_type {
+ WALL,
+ GROUND,
+ UP_STAIR,
+ DOWN_STAIR,
+};
struct point {
int x;
int y;
};
-void create_cave(bool **map, struct point **open, int *open_tiles);
+void create_cave(
+ enum tile_type **map, struct point **open, int *open_tiles,
+ struct point *up, struct point *down
+);
#endif // CAVEGEN_H_