Below is the full text to def.gen.h from the source code of Hack 1.0. To link to a particular line, write [[Hack 1.0/def.gen.h#line123]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

Screenshots and source code from Hack are used under the CWI license.
1.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
3.    struct gen {
4.    	struct gen *ngen;
5.    	xchar gx,gy;
6.    	unsigned gflag;		/* 037: trap type; 040: SEEN flag */
7.    #define	SEEN	040
8.    };
9.    extern struct gen *fgold, *ftrap;
10.   struct gen *g_at();
11.   #define newgen()	(struct gen *) alloc(sizeof(struct gen))

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.