]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hack/def.gen.h
fix typo in Napoleon's name
[bsdgames-darwin.git] / hack / def.gen.h
1 /*
2 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
3 *
4 * $NetBSD: def.gen.h,v 1.3 1995/03/23 08:29:25 cgd Exp $
5 */
6
7 struct gen {
8 struct gen *ngen;
9 xchar gx,gy;
10 unsigned gflag; /* 037: trap type; 040: SEEN flag */
11 /* 0100: ONCE only */
12 #define TRAPTYPE 037
13 #define SEEN 040
14 #define ONCE 0100
15 };
16 extern struct gen *fgold, *ftrap;
17 struct gen *g_at();
18 #define newgen() (struct gen *) alloc(sizeof(struct gen))