summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-26 04:52:50 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-26 04:52:50 +0000
commit64b430b8e7e9f913af35f3749514968665e15eef (patch)
tree41824223de047eba5279b258ee6424fd0e41119b /crawl-ref/source/dungeon.h
parentc9d3683f746b4b4d77747803e4bec9ca1e29f405 (diff)
downloadcrawl-ref-64b430b8e7e9f913af35f3749514968665e15eef.tar.gz
crawl-ref-64b430b8e7e9f913af35f3749514968665e15eef.zip
Adding lua function to fill in disconnected zones.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6689 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index fccda76c9f..be3c9d4cb3 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -360,6 +360,9 @@ bool join_the_dots(const coord_def &from, const coord_def &to,
void spotty_level(bool seeded, int iterations, bool boxy);
void smear_feature(int iterations, bool boxy, dungeon_feature_type feature,
int x1, int y1, int x2, int y2);
+int process_disconnected_zones(int x1, int y1, int x2, int y2,
+ bool choose_stairless,
+ dungeon_feature_type fill);
bool octa_room(spec_room &sr, int oblique_max,
dungeon_feature_type type_floor);