diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-29 18:12:52 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-11-29 18:12:52 +0000 |
commit | 61b0a568e4ac1a1c2c7fb8d038144488c0cd14d2 (patch) | |
tree | 1fb3a52208649aad9190b3640726ed0d0cb56dec /crawl-ref/source/overmap.cc | |
parent | 828402203ba5dabe03082ad8a0768a4b6a66e542 (diff) | |
download | crawl-ref-61b0a568e4ac1a1c2c7fb8d038144488c0cd14d2.tar.gz crawl-ref-61b0a568e4ac1a1c2c7fb8d038144488c0cd14d2.zip |
Redid how the resists screen works (both in-game and in-dump.)
Minor notes refactoring.
Added a basic notes browser on '_'.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@528 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/overmap.cc')
-rw-r--r-- | crawl-ref/source/overmap.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/crawl-ref/source/overmap.cc b/crawl-ref/source/overmap.cc index 707d1c4eba..6e4c250dbc 100644 --- a/crawl-ref/source/overmap.cc +++ b/crawl-ref/source/overmap.cc @@ -127,7 +127,7 @@ void display_overmap() BRANCH_HALL_OF_ZOT }; - disp += " <white>Overview of the Dungeon</white>" EOL; + disp += " <white>Overview of the Dungeon</white>\n" ; // print branches int branchcount = 0; @@ -138,7 +138,7 @@ void display_overmap() { if ( !branchcount ) { - disp += EOL "<white>Branches:</white>" EOL; + disp += "\n<white>Branches:</white>\n"; seen_anything = true; } @@ -149,19 +149,19 @@ void display_overmap() stair_level[branch].describe(false, true).c_str()); disp += buffer; if ( (branchcount % 4) == 0 ) - disp += EOL; + disp += "\n"; else disp += " "; } } if ( branchcount && (branchcount % 4) ) - disp += EOL; + disp += "\n"; // print altars // we loop through everything a dozen times, oh well if ( !altars_present.empty() ) { - disp += EOL "<white>Altars:</white>" EOL; + disp += "\n<white>Altars:</white>\n"; seen_anything = true; } @@ -201,13 +201,13 @@ void display_overmap() } } if ( last_id.depth != 10000 ) - disp += EOL; + disp += "\n"; } // print shops if (!shops_present.empty()) { - disp += EOL "<white>Shops:</white>" EOL; + disp += "\n<white>Shops:</white>\n"; seen_anything = true; } last_id.depth = 10000; @@ -225,7 +225,7 @@ void display_overmap() // the level name, plus 4 for the spacing; that makes // a total of 16 chars per shop or exactly 5 per line. if ( placecount % 5 == 0 ) - disp += EOL; + disp += "\n"; else disp += " "; } @@ -238,12 +238,12 @@ void display_overmap() } disp += shoptype_to_char(ci_shops->second); } - disp += EOL; + disp += "\n"; // print portals if ( !portals_present.empty() ) { - disp += EOL "<white>Portals:</white>" EOL; + disp += "\n<white>Portals:</white>\n"; seen_anything = true; } for (int cur_portal = PORTAL_NONE; cur_portal < NUM_PORTALS; ++cur_portal) @@ -273,7 +273,7 @@ void display_overmap() } } if ( last_id.depth != 10000 ) - disp += EOL; + disp += "\n"; } if (!seen_anything) |