summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 15:11:37 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 15:11:37 +0000
commit0eceb6ff8b8501d07c94e2e5d46aca19121b205e (patch)
treefe32d5ef03aff51b088f03670ee8052a8309080c /crawl-ref/source/output.cc
parent378c95389b4ac05f90399105c705a2667a1c922e (diff)
downloadcrawl-ref-0eceb6ff8b8501d07c94e2e5d46aca19121b205e.tar.gz
crawl-ref-0eceb6ff8b8501d07c94e2e5d46aca19121b205e.zip
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
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc18
1 files changed, 10 insertions, 8 deletions
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<formatted_string> _get_overview_cols1()
+static std::vector<formatted_string> _get_overview_stats()
{
char buf[1000];
@@ -2049,8 +2049,9 @@ static std::vector<formatted_string> _get_overview_cols1()
return cols1.formatted_lines();
}
-static std::vector<formatted_string> _get_overview_cols2(
- std::vector<char> &equip_chars, bool calc_unid = false)
+static std::vector<formatted_string> _get_overview_resistances(
+ std::vector<char> &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<formatted_string> blines = _get_overview_cols1();
+ std::vector<formatted_string> 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<char> equip_chars;
- std::vector<formatted_string> blines = _get_overview_cols2(equip_chars,
- calc_unid);
+ std::vector<formatted_string> 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<formatted_string> blines = _get_overview_cols1();
+ std::vector<formatted_string> 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<char> 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];