mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
554eb505f8
of the x11 based games. I'm not going to tag the originals with bsd_44_lite and do this in two stages since it's just not worth it for this collection, and I've got directory renames to deal with that way. Bleah. Submitted by: jkh
26 lines
641 B
C
26 lines
641 B
C
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
|
/* def.mkroom.h - version 1.0.3 */
|
|
|
|
struct mkroom {
|
|
schar lx,hx,ly,hy; /* usually xchar, but hx may be -1 */
|
|
schar rtype,rlit,doorct,fdoor;
|
|
};
|
|
|
|
#define MAXNROFROOMS 15
|
|
extern struct mkroom rooms[MAXNROFROOMS+1];
|
|
|
|
#define DOORMAX 100
|
|
extern coord doors[DOORMAX];
|
|
|
|
/* various values of rtype */
|
|
/* 0: ordinary room; 8-15: various shops */
|
|
/* Note: some code assumes that >= 8 means shop, so be careful when adding
|
|
new roomtypes */
|
|
#define SWAMP 3
|
|
#define VAULT 4
|
|
#define BEEHIVE 5
|
|
#define MORGUE 6
|
|
#define ZOO 7
|
|
#define SHOPBASE 8
|
|
#define WANDSHOP 9
|
|
#define GENERAL 15
|