summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.cc
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-07-14 22:30:16 -0500
committergammafunk <gammafunk@gmail.com>2014-07-15 06:01:39 -0500
commit11ddf13ad30d7346ec1672fd8f0899e2a273d6ad (patch)
tree94d045fba053ca2b338dc84e392726804320f68f /crawl-ref/source/dbg-maps.cc
parent6b722515e433a64eb40464930ef7e2b5ef7a3eed (diff)
downloadcrawl-ref-11ddf13ad30d7346ec1672fd8f0899e2a273d6ad.tar.gz
crawl-ref-11ddf13ad30d7346ec1672fd8f0899e2a273d6ad.zip
Add min, max, and standard deviation to objstat number fields
For the basic counting field of each item and monster type, find the minimum, maximum, and sample standard deviation over the iterations.
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r--crawl-ref/source/dbg-maps.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc
index ddb443adb3..7074eb1309 100644
--- a/crawl-ref/source/dbg-maps.cc
+++ b/crawl-ref/source/dbg-maps.cc
@@ -252,6 +252,8 @@ void mapstat_build_levels(int niters)
init_level_connectivity();
if (!_build_dungeon())
break;
+ if (crawl_state.obj_stat_gen)
+ objstat_iteration_stats();
}
}