diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-28 08:38:42 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-28 08:38:42 +0000 |
commit | 7c6b9c70e049c9413046a0f4ded90f67b7c71234 (patch) | |
tree | 8bfa0ad66adc7733d9a419996fcc4ee25a1a9d67 /crawl-ref/source/debug.h | |
parent | b8e35c83328bff1b2a3187ba08bf4c15b10078e4 (diff) | |
download | crawl-ref-7c6b9c70e049c9413046a0f4ded90f67b7c71234.tar.gz crawl-ref-7c6b9c70e049c9413046a0f4ded90f67b7c71234.zip |
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
Diffstat (limited to 'crawl-ref/source/debug.h')
-rw-r--r-- | crawl-ref/source/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |