kernel - Improve VM fault performance for sequential access
[dragonfly.git] / games / hack / def.gen.h
blob0e6bb69ae54db57c6e01b08e1a8e346afd59afd3
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() alloc(sizeof(struct gen))