summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-15 23:17:59 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2009-12-16 00:37:56 +0100
commiteafd79ae664bb6e38f4ddcd97fda1ef60570e0e1 (patch)
tree3e264a6a5a1d971925e9a55fabd6f84e64d79315 /crawl-ref/source/effects.h
parent88cc1ee26273aa1b2030efaabba3b5886125df07 (diff)
downloadcrawl-ref-eafd79ae664bb6e38f4ddcd97fda1ef60570e0e1.tar.gz
crawl-ref-eafd79ae664bb6e38f4ddcd97fda1ef60570e0e1.zip
Don't mark books acquired during acquirement statistics as "seen".
This _could_ be useful for the question "Which books can I expect to have seen after N acquirements?" However, when running the acquirement statistics I prefer a slightly different question: "What are the chances of getting a certain book in this precise situation?" Don't know which of the two is the "correct" one, but I think it is annoying if I have to recreate a character for my book acquirement statistics just because the old one already "saw" all interesting spells, thus heavily skewing the results.
Diffstat (limited to 'crawl-ref/source/effects.h')
-rw-r--r--crawl-ref/source/effects.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/effects.h b/crawl-ref/source/effects.h
index c430e17be2..dbabe6cd48 100644
--- a/crawl-ref/source/effects.h
+++ b/crawl-ref/source/effects.h
@@ -55,12 +55,12 @@ void collect_radius_points(std::vector<std::vector<coord_def> > &radius_points,
void random_uselessness(int scroll_slot = -1);
bool acquirement(object_class_type force_class, int agent,
- bool quiet = false, int *item_index = NULL);
+ bool quiet = false, int *item_index = NULL,
+ bool debug = false);
int acquirement_create_item(object_class_type class_wanted,
- int agent,
- bool quiet,
- const coord_def &pos);
+ int agent, bool quiet,
+ const coord_def &pos, bool debug = false);
bool recharge_wand(const int item_slot = -1);