From 0eceb6ff8b8501d07c94e2e5d46aca19121b205e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 25 May 2008 15:11:37 +0000 Subject: Fix 1914059: randart jewellery inconsistently described as {tried} by adding yet another entry to props. FR 1949504: Move version information into the help scroller, yay! It also looks much nicer now (if I may say so). Go, take a look! :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5234 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/output.cc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/output.cc') diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 37086cb711..f7dc9180f3 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1946,7 +1946,7 @@ static std::string _overview_screen_title() return text; } -static std::vector _get_overview_cols1() +static std::vector _get_overview_stats() { char buf[1000]; @@ -2049,8 +2049,9 @@ static std::vector _get_overview_cols1() return cols1.formatted_lines(); } -static std::vector _get_overview_cols2( - std::vector &equip_chars, bool calc_unid = false) +static std::vector _get_overview_resistances( + std::vector &equip_chars, + bool calc_unid = false) { char buf[1000]; @@ -2173,7 +2174,7 @@ char _get_overview_screen_results() overview.add_text(_overview_screen_title()); { - std::vector blines = _get_overview_cols1(); + std::vector blines = _get_overview_stats(); for (unsigned int i = 0; i < blines.size(); ++i ) overview.add_item_formatted_string(blines[i]); overview.add_text(" "); @@ -2182,8 +2183,9 @@ char _get_overview_screen_results() { std::vector equip_chars; - std::vector blines = _get_overview_cols2(equip_chars, - calc_unid); + std::vector blines = + _get_overview_resistances(equip_chars, calc_unid); + for (unsigned int i = 0; i < blines.size(); ++i ) { // Kind of a hack -- we don't really care what items these @@ -2205,7 +2207,7 @@ std::string dump_overview_screen(bool full_id) std::string text = formatted_string::parse_string(_overview_screen_title()); text += EOL; - std::vector blines = _get_overview_cols1(); + std::vector blines = _get_overview_stats(); for (unsigned int i = 0; i < blines.size(); ++i) { text += blines[i]; @@ -2214,7 +2216,7 @@ std::string dump_overview_screen(bool full_id) text += EOL; std::vector equip_chars; - blines = _get_overview_cols2(equip_chars, full_id); + blines = _get_overview_resistances(equip_chars, full_id); for (unsigned int i = 0; i < blines.size(); ++i) { text += blines[i]; -- cgit v1.2.3-54-g00ecf