]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hack/def.mkroom.h
remove the attributions from my slogans. they kept popping up in
[bsdgames-darwin.git] / hack / def.mkroom.h
1 /* $NetBSD: def.mkroom.h,v 1.4 1997/10/19 16:57:05 christos Exp $ */
2
3 /*
4 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
5 */
6 #ifndef _DEF_MKROOM_H_
7 #define _DEF_MKROOM_H_
8 struct mkroom {
9 schar lx,hx,ly,hy; /* usually xchar, but hx may be -1 */
10 schar rtype,rlit,doorct,fdoor;
11 };
12
13 #define MAXNROFROOMS 15
14 extern struct mkroom rooms[MAXNROFROOMS+1];
15
16 #define DOORMAX 100
17 extern coord doors[DOORMAX];
18
19 /* various values of rtype */
20 /* 0: ordinary room; 8-15: various shops */
21 /* Note: some code assumes that >= 8 means shop, so be careful when adding
22 new roomtypes */
23 #define SWAMP 3
24 #define VAULT 4
25 #define BEEHIVE 5
26 #define MORGUE 6
27 #define ZOO 7
28 #define SHOPBASE 8
29 #define WANDSHOP 9
30 #define GENERAL 15
31 #endif /* _DEF_MKROOM_H_ */