home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / games / hack / def.gold.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-02  |  279 b   |  13 lines

  1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  2. /* def.gold.h - version 1.0.2 */
  3.  
  4. struct gold {
  5.     struct gold *ngold;
  6.     xchar gx,gy;
  7.     long amount;
  8. };
  9.  
  10. extern struct gold *fgold;
  11. struct gold *g_at();
  12. #define newgold()    (struct gold *) alloc(sizeof(struct gold))
  13.