diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-12 18:10:21 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-12 18:10:21 +1000 |
commit | c6f5386588f7d4d43c4c40a7ca502ec6912ac72c (patch) | |
tree | efc20934b143e1f77c3087bd8ecc49ebf7cb503e /crawl-ref/source/item_use.cc | |
parent | 87f6bc7bfb79dd38454d52945ed1bef5cbb5ffbd (diff) | |
download | crawl-ref-c6f5386588f7d4d43c4c40a7ca502ec6912ac72c.tar.gz crawl-ref-c6f5386588f7d4d43c4c40a7ca502ec6912ac72c.zip |
More new dungeon build functions, and some adjustments.
Adjusted _valid_coord to allow the checking of a coordinate without
generating an error message; moved fill_area's filling code to its own
function so that it can be called by multiple functions; implemented
count_passable_neighbors in C++ instead of Lua, to make it more
accessible in multiple layouts.
Implemented "make_box" and "make_box_doors"; both work on a series of
two coordinates (top left and bottom right corners), the first making a
box of specified width and using specified glyphs for walls and floor,
while the second function will randomly add doors to the box, ignoring
corners.
make_box_doors will not work on instances where the wall thickness is
more than 1 square; this could be adjusted at a later date.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
0 files changed, 0 insertions, 0 deletions