diff options
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r-- | crawl-ref/source/maps.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h index 676d468190..6c098d11c4 100644 --- a/crawl-ref/source/maps.h +++ b/crawl-ref/source/maps.h @@ -16,6 +16,8 @@ #include "dungeon.h" #include "mapdef.h" +#include <vector> + class map_def; struct vault_placement { @@ -23,17 +25,19 @@ struct vault_placement int width, height; int orient; map_def map; + std::vector<coord_def> exits; vault_placement() - : x(-1), y(-1), width(0), height(0), map() + : x(-1), y(-1), width(0), height(0), map(), + exits() { } }; int vault_main(map_type vgrid, - vault_placement &vp, - int vault_force, - int many_many); + vault_placement &vp, + int vault_force, + std::vector<vault_placement> *avoid_vaults = NULL); const map_def *map_by_index(int index); int random_map_for_place(const std::string &place, bool mini = false); |