diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-08-24 07:58:30 +0200 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-09-21 01:30:51 -0400 |
commit | c6de1386fa331d59c58b1d3054ffdaeab3268517 (patch) | |
tree | 615e5bca957b4a717be727c48308bdf6078240fe /crawl-ref/source/chardump.cc | |
parent | ec0fa00cfee16130cd57b80c48cf5ca3bcd2fcf1 (diff) | |
download | crawl-ref-c6de1386fa331d59c58b1d3054ffdaeab3268517.tar.gz crawl-ref-c6de1386fa331d59c58b1d3054ffdaeab3268517.zip |
Condense some duplicated menu code for formatted_scroller
Also re-align, and highlight input keys as in lots of other places.
Show this improved -more- line for viewing character notes, too.
The TODO was removed as well because the only effect of dynamically
changing displayed "help" information like this is player confusion.
Static information works better when it comes to legends.
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r-- | crawl-ref/source/chardump.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index bbc7aee198..20738d7142 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -1467,7 +1467,8 @@ static bool _write_dump(const string &fname, dump_params &par, bool quiet) void display_notes() { formatted_scroller scr; - scr.set_flags(MF_START_AT_END); + scr.set_flags(MF_START_AT_END | MF_ALWAYS_SHOW_MORE); + scr.set_more(); scr.set_tag("notes"); scr.set_highlighter(new MenuHighlighter); scr.set_title(new MenuEntry("Turn | Place | Note")); |