Home | History | Annotate | Line # | Download | only in hack
def.gold.h revision 1.4
      1  1.4  christos /*	$NetBSD: def.gold.h,v 1.4 1997/10/19 16:57:03 christos Exp $	*/
      2  1.4  christos 
      3  1.2   mycroft /*
      4  1.2   mycroft  * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
      5  1.2   mycroft  */
      6  1.4  christos #ifndef _DEF_GOLD_H_
      7  1.4  christos #define _DEF_GOLD_H_
      8  1.1       cgd struct gold {
      9  1.1       cgd 	struct gold *ngold;
     10  1.1       cgd 	xchar gx,gy;
     11  1.1       cgd 	long amount;
     12  1.1       cgd };
     13  1.1       cgd 
     14  1.4  christos #define newgold()	(struct gold *) alloc(sizeof(struct gold))
     15  1.1       cgd extern struct gold *fgold;
     16  1.4  christos #endif /* _DEF_GOLD_H_ */
     17