diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-04 11:32:42 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-09-04 11:32:42 +0000 |
commit | ebe3faa645862641354b8bddf6c52dccc108a16c (patch) | |
tree | 5a349309cbde8c3803b8ca83b5833e63392e7c42 /crawl-ref/source/enum.h | |
parent | 746b402561b6b27625c5c1ac33028da9aa846b18 (diff) | |
download | crawl-ref-ebe3faa645862641354b8bddf6c52dccc108a16c.tar.gz crawl-ref-ebe3faa645862641354b8bddf6c52dccc108a16c.zip |
Implementing patch 1775415 (outsourcing monster speech) by
zelgadis. Currently, shout.txt and speak.txt share in with
the .des files in /dat. That should be changed, but I've no
idea how to do this.
Also implementing a bug fix by ennewalker (1787428).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2052 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 6b1c045bf2..a11550c525 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -757,6 +757,7 @@ enum command_type CMD_TARGET_FIND_YOU, CMD_TARGET_DESCRIBE, CMD_TARGET_WIZARD_MAKE_FRIENDLY, + CMD_TARGET_WIZARD_MAKE_SHOUT, CMD_TARGET_HELP, // Disable/enable -more- prompts. @@ -2492,23 +2493,24 @@ enum mon_flight_type // These are now saved in an unsigned long in the monsters struct. enum monster_flag_type { - MF_CREATED_FRIENDLY = 0x01, // no benefit from killing - MF_GOD_GIFT = 0x02, // player not penalized by its death - MF_BATTY = 0x04, // flutters like a bat - MF_JUST_SUMMONED = 0x08, // monster skips next available action - MF_TAKING_STAIRS = 0x10, // is following player through stairs + MF_CREATED_FRIENDLY = 0x01, // no benefit from killing + MF_GOD_GIFT = 0x02, // player not penalized by its death + MF_BATTY = 0x04, // flutters like a bat + MF_JUST_SUMMONED = 0x08, // monster skips next available action + MF_TAKING_STAIRS = 0x10, // is following player through stairs - MF_INTERESTING = 0x20, // Player finds monster interesting - MF_SEEN = 0x40, // Player already seen monster - MF_DIVINE_PROTECTION = 0x80, // Monster has divine protection. + MF_INTERESTING = 0x20, // Player finds monster interesting + MF_SEEN = 0x40, // Player already seen monster + MF_DIVINE_PROTECTION = 0x80, // Monster has divine protection. - MF_KNOWN_MIMIC = 0x100, // Mimic that has taken a swing at the PC, - // or that the player has inspected with ? - MF_BANISHED = 0x200, // Monster that has been banished. - MF_HARD_RESET = 0x400, // Summoned, should not drop gear on reset - MF_CONVERT_ATTEMPT = 0x800, // Orcs only: seen player and was converted - // (or not) - MF_WAS_IN_VIEW = 0x1000 // Was in view during previous turn + MF_KNOWN_MIMIC = 0x100, // Mimic that has taken a swing at the PC, + // or that the player has inspected with ? + MF_BANISHED = 0x200, // Monster that has been banished. + MF_HARD_RESET = 0x400, // Summoned, should not drop gear on reset + MF_CONVERT_ATTEMPT = 0x800, // Orcs only: seen player and was converted + // (or not) + MF_WAS_IN_VIEW = 0x1000, // Was in view during previous turn + MF_BAND_MEMBER = 0x2000 // Created as a member of a band }; enum mon_dam_level_type @@ -3109,6 +3111,14 @@ enum shout_type S_CROAK, // frog croak S_GROWL, // for bears S_HISS, // for snakes and lizards + + // Loudness setting for shouts that are only defined in dat/shout.txt + S_VERY_SOFT, + S_SOFT, + S_NORMAL, + S_LOUD, + S_VERY_LOUD, + NUM_SHOUTS, S_RANDOM }; |