OSDN Git Service

upgrade to 3.6.2
[jnethack/source.git] / include / monsym.h
1 /* NetHack 3.6  monsym.h        $NHDT-Date: 1547428769 2019/01/14 01:19:29 $  $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.12 $ */
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, /* a */
16     S_BLOB       =  2, /* b */
17     S_COCKATRICE =  3, /* c */
18     S_DOG        =  4, /* d */
19     S_EYE        =  5, /* e */
20     S_FELINE     =  6, /* f: cats */
21     S_GREMLIN    =  7, /* g */
22     S_HUMANOID   =  8, /* h: small humanoids: hobbit, dwarf */
23     S_IMP        =  9, /* i: minor demons */
24     S_JELLY      = 10, /* j */
25     S_KOBOLD     = 11, /* k */
26     S_LEPRECHAUN = 12, /* l */
27     S_MIMIC      = 13, /* m */
28     S_NYMPH      = 14, /* n */
29     S_ORC        = 15, /* o */
30     S_PIERCER    = 16, /* p */
31     S_QUADRUPED  = 17, /* q: excludes horses */
32     S_RODENT     = 18, /* r */
33     S_SPIDER     = 19, /* s */
34     S_TRAPPER    = 20, /* t */
35     S_UNICORN    = 21, /* u: includes horses */
36     S_VORTEX     = 22, /* v */
37     S_WORM       = 23, /* w */
38     S_XAN        = 24, /* x */
39     S_LIGHT      = 25, /* y: yellow light, black light */
40     S_ZRUTY      = 26, /* z */
41     S_ANGEL      = 27, /* A */
42     S_BAT        = 28, /* B */
43     S_CENTAUR    = 29, /* C */
44     S_DRAGON     = 30, /* D */
45     S_ELEMENTAL  = 31, /* E: includes invisible stalker */
46     S_FUNGUS     = 32, /* F */
47     S_GNOME      = 33, /* G */
48     S_GIANT      = 34, /* H: large humanoid: giant, ettin, minotaur */
49     S_invisible  = 35, /* I: non-class present in def_monsyms[] */
50     S_JABBERWOCK = 36, /* J */
51     S_KOP        = 37, /* K */
52     S_LICH       = 38, /* L */
53     S_MUMMY      = 39, /* M */
54     S_NAGA       = 40, /* N */
55     S_OGRE       = 41, /* O */
56     S_PUDDING    = 42, /* P */
57     S_QUANTMECH  = 43, /* Q */
58     S_RUSTMONST  = 44, /* R */
59     S_SNAKE      = 45, /* S */
60     S_TROLL      = 46, /* T */
61     S_UMBER      = 47, /* U: umber hulk */
62     S_VAMPIRE    = 48, /* V */
63     S_WRAITH     = 49, /* W */
64     S_XORN       = 50, /* X */
65     S_YETI       = 51, /* Y: includes owlbear, monkey */
66     S_ZOMBIE     = 52, /* Z */
67     S_HUMAN      = 53, /* @ */
68     S_GHOST      = 54, /* <space> */
69     S_GOLEM      = 55, /* ' */
70     S_DEMON      = 56, /* & */
71     S_EEL        = 57, /* ; (fish) */
72     S_LIZARD     = 58, /* : (reptiles) */
73
74     S_WORM_TAIL  = 59, /* ~ */
75     S_MIMIC_DEF  = 60, /* ] */
76
77     MAXMCLASSES  = 61  /* 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 */