home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume12
/
mdg
/
part05
/
defstruct.h
< prev
next >
Wrap
Text File
|
1991-03-04
|
1KB
|
69 lines
/*
MDG Multiuser Dungeon Game -- master structure include file
MDG is Copyright 1990 John C. Gonnerman
This file is subject to the general MDG
copyright statement (see enclosed file, Copyright).
SCCSID @(#) defstruct.h (1.2) created 1/2/91
*/
/* item type/code values. */
#define POTION '!'
#define SCROLL '?'
#define ARMOR ']'
#define SHIELD '['
#define WEAPON ')'
#define MISSILE '('
#define OBJECT '/'
#define NOTE '"'
#define CASH '$'
#define CRYSTAL '*'
#define HIDDEN '_'
#define INAMELEN 20
#define MAX_PLAYERS 9
#define PNAMELEN 20
#define PMAX_ITEMS 7
#define AL_GOOD 1
#define AL_EVIL 0
#define L_NORTH 0
#define L_SOUTH 1
#define L_EAST 2
#define L_WEST 3
#define L_UP 4
#define L_DOWN 5
#define L_GATE 6
#define L_NEAST 7
#define L_NWEST 8
#define L_SEAST 9
#define L_SWEST 10
/* flags for new vs. old items */
#define ITEM_OLD 0
#define ITEM_NEW 1
/* define pseudo-locations. */
#define LOC_HOME (-1)
#define LOC_PLAYER (-2)
#define LOC_NONESUCH (-3)
#define LOC_TRADER (-4)
#define LOC_PIT (-5)
#define MNAMELEN 20
/* end of file. */