From a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 10 Apr 2008 00:24:08 +0000 Subject: 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 --- crawl-ref/source/branch.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/branch.cc') 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, -- cgit v1.2.3-54-g00ecf