diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-02 12:54:15 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-08-02 12:54:15 +0000 |
commit | d5e5340c3926d1cf97f6cba151ffaecb20bfb35f (patch) | |
tree | d1faf7d5b27df8f3c523a8dd33357804118e62b1 /trunk/source/direct.h | |
parent | 7b2204d69f21d7075e4666ee032d7a129081bc4b (diff) | |
download | crawl-ref-d5e5340c3926d1cf97f6cba151ffaecb20bfb35f.tar.gz crawl-ref-d5e5340c3926d1cf97f6cba151ffaecb20bfb35f.zip |
Integrated travel patch as of 20060727
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/direct.h')
-rw-r--r-- | trunk/source/direct.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trunk/source/direct.h b/trunk/source/direct.h index 2bd5a06cdd..e591107578 100644 --- a/trunk/source/direct.h +++ b/trunk/source/direct.h @@ -37,5 +37,11 @@ void direction( struct dist &moves, int restricts = DIR_NONE, void look_around( struct dist &moves, bool justLooking, int first_move = -1, int mode = TARG_ANY ); +bool in_los_bounds(int x, int y); +bool in_viewport_bounds(int x, int y); +bool in_los(int x, int y); +bool in_vlos(int x, int y); + +std::string feature_description(int mx, int my); #endif |