diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-11-27 14:19:19 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-12-08 22:52:59 +0100 |
commit | cf6ed6e575d3f508d4ec3a178908dc4a5781dde5 (patch) | |
tree | dba5795216f2070f19caa94e89948d2b33f9b6ad /crawl-ref/source/describe.h | |
parent | c3c797470937e6389523092dffab1fd12c21ddf3 (diff) | |
download | crawl-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.h | 6 |
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); |