summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random-pick.h
Commit message (Expand)AuthorAgeFilesLines
* Allow the random picker to choose enums with a valid value of 0.Adam Borowski2013-11-251-1/+1
* Multiply before division, not after.Adam Borowski2013-06-261-4/+4
* Scale the calculations in mon-pick by 2520.Adam Borowski2013-06-261-1/+3
* Revert "Don't fail random pick on 0 rarity"Adam Borowski2013-06-261-4/+1
* Don't fail random pick on 0 rarityPete Hurst2013-06-261-1/+4
* A slightly more descriptive ASSERT for random-pickPete Hurst2013-06-241-1/+1
* Add a virtual deconstructor for random_picker (|amethyst)Pete Hurst2013-06-231-0/+6
* Refactor random-pick eliminating two globals from mon-place.ccPete Hurst2013-06-231-6/+4
* Rework mon-pick algorithm as a class templatePete Hurst2013-06-231-0/+113