summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/rng.cc
Commit message (Collapse)AuthorAgeFilesLines
* Implement rng pushing and popping for sha256 hardened prng (Adeon)Robert Vollmert2009-12-141-0/+20
| | | | | | | | the rng.cc used to call just push_mt_state which bypassed the hashing process and didn't return the state as it was after popping the state Fixes bug #52.
* rng.cc: seed_rng() also calls srand()Matthew Cline2009-11-111-0/+6
| | | | Call srand() when seeding the RNG, since std::random_suffle uses rand()
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+91
New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.