diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2013-05-14 16:25:25 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2013-05-14 16:28:20 -0600 |
commit | a45499ba62926a823659172633c64b2d06d381fc (patch) | |
tree | 2d724cec144801c9783f93d9aada356296103b57 /crawl-ref/source/mapdef.h | |
parent | ded950aa25a8f3b911acc4f50fd6efbac46d3e28 (diff) | |
download | crawl-ref-a45499ba62926a823659172633c64b2d06d381fc.tar.gz crawl-ref-a45499ba62926a823659172633c64b2d06d381fc.zip |
ORIENT: centre.
This places the vault at the centre of the map, and tries to use a
layout that benefits from having a vault at the centre of the map
(indicated by using the tag "central" in the layout).
A few older vaults have been tagged with ORIENT: centre, and a handful
of layouts have been tagged with central; these are vaults and layouts
that have been observed to benefit from the interaction in the past for
the most part.
This may be the first step towards better specifying how primary vaults
interact with layouts (castle-like maps with layout_stronghold or
layout_gridville, for example, as suggested by mumra).
This also fixes a couple of bugs in the layout selector (in particular,
"no_primary_layout" being ignored outside of Pan).
Diffstat (limited to 'crawl-ref/source/mapdef.h')
-rw-r--r-- | crawl-ref/source/mapdef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mapdef.h b/crawl-ref/source/mapdef.h index e36e652fea..276e9be140 100644 --- a/crawl-ref/source/mapdef.h +++ b/crawl-ref/source/mapdef.h @@ -70,6 +70,9 @@ enum map_section_type // see maps.cc and dungeon.cc {dlb} // the edges, although in other respects it behaves like a regular vault. MAP_FLOAT, + // Place at the centre of the map, and use a "central" layout. + MAP_CENTRE, + MAP_NUM_SECTION_TYPES }; |