blob: 450f9050b59c39c0fd66eae13bad580cbd708ff0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef CAVEGEN_H_
#define CAVEGEN_H_
#include <stdbool.h>
#define HEIGHT 100
#define WIDTH 180
enum tile_type {
WALL,
GROUND,
UP_STAIR,
DOWN_STAIR,
};
struct point {
int x;
int y;
};
void create_cave(
enum tile_type **map, struct point **open, int *open_tiles,
struct point *up, struct point *down
);
#endif // CAVEGEN_H_
|