summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-15 04:07:07 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-15 04:07:07 +0000
commitaf3cd3ff34ef5da884b2c673afe1321f0cf372e7 (patch)
treea574c2155f571f216f29c44b29e333ea320322a6 /crawl-ref/source/initfile.cc
parent71ed1a7fd6819916d79d194126c061ac1f087b11 (diff)
downloadcrawl-ref-af3cd3ff34ef5da884b2c673afe1321f0cf372e7.tar.gz
crawl-ref-af3cd3ff34ef5da884b2c673afe1321f0cf372e7.zip
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
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc8
1 files changed, 7 insertions, 1 deletions
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