Merge branch 'vendor/BZIP'
[games.git] / games / hack / def.mkroom.h
CommitLineData
984263bc
MD
1/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2/* def.mkroom.h - version 1.0.3 */
3
4struct mkroom {
6693db17
SW
5 schar lx, hx, ly, hy; /* usually xchar, but hx may be -1 */
6 schar rtype, rlit, doorct, fdoor;
984263bc
MD
7};
8
9#define MAXNROFROOMS 15
6693db17 10extern struct mkroom rooms[MAXNROFROOMS + 1];
984263bc
MD
11
12#define DOORMAX 100
13extern 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