diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-10 00:24:08 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-10 00:24:08 +0000 |
commit | a1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe (patch) | |
tree | 11eb03a2f2a4605a283e4e469a09a040aeb60621 /crawl-ref/source/branch.h | |
parent | db37e2e9b818817a63d6c0a08ba227be885fe3bb (diff) | |
download | crawl-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.h')
-rw-r--r-- | crawl-ref/source/branch.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h index 3427537cfc..08abfaaa14 100644 --- a/crawl-ref/source/branch.h +++ b/crawl-ref/source/branch.h @@ -21,7 +21,9 @@ enum branch_flag_type BFLAG_NO_TELE_CONTROL = (1 << 0), // Teleport control not allowed. BFLAG_NOT_MAPPABLE = (1 << 1), // Branch levels not mappable. BFLAG_NO_MAGIC_MAP = (1 << 2), // Branch levels can't be magic mapped. - BFLAG_HAS_ORB = (1 << 3) // Orb is on the floor in this branch + BFLAG_HAS_ORB = (1 << 3), // Orb is on the floor in this branch + + BFLAG_ISLANDED = (1 << 4) // May have isolated zones with no stairs. }; struct Branch |