aboutsummaryrefslogtreecommitdiff
path: root/cavegen.h
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-02-11 23:52:18 -0600
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-02-11 23:52:18 -0600
commit53f018de3c6db90ed120e9993c656e23836874ae (patch)
treec15ae974a6dd66895f54d5d8f46ff4f255056684 /cavegen.h
parent063f4f854b1274d306c75f5737cccccfc51d8b52 (diff)
functioning mvp
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_