From 5a78294f6e2a266a7943b642b1014cdae36f7e66 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Fri, 1 Jan 2010 02:44:31 +0530 Subject: Guarantee a small guard around the shoal rune. --- crawl-ref/source/maps.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'crawl-ref/source/maps.h') diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h index 3626db6dd5..5beee64992 100644 --- a/crawl-ref/source/maps.h +++ b/crawl-ref/source/maps.h @@ -68,12 +68,24 @@ typedef bool (*map_place_check_t)(const map_def &, const coord_def &c, const coord_def &size); typedef std::vector point_vector; +typedef std::vector string_vector; extern map_place_check_t map_place_valid; extern point_vector map_anchor_points; +// Use dgn_map_parameters to modify: +extern string_vector map_parameters; + const int MAP_CACHE_VERSION = 1012; +class dgn_map_parameters +{ +public: + dgn_map_parameters(const std::string &astring); + dgn_map_parameters(const string_vector ¶meters); +private: + unwind_var mpar; +}; #ifdef DEBUG_DIAGNOSTICS void mg_report_random_maps(FILE *outf, const level_id &place); -- cgit v1.2.3-54-g00ecf