Source:NetHack 3.4.3/include/monsym.h

From NetHackWiki
Jump to: navigation, search

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

  1. /*	SCCS Id: @(#)monsym.h	3.4	1992/10/18	*/
  2. /*	Monster symbols and creation information rev 1.0	  */
  3. /* NetHack may be freely redistributed.  See license for details. */

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