diff options
Diffstat (limited to 'games/hack/def.gen.h')
-rw-r--r-- | games/hack/def.gen.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games/hack/def.gen.h b/games/hack/def.gen.h new file mode 100644 index 0000000..f1e44fc --- /dev/null +++ b/games/hack/def.gen.h @@ -0,0 +1,15 @@ +/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ +/* def.gen.h version 1.0.1: added ONCE flag */ + +struct gen { + struct gen *ngen; + xchar gx,gy; + unsigned gflag; /* 037: trap type; 040: SEEN flag */ + /* 0100: ONCE only */ +#define TRAPTYPE 037 +#define SEEN 040 +#define ONCE 0100 +}; +extern struct gen *fgold, *ftrap; +struct gen *g_at(); +#define newgen() (struct gen *) alloc(sizeof(struct gen)) |