diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-18 16:31:53 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-18 16:31:53 +0000 |
commit | 280290a5fabe951a68d53c09f6c92c1172b27454 (patch) | |
tree | 780f4274f2548cd1a475682b95eab93acc428a25 /crawl-ref/source/travel.h | |
parent | 1d98e2f42503bee2a5ed1842db732f6a6b03884d (diff) | |
download | crawl-ref-280290a5fabe951a68d53c09f6c92c1172b27454.tar.gz crawl-ref-280290a5fabe951a68d53c09f6c92c1172b27454.zip |
[1754412] New rock stair behaviour: rock stairs take you to the nearest
point on the target level that is connected to at least one stone stair.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1893 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index a2e5bc328a..7f234ca7da 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -23,6 +23,7 @@ * called from: initfile (what's a better place to initialise stuff?) * *********************************************************************** */ void initialise_travel(); +void init_travel_terrain_check(bool check_race_equip = true); void stop_running(void); void travel_init_new_level(); void cycle_exclude_radius(const coord_def &p); @@ -38,7 +39,7 @@ command_type stair_direction(dungeon_feature_type stair_feat); command_type direction_to_command( char x, char y ); bool is_resting( void ); bool can_travel_interlevel(); -bool is_traversable(int grid); +bool is_traversable(dungeon_feature_type grid); void find_travel_pos(int you_x, int you_y, char *move_x, char *move_y, std::vector<coord_def>* coords = NULL); |