Implemented basic range darkening while targeting. Nothing uses this

yet, I believe, because most calls to direction() use the default range (-1).

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6739 c06c8d41-db1a-0410-9941-cceddc491573

Created by  haranp  on July 31, 2008
ON7HKKWM4CRYWNI5SZKKWI5Q5MVFOPC6QVKHXX3D66G7EOZEMGWAC
Change contents