summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 16:07:30 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-10 16:07:30 +0000
commit9112dd81fb46fbeeec6f46fe40ecaf1bcae42da3 (patch)
tree42a9689b56051fccb17889328a4a542e6351cc64 /crawl-ref/source/terrain.h
parent4fdf65ba2dcb33d11e73742fe31ce4f85a27baf2 (diff)
downloadcrawl-ref-9112dd81fb46fbeeec6f46fe40ecaf1bcae42da3.tar.gz
crawl-ref-9112dd81fb46fbeeec6f46fe40ecaf1bcae42da3.zip
Fix 1920778: mons_open_door() not respecting gates
Also fixed several cases where secret doors would be described as rock walls regardless of their actual type, and gates are now described correctly as well. This means that viewing them also prints, e.g. "An open gate." or "A closed large door." without further information since there are no database entries for these specific cases. (Not the entries for simple doors are any more exhaustive.) Fix 1910729: Yredelmnul's Drain Life not waking monsters, using ncampion's solution. Also default greedy_explore to true. (FR 1911112) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3584 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/terrain.h')
-rw-r--r--crawl-ref/source/terrain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.h b/crawl-ref/source/terrain.h
index c4af306e4f..973c25413c 100644
--- a/crawl-ref/source/terrain.h
+++ b/crawl-ref/source/terrain.h
@@ -44,6 +44,9 @@ 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 );
+void _find_connected_identical(coord_def d, dungeon_feature_type ft,
+ std::set<coord_def>& out);
+std::string get_door_noun(int door_count);
dungeon_feature_type grid_secret_door_appearance( int gx, int gy );
bool grid_destroys_items( dungeon_feature_type grid );