#include <ncurses.h>
#define MAPDIR "maps"
+#define BLANKCHAR ' '
+#define WALLCHARS "#-|.'+"
enum {
H = 24,
W = 80,
T = 1,
+ SEEDIST = 4,
+ MAPH = 24,
+ MAPW = 80,
+ BORDER = 1,
};
+WINDOW *w_map, *w_mapborder;
+WINDOW *w_hud, *w_pos, *w_info, *w_gold;
+WINDOW *w_title;
+
struct map {
char *name;
char map[24][80];
};
struct map *readmap(char *);
-void showmap(struct map*);
+struct map *getblackmap(void);
+void freemap(struct map *);
+void showmap(struct map *);
+void findchar(struct map *, char, int *, int *);
+void see(struct map *, int, int);