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

##### Macros

    ONCE              X
    SEEN              X
    TRAPTYPE          X
    newgen            X

##### struct's

    gen               X

       1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
       2: /* def.gen.h version 1.0.1: added ONCE flag */
       3:
       4: struct gen {
       5:     struct gen *ngen;
       6:     xchar gx,gy;
       7:     unsigned gflag;     /* 037: trap type; 040: SEEN flag */
       8:                 /* 0100: ONCE only */
       9: #define TRAPTYPE    037
      10: #define SEEN    040
      11: #define ONCE    0100
      12: };
      13: extern struct gen *fgold, *ftrap;
      14: struct gen *g_at();
      15: #define newgen()    (struct gen *) alloc(sizeof(struct gen))

#### Defined struct's

gen defined in line 4; used 6 times

- in line 5(2), 13-14(4)

#### Defined macros

ONCE defined in line 11; never used
SEEN defined in line 10; never used
TRAPTYPE defined in line 9; never used
newgen defined in line 15; never used

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