From be871d682e8087ab38c5e9e054190daf6f81fff2 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Fri, 6 Nov 2009 19:26:31 -0800 Subject: Split up debug.cc --- crawl-ref/source/dbg-maps.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 crawl-ref/source/dbg-maps.h (limited to 'crawl-ref/source/dbg-maps.h') 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 -- cgit v1.2.3-54-g00ecf