Add missing .Sh LIBRARY.
[dragonfly.git] / games / hack / def.gen.h
blob5eda06fffdb5b17bc5c21d950e3300eb320c05e9
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* def.gen.h version 1.0.1: added ONCE flag */
3 /* $DragonFly: src/games/hack/def.gen.h,v 1.2 2006/08/21 19:45:32 pavalos Exp $ */
5 struct gen {
6 struct gen *ngen;
7 xchar gx,gy;
8 unsigned gflag; /* 037: trap type; 040: SEEN flag */
9 /* 0100: ONCE only */
10 #define TRAPTYPE 037
11 #define SEEN 040
12 #define ONCE 0100
14 extern struct gen *fgold, *ftrap;
15 #define newgen() (struct gen *) alloc(sizeof(struct gen))