diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-03-14 23:28:20 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-03-14 23:46:28 +0100 |
commit | 3719b75fd33f485ce279f600d5f98bd9ea228ff5 (patch) | |
tree | f816de05390b72a888546ac5c94fcb90d3e4516d /crawl-ref/source/delay.h | |
parent | ba0a6d89f3b542adb11ef33b5cecb42e43b126cd (diff) | |
download | crawl-ref-3719b75fd33f485ce279f600d5f98bd9ea228ff5.tar.gz crawl-ref-3719b75fd33f485ce279f600d5f98bd9ea228ff5.zip |
Better messages for monsters coming into view.
When more than one monster come into view at once, there's a single message
listing the various monster types. If there is more than 4 types, we list
genera (which is the correct plural of genus :). If there's more than 4
genera, we fall back to "x monsters come into view."
Examples:
4 orcs, an orc wizard, a troll and Psyche come into view.
3 dragons and 6 draconians come into view.
This is commit is also a preparation for the futur Ash ability of
identifying monster equipment.
Diffstat (limited to 'crawl-ref/source/delay.h')
-rw-r--r-- | crawl-ref/source/delay.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.h b/crawl-ref/source/delay.h index 42230c69bd..e23bc61c66 100644 --- a/crawl-ref/source/delay.h +++ b/crawl-ref/source/delay.h @@ -93,7 +93,7 @@ delay_type get_delay(const std::string &); void autotoggle_autopickup(bool off); bool interrupt_activity(activity_interrupt_type ai, - const activity_interrupt_data &a + const activity_interrupt_data &a = activity_interrupt_data(), std::vector<std::string>* msgs_buf = NULL); #endif |