Source:NetHack 3.4.3/include/monsym.h

From NetHackWiki
Jump to navigation Jump to 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.

/*	SCCS Id: @(#)monsym.h	3.4	1992/10/18	*/
/*	Monster symbols and creation information rev 1.0	  */
/* 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.

#ifndef MONSYM_H
#define MONSYM_H

/*
* Monster classes.  Below, are the corresponding default characters for
* them.  Monster class 0 is not used or defined so we can use it as a
* NULL character.
*/
#define S_ANT		1
#define S_BLOB		2
#define S_COCKATRICE	3
#define S_DOG		4
#define S_EYE		5
#define S_FELINE	6
#define S_GREMLIN	7
#define S_HUMANOID	8
#define S_IMP		9
#define S_JELLY		10
#define S_KOBOLD	11
#define S_LEPRECHAUN	12
#define S_MIMIC		13
#define S_NYMPH		14
#define S_ORC		15
#define S_PIERCER	16
#define S_QUADRUPED	17
#define S_RODENT	18
#define S_SPIDER	19
#define S_TRAPPER	20
#define S_UNICORN	21
#define S_VORTEX	22
#define S_WORM		23
#define S_XAN		24
#define S_LIGHT		25
#define S_ZRUTY		26
#define S_ANGEL		27
#define S_BAT		28
#define S_CENTAUR	29
#define S_DRAGON	30
#define S_ELEMENTAL	31
#define S_FUNGUS	32
#define S_GNOME		33
#define S_GIANT		34
#define S_JABBERWOCK	36
#define S_KOP		37
#define S_LICH		38
#define S_MUMMY		39
#define S_NAGA		40
#define S_OGRE		41
#define S_PUDDING	42
#define S_QUANTMECH	43
#define S_RUSTMONST	44
#define S_SNAKE		45
#define S_TROLL		46
#define S_UMBER		47
#define S_VAMPIRE	48
#define S_WRAITH	49
#define S_XORN		50
#define S_YETI		51
#define S_ZOMBIE	52
#define S_HUMAN		53
#define S_GHOST		54
#define S_GOLEM		55
#define S_DEMON		56
#define S_EEL		57
#define S_LIZARD	58

#define S_WORM_TAIL	59
#define S_MIMIC_DEF	60

#define MAXMCLASSES 61	/* number of monster classes */

#if 0	/* moved to decl.h so that makedefs.c won't see them */
extern const char def_monsyms[MAXMCLASSES];	/* default class symbols */
extern uchar monsyms[MAXMCLASSES];		/* current class symbols */
#endif

/*
* Default characters for monsters.  These correspond to the monster classes
* above.
*/
#define DEF_ANT		'a'
#define DEF_BLOB	'b'
#define DEF_COCKATRICE	'c'
#define DEF_DOG		'd'
#define DEF_EYE		'e'
#define DEF_FELINE	'f'
#define DEF_GREMLIN	'g'
#define DEF_HUMANOID	'h'
#define DEF_IMP		'i'
#define DEF_JELLY	'j'
#define DEF_KOBOLD	'k'
#define DEF_LEPRECHAUN	'l'
#define DEF_MIMIC	'm'
#define DEF_NYMPH	'n'
#define DEF_ORC		'o'
#define DEF_PIERCER	'p'
#define DEF_QUADRUPED	'q'
#define DEF_RODENT	'r'
#define DEF_SPIDER	's'
#define DEF_TRAPPER	't'
#define DEF_UNICORN	'u'
#define DEF_VORTEX	'v'
#define DEF_WORM	'w'
#define DEF_XAN		'x'
#define DEF_LIGHT	'y'
#define DEF_ZRUTY	'z'
#define DEF_ANGEL	'A'
#define DEF_BAT		'B'
#define DEF_CENTAUR	'C'
#define DEF_DRAGON	'D'
#define DEF_ELEMENTAL	'E'
#define DEF_FUNGUS	'F'
#define DEF_GNOME	'G'
#define DEF_GIANT	'H'
#define DEF_JABBERWOCK	'J'
#define DEF_KOP		'K'
#define DEF_LICH	'L'
#define DEF_MUMMY	'M'
#define DEF_NAGA	'N'
#define DEF_OGRE	'O'
#define DEF_PUDDING	'P'
#define DEF_QUANTMECH	'Q'
#define DEF_RUSTMONST	'R'
#define DEF_SNAKE	'S'
#define DEF_TROLL	'T'
#define DEF_UMBER	'U'
#define DEF_VAMPIRE	'V'
#define DEF_WRAITH	'W'
#define DEF_XORN	'X'
#define DEF_YETI	'Y'
#define DEF_ZOMBIE	'Z'
#define DEF_HUMAN	'@'
#define DEF_GHOST	' '
#define DEF_GOLEM	'\''
#define DEF_DEMON	'&'
#define DEF_EEL		';'
#define DEF_LIZARD	':'

#define DEF_INVISIBLE	'I'
#define DEF_WORM_TAIL	'~'
#define DEF_MIMIC_DEF	']'

#endif /* MONSYM_H */