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

Defined macros

DOORMAX defined in line 12; used 7 times
GENERAL defined in line 26; used 2 times
MAXNROFROOMS defined in line 9; used 11 times
SHOPBASE defined in line 24; used 3 times
SWAMP defined in line 19; used 2 times
WANDSHOP defined in line 25; used 1 times

Usage of this include

Last modified: 1985-10-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 668
Valid CSS Valid XHTML 1.0 Strict