projects
/
dungeon1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes (found out what overlay() means ...)
[dungeon1]
/
main.h
diff --git
a/main.h
b/main.h
index
b5e7959
..
e513f97
100644
(file)
--- a/
main.h
+++ b/
main.h
@@
-5,15
+5,23
@@
#include <ncurses.h>
#define MAPDIR "maps"
#include <ncurses.h>
#define MAPDIR "maps"
-#define BLANKCHAR ':'
+#define BLANKCHAR ' '
+#define WALLCHARS "#-|.'+"
enum {
H = 24,
W = 80,
T = 1,
SEEDIST = 4,
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 {
char *name;
char map[24][80];