summaryrefslogtreecommitdiff
path: root/src/z-rand.hpp
Commit message (Collapse)AuthorAge
* Migrate all headers to C++-onlyBardur Arantsson2019-02-15
|
* Add asserts to uniform_element()Bardur Arantsson2019-02-15
| | | | | This will make attempts to use it on empty containers fail in a more obvious way.
* Add random-access container shuffle to z-randBardur Arantsson2018-03-25
|
* Generalize uniform_element() to C++11Bardur Arantsson2018-03-25
| | | | This permits usage with more container types, such as unordered_map.
* Use cbegin() instead of begin() in uniform_element()Bardur Arantsson2016-10-05
|
* Replace RNG with PCG random number generatorBardur Arantsson2016-09-17
|
* Add uniform_element() to z-randBardur Arantsson2016-09-17
|
* Comment fix for rand_int()Bardur Arantsson2016-06-20
|
* Migrate z-rand.c to C++Bardur Arantsson2015-12-11
- Include explicitly instead of via angband.h - Change to regular functions instead of macros.