From 2931994db5281c12610cf08647175863622f5f78 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sun, 29 Apr 2007 11:47:50 +0000 Subject: Removed dud verbose_dump and detailed_stat_dump options, and dead code in shopping.cc (Haran). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1395 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/chardump.cc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'crawl-ref/source/chardump.cc') diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index f7fef93fa2..2f7793ae84 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -87,7 +87,6 @@ static void sdump_lua(const std::string §ion, std::string &text); static bool write_dump(const std::string &fname, const std::string &text, bool full_id); static void dump_stats2( std::string & text, bool calc_unid); -static void dump_stats( std::string & text ); struct dump_section_handler { @@ -163,10 +162,7 @@ static void sdump_header(const std::string &, std::string &text) static void sdump_stats(const std::string &, std::string &text) { - if (Options.detailed_stat_dump) - dump_stats2(text, dump_full_id); - else - dump_stats(text); + dump_stats2(text, dump_full_id); } static void sdump_burden(const std::string &, std::string &text) @@ -354,6 +350,7 @@ static void sdump_screenshot(const std::string &, std::string &text) text += "\n\n"; } +#if 0 static void dump_stats( std::string & text ) { char st_prn[20]; @@ -487,6 +484,7 @@ static void dump_stats( std::string & text ) text += "\n"; text += "\n"; } // end dump_stats() +#endif //--------------------------------------------------------------- // @@ -707,11 +705,10 @@ static void sdump_inventory(const std::string &, std::string & text) text += "\n" " (" + origin_desc(you.inv[j]) + ")"; } - if (is_dumpable_artifact( you.inv[j], - Options.verbose_dump )) + if (is_dumpable_artifact( you.inv[j], false )) { text2 = get_item_description( you.inv[j], - Options.verbose_dump, + false, true ); text += munge_description(text2); -- cgit v1.2.3-54-g00ecf