summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index 0bdbac5b50..f9a3f20a22 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -181,6 +181,13 @@ void dgn_veto_level();
void dgn_flush_map_memory();
double dgn_degrees_to_radians(int degrees);
+bool dgn_has_adjacent_feat(coord_def c, dungeon_feature_type feat);
+coord_def dgn_random_point_in_bounds(
+ dungeon_feature_type searchfeat,
+ unsigned mapmask = MMT_VAULT,
+ dungeon_feature_type adjacent = DNGN_UNSEEN,
+ bool monster_free = false,
+ int tries = 1500);
coord_def dgn_random_point_from(const coord_def &c, int radius, int margin = 1);
coord_def dgn_random_point_visible_from(const coord_def &c,
int radius,