summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-29 14:12:00 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-29 14:12:00 +0000
commitce89a07e4802691aa3a164ed1e332163f4dd8246 (patch)
tree5c47b9708d7f344081a341926d0572a4697e42c2 /crawl-ref/source/view.h
parentb7861f247d877def85b5efb072fba62fab079eb7 (diff)
downloadcrawl-ref-ce89a07e4802691aa3a164ed1e332163f4dd8246.tar.gz
crawl-ref-ce89a07e4802691aa3a164ed1e332163f4dd8246.zip
Finally allow ranged attacks (BEAM_MISSILE) and spells (BEAM_MMISSILE only)
to also saturate the blood with floor. Add a basic blood scent effect: all hounds, vampires, and the mosquito get M_BLOOD_SCENT which will let them wake up when blood is spilled in their vicinity. smell_blood() is rather similar to noisy(), so monsters will try to seek the origin of the blood spilled. Player vampires now get a message if blood is spilled outside their LOS, "You smell fresh blood" with a distance estimate ("near-by", "in the distance") added for vampires that are (near) bloodless. Also, the radius a vampire will be capable of smelling blood will increase the thirstier he is. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3936 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r--crawl-ref/source/view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h
index 3bad8ec7c5..93d0c9f746 100644
--- a/crawl-ref/source/view.h
+++ b/crawl-ref/source/view.h
@@ -114,6 +114,7 @@ bool magic_mapping(int map_radius, int proportion, bool suppress_msg,
* spells - spells3 - spells4
* *********************************************************************** */
bool noisy( int loudness, int nois_x, int nois_y, const char *msg = NULL );
+void blood_smell( int strength, int blood_x, int blood_y);
void handle_monster_shouts(monsters* monster, bool force = false);
// last updated 12may2000 {dlb}