From e66c77b50df3c0c91837b52b9e61c8235a96c685 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 29 Jun 2009 19:44:39 +0000 Subject: 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 --- crawl-ref/source/stuff.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/stuff.h') 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 -- cgit v1.2.3-54-g00ecf