summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/chardump.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-29 11:47:50 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-29 11:47:50 +0000
commit2931994db5281c12610cf08647175863622f5f78 (patch)
treeee9e9c54850943e88aa90604b78a26a62d77bb7f /crawl-ref/source/chardump.cc
parent141b28bcbc8ffbf643010ff2071d96ea824d90e1 (diff)
downloadcrawl-ref-2931994db5281c12610cf08647175863622f5f78.tar.gz
crawl-ref-2931994db5281c12610cf08647175863622f5f78.zip
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
Diffstat (limited to 'crawl-ref/source/chardump.cc')
-rw-r--r--crawl-ref/source/chardump.cc13
1 files changed, 5 insertions, 8 deletions
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 &section, 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);