summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-29 19:44:39 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-29 19:44:39 +0000
commite66c77b50df3c0c91837b52b9e61c8235a96c685 (patch)
treee780b4b6696564f4cf3a5763987bd776ff064537 /crawl-ref/source/stuff.h
parent4dc30336a62ec7e8261253fc0b9c0674efda1555 (diff)
downloadcrawl-ref-e66c77b50df3c0c91837b52b9e61c8235a96c685.tar.gz
crawl-ref-e66c77b50df3c0c91837b52b9e61c8235a96c685.zip
Apply caotto's neat patch to make toadstools grow on or around corpses.
Obviously, this might affect food balance and Necromancy. Tweaks may be necessary, but overall this looks good. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10077 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 96d54af6e6..11a6cff013 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -43,6 +43,8 @@ int bestroll(int max, int rolls);
int roll_dice(int num, int size);
void scale_dice(dice_def &dice, int threshold = 24);
+int binomial_generator(unsigned n_trials, unsigned trial_prob);
+
// Various ways to iterate over things.
// stack_iterator guarantees validity so long as you don't manually