Angband
mon-msg.h
Go to the documentation of this file.
1 
19 #ifndef MONSTER_MESSAGE_H
20 #define MONSTER_MESSAGE_H
21 
22 #include "monster.h"
23 
28  #define MON_MSG(x, t, o, s) MON_MSG_##x,
29  #include "list-mon-message.h"
30  #undef MON_MSG
31 };
32 
33 void message_pain(struct monster *m, int dam);
34 bool add_monster_message(struct monster *m, int msg_code, bool delay);
35 void show_monster_messages(void);
36 
37 #endif /* MONSTER_MESSAGE_H */
Monster information, for a specific monster.
Definition: monster.h:324
int delay
Definition: mon-msg.c:47
mon_messages
Monster message constants.
Definition: mon-msg.h:27
void message_pain(struct monster *m, int dam)
Adds to the message queue a message describing a monster's reaction to damage.
Definition: mon-msg.c:91
Flags, structures and variables for monsters.
void show_monster_messages(void)
Show and then cler all stacked monster messages.
Definition: mon-msg.c:409
List of monster message types.
int msg_code
Definition: mon-msg.c:45
bool add_monster_message(struct monster *m, int msg_code, bool delay)
Stack a codified message for the given monster race.
Definition: mon-msg.c:205