Source:NetHack 3.6.0/include/monsym.h

From NetHackWiki
(Redirected from Monsym.h)
Jump to: navigation, search

Below is the full text to monsym.h from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/include/monsym.h#line123]], for example.

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

  1.  /* NetHack 3.6  monsym.h        $NHDT-Date: 1432512780 2015/05/25 00:13:00 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */
  2.  /*      Monster symbols and creation information rev 1.0          */
  3.  /* NetHack may be freely redistributed.  See license for details. */
  4.  
  5.  #ifndef MONSYM_H
  6.  #define MONSYM_H
  7.  
  8.  /*
  9.   * Monster classes.  Below, are the corresponding default characters for
  10.   * them.  Monster class 0 is not used or defined so we can use it as a
  11.   * NULL character.
  12.   */
  13.  /* clang-format off */
  14.  #define S_ANT           1
  15.  #define S_BLOB          2
  16.  #define S_COCKATRICE    3
  17.  #define S_DOG           4
  18.  #define S_EYE           5
  19.  #define S_FELINE        6
  20.  #define S_GREMLIN       7
  21.  #define S_HUMANOID      8
  22.  #define S_IMP           9
  23.  #define S_JELLY         10
  24.  #define S_KOBOLD        11
  25.  #define S_LEPRECHAUN    12
  26.  #define S_MIMIC         13
  27.  #define S_NYMPH         14
  28.  #define S_ORC           15
  29.  #define S_PIERCER       16
  30.  #define S_QUADRUPED     17
  31.  #define S_RODENT        18
  32.  #define S_SPIDER        19
  33.  #define S_TRAPPER       20
  34.  #define S_UNICORN       21
  35.  #define S_VORTEX        22
  36.  #define S_WORM          23
  37.  #define S_XAN           24
  38.  #define S_LIGHT         25
  39.  #define S_ZRUTY         26
  40.  #define S_ANGEL         27
  41.  #define S_BAT           28
  42.  #define S_CENTAUR       29
  43.  #define S_DRAGON        30
  44.  #define S_ELEMENTAL     31
  45.  #define S_FUNGUS        32
  46.  #define S_GNOME         33
  47.  #define S_GIANT         34
  48.  #define S_invisible     35      /* non-class present in def_monsyms[] */
  49.  #define S_JABBERWOCK    36
  50.  #define S_KOP           37
  51.  #define S_LICH          38
  52.  #define S_MUMMY         39
  53.  #define S_NAGA          40
  54.  #define S_OGRE          41
  55.  #define S_PUDDING       42
  56.  #define S_QUANTMECH     43
  57.  #define S_RUSTMONST     44
  58.  #define S_SNAKE         45
  59.  #define S_TROLL         46
  60.  #define S_UMBER         47
  61.  #define S_VAMPIRE       48
  62.  #define S_WRAITH        49
  63.  #define S_XORN          50
  64.  #define S_YETI          51
  65.  #define S_ZOMBIE        52
  66.  #define S_HUMAN         53
  67.  #define S_GHOST         54
  68.  #define S_GOLEM         55
  69.  #define S_DEMON         56
  70.  #define S_EEL           57
  71.  #define S_LIZARD        58
  72.  
  73.  #define S_WORM_TAIL     59
  74.  #define S_MIMIC_DEF     60
  75.  /* clang-format on */
  76.  
  77.  #define MAXMCLASSES 61 /* number of monster classes */
  78.  
  79.  /*
  80.   * Default characters for monsters.  These correspond to the monster classes
  81.   * above.
  82.   */
  83.  /* clang-format off */
  84.  #define DEF_ANT         'a'
  85.  #define DEF_BLOB        'b'
  86.  #define DEF_COCKATRICE  'c'
  87.  #define DEF_DOG         'd'
  88.  #define DEF_EYE         'e'
  89.  #define DEF_FELINE      'f'
  90.  #define DEF_GREMLIN     'g'
  91.  #define DEF_HUMANOID    'h'
  92.  #define DEF_IMP         'i'
  93.  #define DEF_JELLY       'j'
  94.  #define DEF_KOBOLD      'k'
  95.  #define DEF_LEPRECHAUN  'l'
  96.  #define DEF_MIMIC       'm'
  97.  #define DEF_NYMPH       'n'
  98.  #define DEF_ORC         'o'
  99.  #define DEF_PIERCER     'p'
  100.  #define DEF_QUADRUPED   'q'
  101.  #define DEF_RODENT      'r'
  102.  #define DEF_SPIDER      's'
  103.  #define DEF_TRAPPER     't'
  104.  #define DEF_UNICORN     'u'
  105.  #define DEF_VORTEX      'v'
  106.  #define DEF_WORM        'w'
  107.  #define DEF_XAN         'x'
  108.  #define DEF_LIGHT       'y'
  109.  #define DEF_ZRUTY       'z'
  110.  #define DEF_ANGEL       'A'
  111.  #define DEF_BAT         'B'
  112.  #define DEF_CENTAUR     'C'
  113.  #define DEF_DRAGON      'D'
  114.  #define DEF_ELEMENTAL   'E'
  115.  #define DEF_FUNGUS      'F'
  116.  #define DEF_GNOME       'G'
  117.  #define DEF_GIANT       'H'
  118.  #define DEF_JABBERWOCK  'J'
  119.  #define DEF_KOP         'K'
  120.  #define DEF_LICH        'L'
  121.  #define DEF_MUMMY       'M'
  122.  #define DEF_NAGA        'N'
  123.  #define DEF_OGRE        'O'
  124.  #define DEF_PUDDING     'P'
  125.  #define DEF_QUANTMECH   'Q'
  126.  #define DEF_RUSTMONST   'R'
  127.  #define DEF_SNAKE       'S'
  128.  #define DEF_TROLL       'T'
  129.  #define DEF_UMBER       'U'
  130.  #define DEF_VAMPIRE     'V'
  131.  #define DEF_WRAITH      'W'
  132.  #define DEF_XORN        'X'
  133.  #define DEF_YETI        'Y'
  134.  #define DEF_ZOMBIE      'Z'
  135.  #define DEF_HUMAN       '@'
  136.  #define DEF_GHOST       ' '
  137.  #define DEF_GOLEM       '\''
  138.  #define DEF_DEMON       '&'
  139.  #define DEF_EEL         ';'
  140.  #define DEF_LIZARD      ':'
  141.  
  142.  #define DEF_INVISIBLE   'I'
  143.  #define DEF_WORM_TAIL   '~'
  144.  #define DEF_MIMIC_DEF   ']'
  145.  /* clang-format on */
  146.  
  147.  #endif /* MONSYM_H */