Angband
mon-desc.h
Go to the documentation of this file.
1 
19 #ifndef MONSTER_DESC_H
20 #define MONSTER_DESC_H
21 
22 #include "monster.h"
23 
27 #define MDESC_DEFAULT 0x00 /* "it" or "the kobold" */
28 #define MDESC_OBJE 0x01 /* Objective (or Reflexive) */
29 #define MDESC_POSS 0x02 /* Possessive (or Reflexive) */
30 #define MDESC_IND_HID 0x04 /* Indefinites for hidden monsters */
31 #define MDESC_IND_VIS 0x08 /* Indefinites for visible monsters */
32 #define MDESC_PRO_HID 0x10 /* Pronominalize hidden monsters */
33 #define MDESC_PRO_VIS 0x20 /* Pronominalize visible monsters */
34 #define MDESC_HIDE 0x40 /* Assume the monster is hidden */
35 #define MDESC_SHOW 0x80 /* Assume the monster is visible */
36 #define MDESC_CAPITAL 0x100 /* Capitalise */
37 
38 /* "someone", "something", or "the kobold" at the start of a message */
39 #define MDESC_STANDARD (MDESC_CAPITAL | MDESC_IND_HID | MDESC_PRO_HID)
40 
41  /* Reveal the full, indefinite name of a monster */
42 #define MDESC_DIED_FROM (MDESC_SHOW | MDESC_IND_VIS)
43 
44 void plural_aux(char *name, size_t max);
45 void get_mon_name(char *output_name, size_t max, const monster_race *r_ptr,
46  int num);
47 void monster_desc(char *desc, size_t max, const monster_type *m_ptr, int mode);
48 
49 #endif /* MONSTER_DESC_H */