aboutsummaryrefslogtreecommitdiff
path: root/src/cavegen.h
blob: b6ed1e460823d50a21454c3f338d31d4af64a336 (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 "common.h"

#define HEIGHT 100
#define WIDTH  180

enum tile_type {
    WALL,
    GROUND,
    UP_STAIR,
    DOWN_STAIR,
};

struct map {
    enum tile_type *map;
    struct point    entry_point;

    int width;
    int height;
};

void create_cave(struct map *map);

#endif // CAVEGEN_H_