projects
/
dungeon1
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
011b80c99948f3b970a4deffe58c3f166c69e305
[dungeon1]
/
main.h
1
#include <stdio.h>
2
#include <unistd.h>
3
#include <string.h>
4
#include <stdlib.h>
5
#include <ncurses.h>
6
7
#define MAPDIR "maps"
8
9
enum {
10
H = 24,
11
W = 80,
12
T = 1,
13
};
14
15
struct map {
16
char *name;
17
char map[24][80];
18
};
19
20
struct map *readmap(char *);
21
void showmap(struct map*);
22