summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | A defer_rand object stores random numbers in a resolution-independant fashion, providing interesting monotonicity guarantees. See the next patch for a good use.
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+76
New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.