Source:Pm.h

From NetHackWiki
Revision as of 14:48, 4 March 2008 by Kernigh bot (talk | contribs) (Pm.h moved to Source:Pm.h: Robot: moved page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The contents of pm.h are generated automatically during compile-time by makedefs from the data in monst.c

This file contains all the monster name definitions, eg.

#define PM_LITTLE_DOG   16
#define PM_DOG  17
#define PM_LARGE_DOG    18
#define PM_DINGO        19

This file also defines NUMMONS, which is the number of different monster types.