aboutsummaryrefslogtreecommitdiff
path: root/cavegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cavegen.h')
-rw-r--r--cavegen.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/cavegen.h b/cavegen.h
new file mode 100644
index 0000000..829c7a6
--- /dev/null
+++ b/cavegen.h
@@ -0,0 +1,18 @@
+#ifndef CAVEGEN_H_
+#define CAVEGEN_H_
+
+#include <stdbool.h>
+
+#define HEIGHT 100
+#define WIDTH 180
+#define MAX_STEPS 200
+#define NUM_WALKERS 100
+
+struct point {
+ int x;
+ int y;
+};
+
+void create_cave(bool **map, struct point **open, int *open_tiles);
+
+#endif // CAVEGEN_H_