summaryrefslogtreecommitdiff
path: root/games/hack/def.gold.h
blob: 7333bdd5c0549a8c78c0d728f722f6f204174048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
 *
 *	$NetBSD: def.gold.h,v 1.3 1995/03/23 08:29:27 cgd Exp $
 */

struct gold {
	struct gold *ngold;
	xchar gx,gy;
	long amount;
};

extern struct gold *fgold;
struct gold *g_at();
#define newgold()	(struct gold *) alloc(sizeof(struct gold))