drm/linux: Add clamp_val()
[dragonfly.git] / games / hack / def.gold.h
blobc279a459916aa0972b97673d03247f17d00e12e1
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* def.gold.h - version 1.0.2 */
3 /* $DragonFly: src/games/hack/def.gold.h,v 1.2 2006/08/21 19:45:32 pavalos Exp $ */
5 struct gold {
6 struct gold *ngold;
7 xchar gx,gy;
8 long amount;
9 };
11 extern struct gold *fgold;
12 #define newgold() alloc(sizeof(struct gold))