mkroom
extern struct mkroom rooms[MAXNROFROOMS+1];
struct mkroom rooms[MAXNROFROOMS+1];
struct mkroom *croom = &rooms[0];
void mktrap(int, int, struct mkroom *);
struct mkroom *croom, *troom;
qsort((char *) rooms, nroom, sizeof(struct mkroom), comp);
if(((struct mkroom *)x)->lx < ((struct mkroom *)y)->lx)
return(((struct mkroom *)x)->lx > ((struct mkroom *)y)->lx);
dodoor(int x, int y, struct mkroom *aroom)
dosdoor(int x, int y, struct mkroom *aroom, int type)
struct mkroom *broom;
struct mkroom *croom;
struct mkroom *croom, *troom;
struct mkroom *aroom;
mktrap(int num, int mazeflag, struct mkroom *croom)
static void dodoor(int, int, struct mkroom *);
static void dosdoor(int, int, struct mkroom *, int);
mktrap(0,1,(struct mkroom *) 0);
struct mkroom *sroom;
struct mkroom *sroom;
has_dnstairs(struct mkroom *sroom)
has_upstairs(struct mkroom *sroom)
isbig(struct mkroom *sroom)
static int has_dnstairs(struct mkroom *);
static int has_upstairs(struct mkroom *);
static int isbig(struct mkroom *);
struct mkroom *sroom;
struct mkroom *croom;