diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 15:01:18 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-20 15:01:18 +0000 |
commit | 3548833cfbab7a46fe339542183fa65f276ea167 (patch) | |
tree | f8377bf76c279646c2654b95ec504ed94963a240 /crawl-ref/source/initfile.cc | |
parent | bc1869c1a3334676d5cc99df90f7f9b24426274d (diff) | |
download | crawl-ref-3548833cfbab7a46fe339542183fa65f276ea167.tar.gz crawl-ref-3548833cfbab7a46fe339542183fa65f276ea167.zip |
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
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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); |