summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-maps.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-06 19:26:31 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-06 19:26:31 -0800
commitbe871d682e8087ab38c5e9e054190daf6f81fff2 (patch)
treee31a44ad0f851c3946f6d665021bb9b206dd5a66 /crawl-ref/source/dbg-maps.h
parent8051b93a756f55ba7985f4e6ffe4a833ce0b41cb (diff)
downloadcrawl-ref-be871d682e8087ab38c5e9e054190daf6f81fff2.tar.gz
crawl-ref-be871d682e8087ab38c5e9e054190daf6f81fff2.zip
Split up debug.cc
Diffstat (limited to 'crawl-ref/source/dbg-maps.h')
-rw-r--r--crawl-ref/source/dbg-maps.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.h b/crawl-ref/source/dbg-maps.h
new file mode 100644
index 0000000000..d2058e2ec5
--- /dev/null
+++ b/crawl-ref/source/dbg-maps.h
@@ -0,0 +1,21 @@
+/*
+ * File: dbd-maps.h
+ * Summary: Map generation statistics/testing.
+ * Written by: Linley Henzell and Jesse Jones
+ */
+
+#ifndef DBGDGN_H
+#define DBGDGN_H
+
+#ifdef DEBUG_DIAGNOSTICS
+void generate_map_stats();
+
+class map_def;
+void mapgen_report_map_try(const map_def &map);
+void mapgen_report_map_use(const map_def &map);
+void mapgen_report_error(const map_def &map, const std::string &err);
+void mapgen_report_map_build_start();
+void mapgen_report_map_veto();
+#endif
+
+#endif