cflags.h

dyrt/include/cflags.h · 577 B

From the archive dyrt_19.tar.gz

Download the archive   « Back to the archive contents

#ifndef __CFLAGS_H__ 
#define __CFLAGS_H__ 


#define		IN_ROOM 0	/* In room <room> */
#define		IN_CONTAINER	1	/* In container <object> */
#define 	CARRIED_BY	2	/* Carried by <player or mobile> */
#define		WORN_BY	3	/* Worn by <player or mobile> */
#define		WIELDED_BY	4	/* Wielded by <player or mobile> */
#define		BOTH_BY	5	/* Both worn and wielded */
                                        /* by <player or mobile> */
#define iswielded(O)	(ocarrf(O) >= WIELDED_BY)
#define isworn(O)	(ocarrf(O) == WORN_BY || ocarrf(O) == BOTH_BY)

#endif /* Add nothing past this line... */

Site Stats

Snippets: 1791
Codebases: 571