From fbb8be057b84f12bc8f2cdcab82d0368faea86eb Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 3 Nov 2007 16:08:29 +0000 Subject: Trunk->0.3 merge (2737): Removed travel_colour. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2738 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/init.txt | 1 - crawl-ref/source/externs.h | 1 - crawl-ref/source/initfile.cc | 1 - crawl-ref/source/view.cc | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/crawl-ref/init.txt b/crawl-ref/init.txt index ae1daa66d1..66f39d8f8f 100644 --- a/crawl-ref/init.txt +++ b/crawl-ref/init.txt @@ -122,7 +122,6 @@ stab_brand = hi:blue ##### 4-g Travel and Exploration ################# # -# travel_colour = false # travel_delay = 20 # travel_avoid_terrain = shallow water # diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 4bdb77cae9..a405cbf40d 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -1512,7 +1512,6 @@ public: int stash_tracking; // How stashes are tracked - bool travel_colour; // Colour levelmap using travel information? int tc_reachable; // Colour for squares that are reachable int tc_excluded; // Colour for excluded squares. int tc_exclude_circle; // Colour for squares in the exclusion radius diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 6560462c32..8381108260 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -630,7 +630,6 @@ void game_options::reset_options() pickup_dropped = false; pickup_thrown = true; - travel_colour = true; travel_delay = 20; travel_stair_cost = 500; diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index 59ea890bb6..817b973db1 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -2581,7 +2581,7 @@ static void draw_level_map(int start_x, int start_y, bool travel_mode) { colour = colour_code_map(c.x, c.y, Options.item_colour, - travel_mode && Options.travel_colour); + travel_mode); buffer2[bufcount2 + 1] = colour; buffer2[bufcount2] = env.map(c).glyph(); -- cgit v1.2.3-54-g00ecf