summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2008-04-04(svn r12573) -Codechange: use defined constants instead of numbers in ↵smatz
math_func.hpp
2008-04-04(svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit ↵smatz
values didn't work
2008-04-01(svn r12536) -Codechange: some stack allocations were too large for NDS, so ↵rubidium
use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack).
2008-03-31(svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and ↵skidd13
won't be used in the future
2008-03-27(svn r12438) -Fix-ish: typo spotted by Biblo.rubidium
2008-02-20(svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targetssmatz
2008-02-20(svn r12192) -Fix: clamp various town variables to 16bit prior to returning ↵smatz
the value
2008-02-16(svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to ↵smatz
nearest now
2008-02-11(svn r12115) -Codechange: move malloc/realloc error messages to separate ↵smatz
file to spare 4-8kB of binary size
2008-02-03(svn r12050) -Fix: random_func broke for desync debug.rubidium
2008-01-29(svn r12004) -Codechange: refactor the random functions to reduce code ↵rubidium
duplication.
2008-01-22(svn r11943) -Codechange: add and use a simple structure to support small ↵rubidium
stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack.
2008-01-18(svn r11914) -Documentation: fix some @file statementglx
2007-12-26(svn r11704) -Codechange: remove another bunch of useless includes.rubidium
2007-12-25(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.rubidium
2007-12-25(svn r11695) -Codechange: Converted the md5 algorithm to OOPskidd13
-Codechange: Adapt the md5 algorithm to the OpenTTD source
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.egladil
2007-12-23(svn r11687) -Codechange: move some defines to a better placeskidd13
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-12-21(svn r11673) -Codechange: move the overflow safe type to a separate file.rubidium
2007-12-18(svn r11661) -Codechange: some header reworks in order to try to reduce the ↵rubidium
compile time of OpenTTD by reduce the amount of circular-ish dependencies.
2007-12-17(svn r11652) -Codechange: add the svn $ header for several filessmatz
2007-12-15(svn r11640) -Fix: missed change of include when moving stuff to random_func.cpprubidium
2007-12-10(svn r11616) -Fix [FS#1526]: sometimes large values could go off the chart.rubidium
2007-12-03(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and ↵skidd13
rename it fitting to the naming style
2007-12-02(svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high ↵rubidium
company values.
2007-11-26(svn r11527) -Codechange: Split the bitmath functions of to their own filesskidd13
2007-11-26(svn r11526) -Codechange: Rename the function delta fitting to the naming styleskidd13
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-22(svn r11490) -Codechange: Split the math functions to their own headerskidd13
-Codechange: Replace the rest of the math macros with functions
2007-11-21(svn r11489) -Fix r11488: Somehow the code was added multiple timesskidd13
2007-11-21(svn r11488) -Codechange: Spilt the random functions out to seperate fileskidd13
-Codechange: Make the mersenne twister more readable -Codechange: Unify the seeding process of random