More progress on making pacified monsters leave the level. They'll now

find the nearest exit, and disappear once they reach it. There's a new travel target, MTRAV_EXIT.

Notes:

This is currently very simplistic. The monsters still don't use pathfinding, so if they're blocked, they'll just stand there again.

With shaft traps, the monsters shouldn't try to go directly to the target, since they can't disappear at the same time they fall through to another level.

With teleport traps, they should only go to them when all paths to exits are blocked, and they shouldn't disappear when they hit them. There may also be issues if a monster hits one and reappears nearby, since it won't be far enough outside the player's LOS to disappear.

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

Created by  dolorous  on June 17, 2008
F4FAPEZ5P5CPHZIHUSRYULB3LY4LOJCUC7DZAYVL77LFFBUBCUNAC
Change contents