summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-09 15:51:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-09 15:51:04 +0000
commitd148c905a225bcf679e2c7e285eb15265e89fe5f (patch)
tree7637d7e68391829751ee204ed0ff7a43a096331e /crawl-ref/source/state.cc
parentecca9ffb97c83374d58941a08976bfd28ed985eb (diff)
downloadcrawl-ref-d148c905a225bcf679e2c7e285eb15265e89fe5f.tar.gz
crawl-ref-d148c905a225bcf679e2c7e285eb15265e89fe5f.zip
Extract a number of pathfinding/travelling/patrolling routines into
static methods to hopefully make the code more readable. Change berserking monster foe check to use a random order when searching the neighbour grids, so the upper left monsters aren't always prefered. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7426 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/state.cc')
0 files changed, 0 insertions, 0 deletions