aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-10-11 21:43:36 +1100
committerquou <quou@disroot.org>2024-10-11 21:43:36 +1100
commit24b72170d34cee515398f206f087bfeafc7b6b55 (patch)
tree24c2bc3d7e1c0bdac9de38dae3c5d2de7e669f25 /map.h
parent9add408984464bd6b3cc018bb14c3d69ad0a2898 (diff)
game is pretty much done kek
Diffstat (limited to 'map.h')
-rw-r--r--map.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/map.h b/map.h
index 62263f5..b79151f 100644
--- a/map.h
+++ b/map.h
@@ -43,7 +43,9 @@ struct World;
x(tile_trapdoor1, 64, 48) \
x(tile_trapdoor2, 80, 48) \
x(tile_trapdoor3, 96, 48) \
- x(tile_trapdoor4, 112, 48)
+ x(tile_trapdoor4, 112, 48) \
+ x(tile_gate, 128, 48) \
+ x(tile_brick_dark, 144, 48)
typedef enum {
#define x(n, x, y) \
@@ -63,7 +65,10 @@ typedef struct Map {
*/
} Map;
-void generate_floor(Map* m, struct World* w);
+void generate_floor(Map* m, struct World* w, int fi);
+void generate_intro(Map* m, struct World* w);
+void generate_outro(Map* m, struct World* w);
void render_map(const Map* m, struct Renderer* r);
+int room_count(void);
#endif