summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.h
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-06-14 08:22:47 -0500
committergammafunk <gammafunk@gmail.com>2014-06-25 20:50:43 -0500
commitf1909d2967591ffdf556ca62d31855aa09329ad8 (patch)
tree4f9750c458d4010af4ec1666ee28e37bb33fd25a /crawl-ref/source/dbg-maps.h
parent90c77aa1b4edc6e6c1c008e5a3cc634e002ea253 (diff)
downloadcrawl-ref-f1909d2967591ffdf556ca62d31855aa09329ad8.tar.gz
crawl-ref-f1909d2967591ffdf556ca62d31855aa09329ad8.zip
objstat: Item and monster generation statistics
The -objstat command-line option will generate iterations of the given levels, compiling stats on every item and monster generated, and average the results over the iterations. It's only available in debug builds and uses the same map specification format as -mapstat. The default number of iterations is 100.
Diffstat (limited to 'crawl-ref/source/dbg-maps.h')
-rw-r--r--crawl-ref/source/dbg-maps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-maps.h b/crawl-ref/source/dbg-maps.h
index 170d183d74..7120cc8135 100644
--- a/crawl-ref/source/dbg-maps.h
+++ b/crawl-ref/source/dbg-maps.h
@@ -8,7 +8,6 @@
#ifdef DEBUG_DIAGNOSTICS
-
class map_def;
void mapstat_report_map_try(const map_def &map);
void mapstat_report_map_use(const map_def &map);
@@ -16,6 +15,7 @@ void mapstat_report_error(const map_def &map, const string &err);
void mapstat_report_map_build_start();
void mapstat_report_map_veto();
void mapstat_generate_stats();
+void mapstat_build_levels(int niters);
#endif
#endif