From af3cd3ff34ef5da884b2c673afe1321f0cf372e7 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Tue, 15 Jul 2008 04:07:07 +0000 Subject: Large tiles-related changes. Platform-specific rendering removed and replaced with SDL/OpenGL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/initfile.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/initfile.cc') diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index 08ca799cb2..da0afef3d9 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -30,7 +30,7 @@ #include "files.h" #include "defines.h" #ifdef USE_TILE - #include "guic.h" + #include "tilereg.h" #endif #include "invent.h" #include "item_use.h" @@ -841,6 +841,7 @@ void game_options::reset_options() tile_lava_col = MAP_MDGREY; tile_excluded_col = MAP_DKCYAN; tile_excl_centre_col = MAP_DKBLUE; + tile_window_col = MAP_YELLOW; #endif #ifdef WIN32TILES @@ -2867,6 +2868,11 @@ void game_options::read_option_line(const std::string &str, bool runscript) tile_excl_centre_col = _str_to_tile_colour(field); } + else if (key == "tile_window_col") + { + tile_window_col = + _str_to_tile_colour(field); + } #endif #ifdef WIN32TILES -- cgit v1.2.3-54-g00ecf