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