summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2011-12-13 15:36:01 -0500
committerNeil Moore <neil@s-z.org>2011-12-13 15:41:23 -0500
commit05cf1571411b3b6de7eee5a5188353a5d51ed940 (patch)
tree673493ec48e93508d2c5d697d08bb7ac00b886ce /crawl-ref/source/mutation.h
parent9d84733e4588e31770fd317cef1001674299ae87 (diff)
downloadcrawl-ref-05cf1571411b3b6de7eee5a5188353a5d51ed940.tar.gz
crawl-ref-05cf1571411b3b6de7eee5a5188353a5d51ed940.zip
Use a formatted_scroller for the mutations screen (edlothiol).
A Menu does not allow multiple colours per entry, so we instead use a formatted_scroller in display_mutations (for non-vampires; vampires are still treated differently). Make the '*' marking form-based mutations yellow, and the '+' marking non-physical vampire mutations lightred. Also, do not include the legend and "Press '!'..." in chardumps; and avoid duplicating the draconian AC message.
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index 129732741f..6322c65e09 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -81,7 +81,7 @@ inline bool give_bad_mutation(bool failMsg = true, bool force_mutation = false)
void display_mutations();
mutation_activity_type mutation_activity_level(mutation_type mut);
-formatted_string describe_mutations();
+std::string describe_mutations();
bool delete_mutation(mutation_type which_mutation, bool failMsg = true,
bool force_mutation = false, bool god_gift = false,