summaryrefslogtreecommitdiffstats
path: root/src/MersenneTwister.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-19Migrated random generators to std::randomTiger Wang1-456/+0
2014-10-12convert old style casts to fix warningsSteven Riehl1-22/+22
2014-03-10Fixed MTRand warningsTycho1-4/+4
2014-03-09Be more parinoid about int sizesTycho1-2/+0
2014-03-09Fixed Mesannine twister to use UInt32Tycho1-1/+3
2014-02-26Attempted fix for several GCC warnings.madmaxoft1-1/+1
2014-02-01Removed register keyword from Messinne TwisterTycho1-26/+26
Removed register as it is meaningless in c++ and causes a depreciated warning in clang 3.4 in c++ mode for va_copy
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-456/+456
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10Fixed a few obsoleted functionsmadmaxoft@gmail.com1-2/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@397 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-03MCServer should be running fast again on Linux!! YAAAY!!faketruth1-0/+3
It seems the intialization of MersenneTwister was really slow on Linux because it did some file reading. Doing this 200 times a tick can be pretty slow... StringUtils didn't compile in Cygwin due to missing va_list definition git-svn-id: http://mc-server.googlecode.com/svn/trunk@230 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-26 - Linux compatible fixes including updated makefilemtilden@gmail.com1-1/+1
- Mersenne Twister still says uint32 but it's now signed for compatibility with random uses needing negative values - Server seed is sent to clients, but needs to be able to be signed long long later on for authentic reasons - Protocol Version is required to match to ensure client compatibility, this should probably have a settings.ini check as well as store the value there git-svn-id: http://mc-server.googlecode.com/svn/trunk@121 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-25Code improvementslapayo94@gmail.com1-0/+454
Fixed authentication (Can be activated now) Added MersenneTwister.h Thanks to mtilden ( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6