Commit Graph

22 Commits (990045e2b388b564de60f86909338ec8332d3112)

Author SHA1 Message Date
rubidium 43c8073551 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
frosch 83bcde6da4 (svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so generally extent it to handle 32 bits. 14 years ago
frosch 80db03aef7 (svn r19643) -Fix (r19120): Industry generation failed for large maps and lots of industry types. 14 years ago
rubidium 88aae13b35 (svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed compiling (planetmaker) 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 043c3c8b06 (svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions. 15 years ago
smatz e54aca7905 (svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo) 15 years ago
frosch 870e234d23 (svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform the formula to not use divisions. 15 years ago
frosch 92f3c368b8 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
skidd13 6169c3fc17 (svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken 16 years ago
skidd13 8b7d893d85 (svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead) 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
skidd13 b93a612dfd (svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future 16 years ago
smatz 7d45415b3d (svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now 17 years ago
rubidium 1b7051768c (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
glx bba1a62db1 (svn r11914) -Documentation: fix some @file statement 17 years ago
rubidium 7f037d15d7 (svn r11704) -Codechange: remove another bunch of useless includes. 17 years ago
skidd13 fec9cd587c (svn r11687) -Codechange: move some defines to a better place 17 years ago
skidd13 e36dba227b (svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
17 years ago
skidd13 f26e908466 (svn r11489) -Fix r11488: Somehow the code was added multiple times 17 years ago
skidd13 039570342d (svn r11488) -Codechange: Spilt the random functions out to seperate file
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
17 years ago