summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random.cc
Commit message (Expand)AuthorAgeFilesLines
* Rename a variable (decimal_chance())reaverb2014-08-111-2/+2
* Restore div_round_up()Nicholas Feinberg2014-07-281-0/+5
* Refactor bernoulli a bit.Neil Moore2014-07-041-1/+1
* Remove an unused and bizarre functionNicholas Feinberg2014-07-011-13/+0
* Deduplicate some code.Neil Moore2014-06-261-16/+9
* Chance function(void) to function()reaverb2014-05-241-1/+1
* Rename percent_chance() decimal_chance() (|amethyst)reaverb2014-05-181-1/+1
* New function: percent_chance()reaverb2014-05-101-0/+5
* Remove 3 useless functions (|amethyst)reaverb2014-05-101-25/+0
* Staticify (_random_real_inc)reaverb2014-05-101-2/+2
* Staticify (_random_real_avg)reaverb2014-05-101-2/+2
* Fix ui_random() using the main random generator.Adam Borowski2013-12-011-1/+1
* More formatting fixes for return (...);Neil Moore2013-11-151-7/+7
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-9/+9
* Refactor additional messages for new monsters spawning.Adam Borowski2013-10-271-0/+24
* s/random3/ui_random/Adam Borowski2013-10-061-1/+1
* random3(), with a different RNG state.Adam Borowski2013-10-061-0/+18
* Don't wrap low-level RNG calls twice.Adam Borowski2013-10-061-5/+47
* Increase enchantment on weapon randarts.elliptic2013-08-261-0/+13
* Add new random functions random_real_inc, random_real_avg, random_range_realPete Hurst2013-06-231-0/+25
* Drop a bunch of useless uses of this->Adam Borowski2012-07-101-1/+1
* Remove parentheses around return (simple_function_call).Adam Borowski2012-07-051-2/+2
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-17/+17
* Use templates for random_choose() to eliminate the need for multiple definiti...Adam Borowski2011-10-311-77/+3
* Simplify use of random_choose() by using overloading.Adam Borowski2011-10-311-11/+39
* Give you.skill() a "scale" argument for partial skills, make callers use it.Adam Borowski2011-09-191-0/+11
* Document lower and upper limits of random functions.Adam Borowski2011-09-191-1/+15
* Fix the rate of felling trees depending on action speed.Adam Borowski2011-07-071-0/+16
* cppcheck: reduce scope of some variables.Adam Borowski2011-07-051-2/+1
* Merge branch 'master' into unicodeAdam Borowski2011-03-131-2/+2
|\
| * Typo.Raphael Langella2011-01-281-2/+2
* | Fix tiles compilation.Adam Borowski2010-09-261-1/+0
|/
* Fix spacing.Robert Vollmert2010-07-291-1/+1
* Optimize div_rand_round() by avoiding the costly random2() call when unnecess...Adam Borowski2010-05-181-1/+5
* random.cc: fix 'warning: "UINT32_MAX" redefined' on Mac OS XSteven Noonan2010-05-061-0/+2
* Make sure maybe_random2 doesn't return negative values.Robert Vollmert2010-03-051-0/+2
* AC/EV changes as outlined on CDO wiki.Darshan Shaligram2010-01-241-0/+8
* Monster respawn rate reduces after 3k turns on level, respawning ends after 1...Darshan Shaligram2010-01-221-4/+2
* Make types and bounds in random2 a bit more explicit.Robert Vollmert2009-11-101-5/+7
* Fix compile (stdint.h needed for uint*_t).Darshan Shaligram2009-11-091-0/+1
* Remove the bias from random2()Stefan O'Rear2009-11-081-1/+10
* Fix a stupid bug in defer_rand::random2avgStefan O'Rear2009-11-081-2/+2
* A nifty new abstraction for the RNG: defer_randStefan O'Rear2009-11-081-0/+76
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+263