Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make a sign conversion explicit. | Neil Moore | 2014-06-27 | 1 | -1/+1 |
| | |||||
* | Assert that we don't use more RNGs than we have. | Neil Moore | 2014-06-26 | 1 | -0/+2 |
| | |||||
* | Drop unnecessary parentheses from return statements. | Adam Borowski | 2013-11-15 | 1 | -1/+1 |
| | |||||
* | random3(), with a different RNG state. | Adam Borowski | 2013-10-06 | 1 | -5/+17 |
| | | | | | | Works same as random2(). Also, stops valgrind from kvetching about unfreed asg state. | ||||
* | Remove unused code for a RNG stack. | Adam Borowski | 2013-10-06 | 1 | -21/+0 |
| | | | | | Nothing uses it as a hash anymore; and if it did, you can have more than one RNG object at once. | ||||
* | Typecast to signed when doing sign negation. | Adam Borowski | 2013-05-15 | 1 | -1/+1 |
| | | | | Hushes a MSVC warning. | ||||
* | Use std namespace. | Raphael Langella | 2012-08-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | I had to rename distance() (in coord.h) to distance2() because it conflicts with the STL function to compare 2 iterators. Not a bad change given how it returns the square of the distance anyway. I also had to rename the message global variable (in message.cc) to buffer. I tried to fix and improve the coding style has much as I could, but I probably missed a few given how huge and tedious it is. I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool and util/levcomp.*, because I have no clue about those. | ||||
* | Fixing a RNG error | Brendan Hickey | 2011-12-30 | 1 | -1/+1 |
| | |||||
* | Consistently use a space after flow control statements. | Adam Borowski | 2011-12-02 | 1 | -1/+1 |
| | |||||
* | Adjust some whitespace and formatting. | Adam Borowski | 2011-07-08 | 1 | -1/+3 |
| | |||||
* | Fix a memory leak. | Adam Borowski | 2011-05-25 | 1 | -0/+1 |
| | |||||
* | Swapped MT19937 for a 160-bit hybrid alternating step generator | Brendan Hickey | 2011-04-08 | 1 | -0/+88 |