summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 04:43:58 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 04:43:58 +0000
commit7124f889e3c585947d594aa38be346bc87c08069 (patch)
tree40f1109c243083f31c69f4cd4f545a638833c194 /crawl-ref/source/terrain.h
parent8921c5b2703c3aa590026bbc8052ba129b6fc02c (diff)
downloadcrawl-ref-7124f889e3c585947d594aa38be346bc87c08069.tar.gz
crawl-ref-7124f889e3c585947d594aa38be346bc87c08069.zip
Simplify checks for grids containing water.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8763 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.h')
-rw-r--r--crawl-ref/source/terrain.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/terrain.h b/crawl-ref/source/terrain.h
index d4c7bfc812..71a397f746 100644
--- a/crawl-ref/source/terrain.h
+++ b/crawl-ref/source/terrain.h
@@ -43,11 +43,11 @@ std::string stair_climb_verb(dungeon_feature_type grid);
bool grid_is_water(dungeon_feature_type grid);
bool grid_is_watery(dungeon_feature_type grid);
-god_type grid_altar_god( dungeon_feature_type grid );
-dungeon_feature_type altar_for_god( god_type god );
-bool grid_is_branch_stairs( dungeon_feature_type grid );
+god_type grid_altar_god(dungeon_feature_type grid);
+dungeon_feature_type altar_for_god(god_type god);
+bool grid_is_branch_stairs(dungeon_feature_type grid);
void find_connected_identical(coord_def d, dungeon_feature_type ft,
- std::set<coord_def>& out);
+ std::set<coord_def>& out);
void find_connected_range(coord_def d, dungeon_feature_type ft_min,
dungeon_feature_type ft_max,
std::set<coord_def>& out);