diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-12-01 15:23:42 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-12-01 15:26:52 +0100 |
commit | e12f92d931dcef88c6890f9aef8629534bf859c8 (patch) | |
tree | 7c5e94c192640ddfa5dd4463439f2640c23fb7c0 /crawl-ref/source/viewmap.h | |
parent | 83436251ef251effc98348bcefd6e0590a4fdf04 (diff) | |
download | crawl-ref-e12f92d931dcef88c6890f9aef8629534bf859c8.tar.gz crawl-ref-e12f92d931dcef88c6890f9aef8629534bf859c8.zip |
Unify colour handling in env.show and env.map_knowledge.
Colour is now always precomputed, and only possibly overridden
by travel information on display.
It's quite unclear that storing the colour in env.show and
env.map_knowledge is the right thing to do, but at least it's
handled consistently now.
Diffstat (limited to 'crawl-ref/source/viewmap.h')
-rw-r--r-- | crawl-ref/source/viewmap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/viewmap.h b/crawl-ref/source/viewmap.h index b5f94ef71b..f667b80979 100644 --- a/crawl-ref/source/viewmap.h +++ b/crawl-ref/source/viewmap.h @@ -1,9 +1,6 @@ #ifndef VIEWMAP_H #define VIEWMAP_H -screen_buffer_t colour_code_map(const coord_def& p, bool item_colour = false, - bool travel_colour = false, bool on_level = true); - bool emphasise(const coord_def& where); #endif |