diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-08 21:40:41 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-08 21:40:41 +0000 |
commit | 9daed15a2ae8a8cf8c2330dc57f64c6afea09bea (patch) | |
tree | aac7f1ba97e14518056f9a1ba109e8bb5c9b9811 /crawl-ref/source/dungeon.cc | |
parent | ccd8ab9d731d18d9fa3d6c29ed6bb9c8ab220c5d (diff) | |
download | crawl-ref-9daed15a2ae8a8cf8c2330dc57f64c6afea09bea.tar.gz crawl-ref-9daed15a2ae8a8cf8c2330dc57f64c6afea09bea.zip |
Tweak map stat output, fixed a couple of bugs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1806 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.cc')
-rw-r--r-- | crawl-ref/source/dungeon.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index b7229487e3..bef7c19ec7 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -2665,6 +2665,11 @@ static bool build_minivaults(int level_number, int force_vault) vault_zones.push_back( dgn_region(place.x, place.y, place.width, place.height)); +#ifdef DEBUG_DIAGNOSTICS + if (crawl_state.map_stat_gen) + mapgen_report_map_use(place.map); +#endif + apply_place_masks(place); // these two are throwaways: @@ -3087,6 +3092,11 @@ static bool build_vaults(int level_number, int force_vault, int rune_subst, vault_zones.push_back( dgn_region(place.x, place.y, place.width, place.height)); +#ifdef DEBUG_DIAGNOSTICS + if (crawl_state.map_stat_gen) + mapgen_report_map_use(place.map); +#endif + // If the map takes the whole screen or we were only requested to // build, our work is done. if (gluggy == MAP_ENCOMPASS || build_only) |