summaryrefslogtreecommitdiff
path: root/src/common/utils.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-30Rename files for C++ conversion. Does not compile.Ben Longbons1-18/+0
After updating, you can remove these files, as shown in 'git status': Untracked files: (use "git add <file>..." to include in what will be committed) src/map/magic-interpreter-lexer.c src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.h
2011-03-24Optimize common objects, and adjust other objects accordingly.Ben Longbons1-35/+14
Major changes still need to be made to each of the servers.
2009-12-26Used the "indent" C formatting program from GNU to do some clean upsChuck Miller1-9/+6
The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
2009-09-17MRAND now wraps its modulo parameter in parentheses to avoid misassociationFate1-1/+1
2009-08-30MRAND() no longer uses high-order bitsMadCamel1-3/+2
2009-08-29Converted to Mersenne Twister for random.MadCamel1-1/+2
Randomerer! Also: Fixed a security problem. Can you find it?
2008-11-03Rename MMRAND to MPRAND and clarify in a comment how it works exactly. These ↵Dennis Friis1-2/+9
are purpose-specific replacements for the vast usage of rand() with modulo and using high-order bits instead.
2008-11-03Add 2 defines for rand() that uses hi-order bits to get slighty better ↵Dennis Friis1-0/+2
pseudo-random numbers
2008-04-02initial checkinDennis Friis1-0/+33