summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.h
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-11-27 14:19:19 +0100
committerFlorian Diebold <flodiebold@gmail.com>2011-12-08 22:52:59 +0100
commitcf6ed6e575d3f508d4ec3a178908dc4a5781dde5 (patch)
treedba5795216f2070f19caa94e89948d2b33f9b6ad /crawl-ref/source/describe.h
parentc3c797470937e6389523092dffab1fd12c21ddf3 (diff)
downloadcrawl-ref-cf6ed6e575d3f508d4ec3a178908dc4a5781dde5.tar.gz
crawl-ref-cf6ed6e575d3f508d4ec3a178908dc4a5781dde5.zip
Refactor control flow of ?/M and describe_monsters to make it work better under Webtiles.
This also fixes the double getchm() after showing the description for an exact monster match.
Diffstat (limited to 'crawl-ref/source/describe.h')
-rw-r--r--crawl-ref/source/describe.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/describe.h b/crawl-ref/source/describe.h
index 1c40e14894..3bd6aa99ed 100644
--- a/crawl-ref/source/describe.h
+++ b/crawl-ref/source/describe.h
@@ -72,10 +72,8 @@ void append_weapon_stats(std::string &description, const item_def &item);
void append_armour_stats(std::string &description, const item_def &item);
void append_missile_info(std::string &description);
-void describe_monsters(const monster_info &mi, bool force_seen = false,
- const std::string &footer = "",
- bool wait_until_key_pressed = true,
- bool show_quote = false);
+int describe_monsters(const monster_info &mi, bool force_seen = false,
+ const std::string &footer = "");
void get_monster_db_desc(const monster_info &mi, describe_info &inf,
bool &has_stat_desc, bool force_seen = false);