1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2: /* def.mkroom.h - version 1.0.3 */
3:
4: struct mkroom {
5: schar lx,hx,ly,hy; /* usually xchar, but hx may be -1 */
6: schar rtype,rlit,doorct,fdoor;
7: };
8:
9: #define MAXNROFROOMS 15
10: extern struct mkroom rooms[MAXNROFROOMS+1];
11:
12: #define DOORMAX 100
13: extern coord doors[DOORMAX];
14:
15: /* various values of rtype */
16: /* 0: ordinary room; 8-15: various shops */
17: /* Note: some code assumes that >= 8 means shop, so be careful when adding
18: new roomtypes */
19: #define SWAMP 3
20: #define VAULT 4
21: #define BEEHIVE 5
22: #define MORGUE 6
23: #define ZOO 7
24: #define SHOPBASE 8
25: #define WANDSHOP 9
26: #define GENERAL 15
Defined struct's
mkroom
defined in line
4; used 44 times
- in line 10(2)
- in /usr/src/games/hack/hack.Decl.c line
14(2)
- in /usr/src/games/hack/hack.dog.c line
369(2)
- in /usr/src/games/hack/hack.mklev.c line
17(2),
38(2),
105(2),
278(2),
326(2),
339-342(4),
365(2),
467(2),
616(2),
664(2)
- in /usr/src/games/hack/hack.mkmaze.c line
82(2)
- in /usr/src/games/hack/hack.mkshop.c line
16(2),
139(2),
208(2),
247(2),
254(2),
261(2)
- in /usr/src/games/hack/hack.trap.c line
267(2)
Defined macros
SWAMP
defined in line
19; used 2 times
VAULT
defined in line
20; used 4 times
ZOO
defined in line
23; used 4 times
Usage of this include