From 3548833cfbab7a46fe339542183fa65f276ea167 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 20 Mar 2007 15:01:18 +0000 Subject: Added classic_item_colours option to go back to 0.1.x item colours. The option is not retroactive, it only affects items that are created after the option is set. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1072 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/initfile.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/initfile.cc') diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 78da3c3519..6e4cde4035 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -632,6 +632,8 @@ void game_options::reset_options() detected_item_colour = LIGHTGREEN; detected_monster_colour= LIGHTRED; + classic_item_colours = false; + easy_exit_menu = true; #ifdef DOS dos_use_background_intensity = false; @@ -734,6 +736,7 @@ void game_options::reset_options() // Clear vector options. extra_levels.clear(); + dump_order.clear(); new_dump_fields("header,stats,misc,inventory,skills," "spells,,overview,mutations,messages,screenshot," @@ -2123,6 +2126,10 @@ void game_options::read_option_line(const std::string &str, bool runscript) { tc_disconnected = str_to_colour(field, tc_disconnected); } + else if (key == "classic_item_colours") + { + classic_item_colours = read_bool(field, classic_item_colours); + } else if (key == "item_colour" || key == "item_color") { item_colour = read_bool(field, item_colour); -- cgit v1.2.3-54-g00ecf