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