From 0af59f5d233f429a70df12e87993f7bda7de30a7 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 23 Mar 2008 14:30:29 +0000 Subject: Introduce a temporary neutral brand for tiles because it was driving me nuts when testing Ely's pacifying. (Currently only inappropriately reuses TILE_NEW_STAIR, which will have to be replaced with something more distinctive some time.) Also add an option for colouring neutrals on the minimap (defaults to red, like hostiles) and allow secondary item use by Ctrl-L-clicking on items in inventory (firing weapons, unwielding rods, etc.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3830 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/initfile.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/initfile.cc') diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 8109534c03..f7e9e6bb67 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -805,6 +805,7 @@ void game_options::reset_options() // minimap colours tile_player_col = MAP_WHITE; tile_monster_col = MAP_RED; + tile_neutral_col = MAP_RED; tile_friendly_col = MAP_LTRED; tile_item_col = MAP_GREEN; tile_unseen_col = MAP_BLACK; @@ -2731,6 +2732,11 @@ void game_options::read_option_line(const std::string &str, bool runscript) tile_monster_col = str_to_tile_colour(field); } + else if (key == "tile_neutral_col") + { + tile_neutral_col = + str_to_tile_colour(field); + } else if (key == "tile_friendly_col") { tile_friendly_col = -- cgit v1.2.3-54-g00ecf