From 7c6b9c70e049c9413046a0f4ded90f67b7c71234 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Wed, 28 Jan 2009 08:38:42 +0000 Subject: Move the monster dumping code from state.cc to debug.cc, and dump to stderr to reduce the need to pass a file pointer all over the place. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8837 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/debug.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/debug.h') diff --git a/crawl-ref/source/debug.h b/crawl-ref/source/debug.h index 1e23f14eb9..acf3dd1f27 100644 --- a/crawl-ref/source/debug.h +++ b/crawl-ref/source/debug.h @@ -145,4 +145,9 @@ bool get_item_by_name(item_def *item, char* specs, bool create_for_real = false); void do_crash_dump(); + +std::string debug_coord_str(const coord_def &pos); +std::string debug_mon_str(const monsters* mon); +void debug_dump_mon(const monsters* mon, bool recurse); + #endif -- cgit v1.2.3-54-g00ecf