summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-10 00:24:08 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-10 00:24:08 +0000
commita1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe (patch)
tree11eb03a2f2a4605a283e4e469a09a040aeb60621 /crawl-ref/source/branch.cc
parentdb37e2e9b818817a63d6c0a08ba227be885fe3bb (diff)
downloadcrawl-ref-a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe.tar.gz
crawl-ref-a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe.zip
The level-builder now enforces the constraint that every contiguous region on a level must include at least one stair (ekiM). This guarantee does not apply to areas inside vaults (the builder assumes vault-designers are sane) and does not apply to certain branches (Swamp, Shoals, the branches of Hell), or the non-Dungeon areas (Abyss, Pan, Bazaars).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4169 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index 728ce416ff..9f906d4411 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -163,7 +163,7 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
5, 'L', false, false },
- { BRANCH_SWAMP, BRANCH_LAIR, 5, 3, 0, 0,
+ { BRANCH_SWAMP, BRANCH_LAIR, 5, 3, BFLAG_ISLANDED, 0,
DNGN_ENTER_SWAMP, DNGN_RETURN_FROM_SWAMP,
"Swamp", "the Swamp", "Swamp",
NULL,
@@ -172,7 +172,7 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
0, 'S', false, true },
- { BRANCH_SHOALS, BRANCH_LAIR, 5, 4, 0, 0,
+ { BRANCH_SHOALS, BRANCH_LAIR, 5, 4, BFLAG_ISLANDED, 0,
DNGN_ENTER_SHOALS, DNGN_RETURN_FROM_SHOALS,
"Shoals", "the Shoals", "Shoal",
NULL,
@@ -254,7 +254,7 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
0, 'U', false, false },
- { BRANCH_DIS, BRANCH_VESTIBULE_OF_HELL, 7, -1, 0, 0,
+ { BRANCH_DIS, BRANCH_VESTIBULE_OF_HELL, 7, -1, BFLAG_ISLANDED, 0,
DNGN_ENTER_DIS, NUM_FEATURES, // sentinel
"Dis", "the Iron City of Dis", "Dis",
NULL,
@@ -263,7 +263,7 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
0, 'I', true, true },
- { BRANCH_GEHENNA, BRANCH_VESTIBULE_OF_HELL, 7, -1, 0, 0,
+ { BRANCH_GEHENNA, BRANCH_VESTIBULE_OF_HELL, 7, -1, BFLAG_ISLANDED, 0,
DNGN_ENTER_GEHENNA, NUM_FEATURES, // sentinel
"Gehenna", "Gehenna", "Geh",
NULL,
@@ -272,7 +272,7 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
0, 'N', true, true },
- { BRANCH_COCYTUS, BRANCH_VESTIBULE_OF_HELL, 7, -1, 0, 0,
+ { BRANCH_COCYTUS, BRANCH_VESTIBULE_OF_HELL, 7, -1, BFLAG_ISLANDED, 0,
DNGN_ENTER_COCYTUS, NUM_FEATURES, // sentinel
"Cocytus", "Cocytus", "Coc",
NULL,
@@ -281,7 +281,7 @@ Branch branches[] = {
NULL, NULL, NULL, NULL,
0, 'X', true, true },
- { BRANCH_TARTARUS, BRANCH_VESTIBULE_OF_HELL, 7, -1, 0, 0,
+ { BRANCH_TARTARUS, BRANCH_VESTIBULE_OF_HELL, 7, -1, BFLAG_ISLANDED, 0,
DNGN_ENTER_TARTARUS, NUM_FEATURES, // sentinel
"Tartarus", "Tartarus", "Tar",
NULL,