X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=main.h;fp=main.h;h=b5e7959ab2d379589859492331a51e85accfe43a;hb=cccecbe0c0861ecef1cb511378132f9e981056e6;hp=011b80c99948f3b970a4deffe58c3f166c69e305;hpb=36829587f6a6c375aa2912d955f84871a098c254;p=dungeon1 diff --git a/main.h b/main.h index 011b80c..b5e7959 100644 --- a/main.h +++ b/main.h @@ -5,11 +5,13 @@ #include #define MAPDIR "maps" +#define BLANKCHAR ':' enum { H = 24, W = 80, T = 1, + SEEDIST = 4, }; struct map { @@ -18,5 +20,9 @@ struct map { }; 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);