summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random.h
Commit message (Expand)AuthorAgeFilesLines
* Remove an unused and bizarre functionNicholas Feinberg2014-07-011-1/+0
* Revert "Make random_choose_weighted() end on -1 weight"reaverb2014-06-101-2/+1
* Make random_choose_weighted() end on -1 weightreaverb2014-06-101-1/+2
* Rename percent_chance() decimal_chance() (|amethyst)reaverb2014-05-181-1/+1
* New function: percent_chance()reaverb2014-05-101-0/+1
* Remove 3 useless functions (|amethyst)reaverb2014-05-101-1/+0
* Staticify (_random_real_inc)reaverb2014-05-101-1/+0
* Staticify (_random_real_avg)reaverb2014-05-101-1/+0
* Remove an error-prone dice_def constructor.Neil Moore2013-11-221-1/+2
* Refactor additional messages for new monsters spawning.Adam Borowski2013-10-271-0/+2
* Use vector.empty() for emptiness tests.Adam Borowski2013-10-171-1/+1
* Don't crash when shuffling length-0 vectors (xFleury)Neil Moore2013-10-161-1/+3
* s/random3/ui_random/Adam Borowski2013-10-061-1/+1
* random3(), with a different RNG state.Adam Borowski2013-10-061-0/+2
* Rename rng.cc to hash.ccAdam Borowski2013-10-061-2/+1
* Don't wrap low-level RNG calls twice.Adam Borowski2013-10-061-0/+4
* Remove unused code for a RNG stack.Adam Borowski2013-10-061-8/+0
* Get rid of random_shuffle().Adam Borowski2013-09-101-0/+19
* Increase enchantment on weapon randarts.elliptic2013-08-261-0/+1
* Add new random functions random_real_inc, random_real_avg, random_range_realPete Hurst2013-06-231-0/+3
* Doxygenate the documentation in random.hSamuel Bronson2013-03-251-24/+28
* Use std namespace.Raphael Langella2012-08-261-2/+2
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-2/+2
* Use templates for random_choose() to eliminate the need for multiple definiti...Adam Borowski2011-10-311-7/+54
* Simplify use of random_choose() by using overloading.Adam Borowski2011-10-311-0/+4
* Give you.skill() a "scale" argument for partial skills, make callers use it.Adam Borowski2011-09-191-0/+1
* Fix the rate of felling trees depending on action speed.Adam Borowski2011-07-071-0/+2
* Get rid of some more longs.Adam Borowski2011-01-301-2/+2
* Massive spacing fixes: "( spaces after parentheses )".Adam Borowski2010-10-151-2/+2
* AC/EV changes as outlined on CDO wiki.Darshan Shaligram2010-01-241-0/+1
* Fix newlines at end of file.Adam Borowski2010-01-211-1/+0
* Implement weighted choice from array.Robert Vollmert2009-11-141-0/+1
* random.h: More comments for defer_randMatthew Cline2009-11-081-0/+10
* A nifty new abstraction for the RNG: defer_randStefan O'Rear2009-11-081-0/+35
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+76