aboutsummaryrefslogtreecommitdiff
path: root/hack/def.gold.h
diff options
context:
space:
mode:
Diffstat (limited to 'hack/def.gold.h')
-rw-r--r--hack/def.gold.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/hack/def.gold.h b/hack/def.gold.h
new file mode 100644
index 0000000..c279a45
--- /dev/null
+++ b/hack/def.gold.h
@@ -0,0 +1,12 @@
+/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
+/* def.gold.h - version 1.0.2 */
+/* $DragonFly: src/games/hack/def.gold.h,v 1.2 2006/08/21 19:45:32 pavalos Exp $ */
+
+struct gold {
+ struct gold *ngold;
+ xchar gx,gy;
+ long amount;
+};
+
+extern struct gold *fgold;
+#define newgold() alloc(sizeof(struct gold))