Angband
list-message.h File Reference

List of message types. More...

Go to the source code of this file.

Detailed Description

List of message types.

Return the sound name for the given message.

Return the MSG_ flag that matches the given sound event name.

Return the MSG_ flag that matches the given string.

sound - the name of the entry in sound.cfg

This does not handle SOUND_MAX.

Parameters
nameis a string that contains the name of a flag or a number.
Returns
The MSG_ flag that matches the given name.
Parameters
nameis the sound name from sound.cfg.
Returns
The MSG_ flag for the corresponding sound.
Parameters
messageis the MSG_ flag to find.
Returns
The sound.cfg sound name.