pc-hack

PC HACK 3.61 source code (archival)
git clone http://frotz.net/git/pc-hack.git
Log | Files | Refs

mkroom.h (637B)


      1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
      2 /* 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