From 30e35359e60798c94b5fa3720a1b7886e81f34dc Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 3 Apr 2008 05:08:21 +0000 Subject: Finally implement halo coloring. Currently, all areas that you can move over will be turned yellow. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4057 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/view.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/view.cc') diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc index 623f27ac10..5a329c76e6 100644 --- a/crawl-ref/source/view.cc +++ b/crawl-ref/source/view.cc @@ -65,6 +65,7 @@ #include "skills.h" #include "skills2.h" #include "stuff.h" +#include "spells3.h" #include "spells4.h" #include "stash.h" #include "tiles.h" @@ -446,6 +447,12 @@ static void _get_symbol( int x, int y, x, y, static_cast(object), *colour, fdef.em_colour | colmask); } + + if (object < NUM_REAL_FEATURES + && inside_halo(x,y) && object >= DNGN_MINMOVE) + { + *colour = YELLOW | colmask; + } } // Note anything we see that's notable -- cgit v1.2.3-54-g00ecf