NetBSD/games/hack/def.gen.h

19 lines
433 B
C
Raw Normal View History

1993-08-02 21:16:36 +04:00
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*
* $Id: def.gen.h,v 1.2 1993/08/02 17:16:44 mycroft Exp $
*/
1993-03-21 12:45:37 +03:00
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))