From e12f92d931dcef88c6890f9aef8629534bf859c8 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 1 Dec 2009 15:23:42 +0100 Subject: 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. --- crawl-ref/source/viewmap.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'crawl-ref/source/viewmap.h') 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 -- cgit v1.2.3-54-g00ecf