# 2.11BSD#431 - /usr/src/games/hack/def.gold.h

##### Macros

    newgold           X

##### struct's

    gold              X

       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))

#### Defined struct's

gold defined in line 4; used 44 times

- in line 5-11(6)
- in /usr/src/games/hack/hack.Decl.c line 19(2)
- in /usr/src/games/hack/hack.c line 337(2)
- in /usr/src/games/hack/hack.invent.c line 142-143(4), 258-262(4), 702(2)
- in /usr/src/games/hack/hack.lev.c line 127-136(8), 157(2), 218-223(4)
- in /usr/src/games/hack/hack.mkobj.c line 135(2)
- in /usr/src/games/hack/hack.mon.c line 353(2), 456(2)
- in /usr/src/games/hack/hack.read.c line 256(2)
- in /usr/src/games/hack/hack.steal.c line 13(2)

#### Defined macros

newgold defined in line 12; used 3 times

- in /usr/src/games/hack/hack.lev.c line 217-222(2)
- in /usr/src/games/hack/hack.mkobj.c line 141

#### Usage of this include

def.gold.h used 1 times

- in /usr/src/games/hack/hack.h line 23

Last modified: 1985-10-01 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 418 |