NetBSD/games/hack/def.gold.h

17 lines
364 B
C
Raw Normal View History

1997-10-19 20:56:41 +04:00
/* $NetBSD: def.gold.h,v 1.4 1997/10/19 16:57:03 christos Exp $ */
1993-08-02 21:16:36 +04:00
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*/
1997-10-19 20:56:41 +04:00
#ifndef _DEF_GOLD_H_
#define _DEF_GOLD_H_
1993-03-21 12:45:37 +03:00
struct gold {
struct gold *ngold;
xchar gx,gy;
long amount;
};
#define newgold() (struct gold *) alloc(sizeof(struct gold))
1997-10-19 20:56:41 +04:00
extern struct gold *fgold;
#endif /* _DEF_GOLD_H_ */