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

##### Macros

    newseg            X

##### struct's

    wseg              X

       1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
       2: /* def.wseg.h - version 1.0.2 */
       3:
       4: #ifndef NOWORM
       5: /* worm structure */
       6: struct wseg {
       7:     struct wseg *nseg;
       8:     xchar wx,wy;
       9:     unsigned wdispl:1;
      10: };
      11:
      12: #define newseg()    (struct wseg *) alloc(sizeof(struct wseg))
      13: #endif NOWORM

#### Defined struct's

wseg defined in line 6; used 42 times

- in line 7(2)
- in /usr/src/games/hack/hack.invent.c line 14(2), 168(2), 176(2)
- in /usr/src/games/hack/hack.lev.c line 18(2), 29(2), 65(2), 160(2), 247(2)
- in /usr/src/games/hack/hack.pri.c line 288(2)
- in /usr/src/games/hack/hack.worm.c line 8-9(4), 23(2), 35(2), 63(2), 75(2), 87(2), 94(2), 103(2), 115(2), 178(2)

#### Defined macros

newseg defined in line 12; used 4 times

- in /usr/src/games/hack/hack.lev.c line 245-249(2)
- in /usr/src/games/hack/hack.worm.c line 26, 37

#### Usage of this include

def.wseg.h used 4 times

- in /usr/src/games/hack/hack.invent.c line 13
- in /usr/src/games/hack/hack.lev.c line 17
- in /usr/src/games/hack/hack.pri.c line 287
- in /usr/src/games/hack/hack.worm.c line 6

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