Improve beam selection by trying to match slopes (well, munged slopes) to the

slope to the target. We use the average of the beam slope and the slope of the starting point of the beam from the center of the starting cell.

This picks better beams for points close to the player - (2,1) for instance than my first attempt.

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

Created by  dshaligram  on June 3, 2007
3SQQ7NFTRSYDTYI4A6NWKUMOD65JJ5YPSJJIME6JDAAAN7IF6KGQC
Change contents