Source:NetHack 3.2.0/monsym.h

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

Warning! This is the source code from an old release. For the latest release, see Source code

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