diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-12 12:09:46 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2010-01-12 13:35:39 +1000 |
commit | acabbaacbc91db8c6b711b85e1f68694b42ed829 (patch) | |
tree | 63053744baefd88d2d5b2d7d002234f6571f20c3 /crawl-ref/source/wiz-you.cc | |
parent | af50b39780da6717f5f9a597a66c0c97e01329e5 (diff) | |
download | crawl-ref-acabbaacbc91db8c6b711b85e1f68694b42ed829.tar.gz crawl-ref-acabbaacbc91db8c6b711b85e1f68694b42ed829.zip |
Some new Lua wrappers for dungeon building and ranges.
Introduces util.range(start, stop), returning an array consisting of the
numeric values between start and stop inclusive.
Also introduces "is_valid_coord" Lua wrapper, which does the same work
as _valid_coord but does not generate an error message for invalid
coordinates, "find_in_area" (a straight translation of the function in
dungeon.cc), and "is_passable_coord" which checks the glyph at that
location against traversable_glyphs.
Diffstat (limited to 'crawl-ref/source/wiz-you.cc')
0 files changed, 0 insertions, 0 deletions