1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* def.trap.h - version 1.0.2 */
3 /* $DragonFly: src/games/hack/def.trap.h,v 1.2 2006/08/21 19:45:32 pavalos Exp $ */
13 extern struct trap
*ftrap
;
14 #define newtrap() alloc(sizeof(struct trap))
16 /* various kinds of traps */
23 #define SLP_GAS_TRAP 6
25 #define MIMIC 8 /* used only in mklev.c */
26 #define TRAPNUM 9 /* if not less than 32, change sizeof(ttyp) */
27 /* see also mtrapseen (bit map) */