summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewmap.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-04-10 12:37:25 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-04-17 13:29:49 -0400
commit3a74de583ef27cd1ccc8524d0145ec685f8357ca (patch)
tree5c0d703f14404ecbc9cea7dec1d86d36d0abbb54 /crawl-ref/source/viewmap.cc
parent4e7d99abef2cb048052ff3dfafa338b19a7cb133 (diff)
downloadcrawl-ref-3a74de583ef27cd1ccc8524d0145ec685f8357ca.tar.gz
crawl-ref-3a74de583ef27cd1ccc8524d0145ec685f8357ca.zip
Remove the level_map_title option.
Diffstat (limited to 'crawl-ref/source/viewmap.cc')
-rw-r--r--crawl-ref/source/viewmap.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/crawl-ref/source/viewmap.cc b/crawl-ref/source/viewmap.cc
index 51b94097ea..9f3d474e33 100644
--- a/crawl-ref/source/viewmap.cc
+++ b/crawl-ref/source/viewmap.cc
@@ -394,7 +394,7 @@ static int _find_feature(const vector<coord_def>& features,
static int _get_number_of_lines_levelmap()
{
- return get_number_of_lines() - (Options.level_map_title ? 1 : 0);
+ return get_number_of_lines() - 1;
}
#ifndef USE_TILE_LOCAL
@@ -410,7 +410,7 @@ static void _draw_level_map(int start_x, int start_y, bool travel_mode,
cursor_control cs(false);
- int top = 1 + Options.level_map_title;
+ int top = 2;
cgotoxy(1, top);
for (int screen_y = 0; screen_y < num_lines; screen_y++)
for (int screen_x = 0; screen_x < num_cols; screen_x++)
@@ -574,9 +574,6 @@ public:
#ifndef USE_TILE_LOCAL
static void _draw_title(const coord_def& cpos, const feature_list& feats)
{
- if (!Options.level_map_title)
- return;
-
const int columns = get_number_of_cols();
const formatted_string help =
formatted_string::parse_string("(Press <w>?</w> for help)");
@@ -759,7 +756,7 @@ bool show_map(level_pos &lpos,
bool redraw_map = true;
#ifndef USE_TILE_LOCAL
- const int top = 1 + Options.level_map_title;
+ const int top = 2;
clrscr();
#endif
textcolor(DARKGREY);