diff options
author | quou <quou@disroot.org> | 2024-10-11 21:43:36 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-10-11 21:43:36 +1100 |
commit | 24b72170d34cee515398f206f087bfeafc7b6b55 (patch) | |
tree | 24c2bc3d7e1c0bdac9de38dae3c5d2de7e669f25 /map.h | |
parent | 9add408984464bd6b3cc018bb14c3d69ad0a2898 (diff) |
game is pretty much done kek
Diffstat (limited to 'map.h')
-rw-r--r-- | map.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |