summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-26 11:22:35 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-26 11:22:35 +0000
commit92a5149b413abe69641720581624b5f867e663e5 (patch)
treed84e98dc32f8c68121ee4d4085f035008a4f04f0 /crawl-ref/source/view.h
parentf910f85b74d9dae832f8d3422f51d87565ea3a08 (diff)
downloadcrawl-ref-92a5149b413abe69641720581624b5f867e663e5.tar.gz
crawl-ref-92a5149b413abe69641720581624b5f867e663e5.zip
Make patrolling monster movement more natural: don't always return to
the patrol centre, make it more likely to return to the patrol area if the monster left it somehow but is still nearby, and make friendly monsters move around the player on their way to their target. Also, highlight wizard commands in the wizard help. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5252 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r--crawl-ref/source/view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h
index 40e45becb6..135314223f 100644
--- a/crawl-ref/source/view.h
+++ b/crawl-ref/source/view.h
@@ -194,6 +194,8 @@ bool see_grid( const env_show_grid &show,
bool see_grid(const coord_def &p);
bool see_grid_no_trans( const coord_def &p );
bool trans_wall_blocking( const coord_def &p );
+bool grid_see_grid(int posx_1, int posy_1, int posx_2, int posy_2,
+ dungeon_feature_type allowed = DNGN_UNSEEN);
inline bool see_grid( int grx, int gry )
{