lflags.h

pdirt/drv/include/lflags.h · 1.9 KB

From the archive pDirt-1_tar.gz

Download the archive   « Back to the archive contents

#ifndef __LFLAGS_H__ 
#define __LFLAGS_H__ 


/*
**	Location flags
*/
#if 0
/* First two bits specify light */
#define LFL_L_SHIFT	0	/* Shift count for light */
#define LFL_LIGHT       00	/* No need for light src here (default) */
#define LFL_DARK	01	/* Always dark */
#define LFL_L_REAL	02	/* Dark in the night but light in the day */
#define LFL_L_MASK      03	/* Mask for light flags */

/* Next two bits are temparature */
#define LFL_T_SHIFT	2	/* Shift count for temparature */
#define LFL_T_ORDINARY	000	/* Normal (default) */
#define LFL_HOT		004	/* Need protection */
#define LFL_COLD	010	/* need protection */
#define LFL_T_REAL	014	/* Changing with day/night and season */
#define LFL_T_MASK	014	/* Mask for termparature flags */

#define LFL_B_START	4	/* The bits start here */
#endif

/* the rest are bits */
#define LFL_LIGHT	0
#define LFL_DARK	1
#define LFL_L_REAL	2

#define LFL_T_ORDINARY	3
#define LFL_HOT		4
#define LFL_COLD	5
#define LFL_T_REAL	6


#define LFL_DEATH	7	/* Mortals get kicked out if they come here */
#define LFL_CANT_SUMMON	8	/* Can't summon people away from this room */
#define LFL_NO_SUMMON	9	/* Can't do summon in this room */
#define LFL_NO_QUIT	10	/* Can't quit in this room */
#define LFL_NO_SNOOP	11
#define LFL_NO_MOBILES	12
#define LFL_NO_MAGIC	13
#define LFL_PEACEFUL	14
#define LFL_SOUNDPROOF	15
#define LFL_ONE_PERSON	16
#define LFL_PARTY	17
#define LFL_PRIVATE	18
#define LFL_ON_WATER	19
#define LFL_IN_WATER	20	/* not implemented */
#define LFL_OUTDOORS	21
#define LFL_T_EXTREME	22	/* HOT in the day, COLD in the night */
#define LFL_NEG_REGEN	23	/* Negative regeneration, eat a lot! */
#define LFL_REALTIME    24
#define LFL_MAZE	25
#define LFL_WIZONLY	26
#define LFL_AWIZONLY	27
#define LFL_DGODONLY	28
#define LFL_GODONLY	29
#define LFL_JAIL	30
#define LFL_AIRLESS	31
#define LFL_RAPIDS      32
#define LFL_DONATION	33

#define LFL_LAST        95
#endif /* Add nothing past this line... */

Site Stats

Snippets: 1791
Codebases: 571