mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
554eb505f8
of the x11 based games. I'm not going to tag the originals with bsd_44_lite and do this in two stages since it's just not worth it for this collection, and I've got directory renames to deal with that way. Bleah. Submitted by: jkh
16 lines
415 B
C
16 lines
415 B
C
/* 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))
|