summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-17 08:59:19 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-17 09:09:43 +0200
commit91480fa09bfd0c7e937cdf0b29360c9e10413f62 (patch)
tree8de9cb01752af154a93f3060e8163f08cefb1a0c /crawl-ref/source/travel.h
parentdcc94e4df24a1111124d87532aaa263f55edf58d (diff)
downloadcrawl-ref-91480fa09bfd0c7e937cdf0b29360c9e10413f62.tar.gz
crawl-ref-91480fa09bfd0c7e937cdf0b29360c9e10413f62.zip
More renaming and reorganization of feature checks.
There were a couple of functions is_something(dgn_feature_type feat) defined in travel.cc that were otherwise independent of travel. For consistency, move these to terrain.cc and rename to feat_is_something. One might also consider renaming the various feat_is_whatever functions to just is_whatever.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r--crawl-ref/source/travel.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h
index 8ce242e5e1..9c72237ab8 100644
--- a/crawl-ref/source/travel.h
+++ b/crawl-ref/source/travel.h
@@ -66,19 +66,14 @@ void clear_excludes();
unsigned char is_waypoint(const coord_def &p);
bool is_exclude_root(const coord_def &p);
-bool is_stair(dungeon_feature_type feat);
-bool is_travelable_stair(dungeon_feature_type feat);
-bool is_escape_hatch(dungeon_feature_type feat);
-bool is_gate(dungeon_feature_type feat);
command_type direction_to_command(char x, char y);
-bool is_altar(dungeon_feature_type feat);
bool is_resting(void);
#ifdef CLUA_BINDINGS
const char *trap_name(const coord_def &p);
#endif
-bool is_traversable(dungeon_feature_type feat);
void explore_pickup_event(int did_pickup, int tried_pickup);
bool is_excluded(const coord_def &p);
+bool feat_is_traversable(dungeon_feature_type feat);
void find_travel_pos(const coord_def& youpos, char *move_x, char *move_y,
std::vector<coord_def>* coords = NULL);