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

##### Macros

    CMNUM             X
    PM_ACID_BLOB      X
    PM_CHAMELEON      X
    PM_DEMON          X
    PM_EEL            X
    PM_GHOST          X
    PM_KILLER_BEE     X
    PM_MIMIC          X
    PM_MINOTAUR       X
    PM_PIERCER        X
    PM_SHK            X
    PM_VAMPIRE        X
    PM_WIZARD         X
    PM_WRAITH         X
    PM_ZOMBIE         X

##### struct's

    permonst          X

       1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
       2: /* def.permonst.h - version 1.0.2 */
       3:
       4: struct permonst {
       5:     char *mname,mlet;
       6:     schar mlevel,mmove,ac,damn,damd;
       7:     unsigned pxlth;
       8: };
       9:
      10: extern struct permonst mons[];
      11: #define PM_ACID_BLOB    &mons[7]
      12: #define PM_ZOMBIE   &mons[13]
      13: #define PM_PIERCER  &mons[17]
      14: #define PM_KILLER_BEE   &mons[26]
      15: #define PM_WRAITH   &mons[33]
      16: #define PM_MIMIC    &mons[37]
      17: #define PM_VAMPIRE  &mons[43]
      18: #define PM_CHAMELEON    &mons[47]
      19: #define PM_DEMON    &mons[54]
      20: #define PM_MINOTAUR &mons[55]   /* last in mons array */
      21: #define PM_SHK      &mons[56]   /* very last */
      22: #define PM_GHOST    &pm_ghost
      23: #define PM_EEL      &pm_eel
      24: #define PM_WIZARD   &pm_wizard
      25: #define CMNUM       55      /* number of common monsters */

#### Defined struct's

permonst defined in line 4; used 92 times

- in line 10(2)
- in /usr/src/games/hack/hack.bones.c line 8(2)
- in /usr/src/games/hack/hack.dog.c line 10-14(6), 111(2)
- in /usr/src/games/hack/hack.fight.c line 5(2), 14(2), 71(2), 255(2)
- in /usr/src/games/hack/hack.lev.c line 109(2)
- in /usr/src/games/hack/hack.main.c line 223-225(4), 308(2)
- in /usr/src/games/hack/hack.makemon.c line 20(2), 192(2)
- in /usr/src/games/hack/hack.mhitu.c line 14(2)
- in /usr/src/games/hack/hack.mklev.c line 86(2)
- in /usr/src/games/hack/hack.mkmaze.c line 7-10(4), 75(2)
- in /usr/src/games/hack/hack.mkshop.c line 144(2), 171(2), 195-198(4), 210(2)
- in /usr/src/games/hack/hack.mon.c line 162(2), 666(2), 789(2)
- in /usr/src/games/hack/hack.monst.c line 8(2), 72-79(8)
- in /usr/src/games/hack/hack.potion.c line 375(2)
- in /usr/src/games/hack/hack.read.c line 149(2), 524-525(4)
- in /usr/src/games/hack/hack.save.c line 208(2), 227(2)
- in /usr/src/games/hack/hack.shk.c line 784(2)
- in /usr/src/games/hack/hack.unix.c line 329(2)
- in /usr/src/games/hack/hack.vault.c line 29(2)
- in /usr/src/games/hack/hack.wizard.c line 7(2), 134(2)
- in /usr/src/games/hack/hack.zap.c line 160(2)

#### Defined macros

CMNUM defined in line 25; used 12 times

- in /usr/src/games/hack/hack.h line 130
- in /usr/src/games/hack/hack.main.c line 223-228(2)
- in /usr/src/games/hack/hack.makemon.c line 30, 37, 82, 194
- in /usr/src/games/hack/hack.mon.c line 166, 684
- in /usr/src/games/hack/hack.monst.c line 8
- in /usr/src/games/hack/hack.read.c line 535
- in /usr/src/games/hack/hack.zap.c line 49

PM_ACID_BLOB defined in line 11; used 1 times

- in /usr/src/games/hack/hack.read.c line 148

PM_CHAMELEON defined in line 18; used 2 times

- in /usr/src/games/hack/hack.mon.c line 669, 782

PM_DEMON defined in line 19; used 2 times

- in /usr/src/games/hack/hack.mhitu.c line 76
- in /usr/src/games/hack/hack.mkshop.c line 201

PM_EEL defined in line 23; used 1 times

- in /usr/src/games/hack/hack.mkshop.c line 227

PM_GHOST defined in line 22; used 3 times

- in /usr/src/games/hack/hack.bones.c line 42
- in /usr/src/games/hack/hack.mkshop.c line 203
- in /usr/src/games/hack/hack.potion.c line 378

PM_KILLER_BEE defined in line 14; used 1 times

- in /usr/src/games/hack/hack.mkshop.c line 171

PM_MIMIC defined in line 16; used 2 times

- in /usr/src/games/hack/hack.mklev.c line 711
- in /usr/src/games/hack/hack.mkshop.c line 126

PM_MINOTAUR defined in line 20; used 1 times

- in /usr/src/games/hack/hack.mkmaze.c line 72

PM_PIERCER defined in line 13; used 3 times

- in /usr/src/games/hack/hack.search.c line 34, 88
- in /usr/src/games/hack/hack.trap.c line 63

PM_SHK defined in line 21; used 1 times

- in /usr/src/games/hack/hack.mkshop.c line 103

PM_VAMPIRE defined in line 17; used 1 times

- in /usr/src/games/hack/hack.mkshop.c line 202

PM_WIZARD defined in line 24; used 2 times

- in /usr/src/games/hack/hack.mkmaze.c line 39
- in /usr/src/games/hack/hack.wizard.c line 183

PM_WRAITH defined in line 15; used 1 times

- in /usr/src/games/hack/hack.mkshop.c line 203

PM_ZOMBIE defined in line 12; used 1 times

- in /usr/src/games/hack/hack.mkshop.c line 203

#### Usage of this include

def.permonst.h used 1 times

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

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