summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-06 19:50:53 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-06 20:00:48 +1000
commita20b45352d9e5e389f5d6116fcbdbaa70b907878 (patch)
tree82dae5e3f1ff230d5466fd929363a785993a4f40 /crawl-ref/source/item_use.cc
parentc2a93a39ecbbc995c42275a344e32175339d3adf (diff)
downloadcrawl-ref-a20b45352d9e5e389f5d6116fcbdbaa70b907878.tar.gz
crawl-ref-a20b45352d9e5e389f5d6116fcbdbaa70b907878.zip
Unique placement-related function find_maps_for_tag.
Generates a vector of map_defs that have the relevant tag. Can check depth (defaults to false) as well as whether or not a vault has previously been placed (defaults to true). Convenience function weight_map_vector returns an integer corresponding to the total weight of all of the maps contained within the vector. These functions will be used to re-do unique placement as per dpeg's design (see c-r-d email).
Diffstat (limited to 'crawl-ref/source/item_use.cc')
0 files changed, 0 insertions, 0 deletions