frosch
f7826f8a37
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
16 years ago
rubidium
c5a4e90338
(svn r13910) -Document: string drawing related functions and types (Alberth)
16 years ago
peter1138
6e0af9fdfe
(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file.
16 years ago
rubidium
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
smatz
114c820c56
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
...
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
17 years ago
skidd13
b4ef380c49
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
17 years ago
skidd13
640e547886
(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead)
17 years ago
skidd13
2f65d35ead
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
17 years ago
smatz
9da745b381
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
17 years ago
skidd13
03854bf27c
(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>
17 years ago
skidd13
96fc91baf3
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
17 years ago
smatz
bd5067b5a0
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
17 years ago
glx
6e6014918e
(svn r13273) -Fix [FS#2042]: MSVC warnings (again)
17 years ago
rubidium
d03994098b
(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.
17 years ago
rubidium
72eb1f100b
(svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth.
17 years ago
rubidium
91fa34ea11
(svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints.
17 years ago
smatz
14dc60c8a1
(svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions
17 years ago
rubidium
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
17 years ago
rubidium
c31287206d
(svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
17 years ago
rubidium
9a73b698d4
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
17 years ago
smatz
fb379b522d
(svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp
17 years ago
smatz
a7d885e4c6
(svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work
17 years ago
rubidium
8e83627991
(svn r12536) -Codechange: some stack allocations were too large for NDS, so 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).
17 years ago
skidd13
9d914a803c
(svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future
17 years ago
rubidium
67c1e00aea
(svn r12438) -Fix-ish: typo spotted by Biblo.
17 years ago
smatz
db9d5a909f
(svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets
17 years ago
smatz
ca46154068
(svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value
17 years ago
smatz
b4f58ebae4
(svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now
17 years ago
smatz
f19eca0905
(svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size
17 years ago
rubidium
20e9abed47
(svn r12050) -Fix: random_func broke for desync debug.
17 years ago
rubidium
3b2145aafe
(svn r12004) -Codechange: refactor the random functions to reduce code duplication.
17 years ago
rubidium
59ec5e62ce
(svn r11943) -Codechange: add and use a simple structure to support small stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack.
17 years ago
glx
b7f50533c2
(svn r11914) -Documentation: fix some @file statement
17 years ago
rubidium
0b1d3e43e5
(svn r11704) -Codechange: remove another bunch of useless includes.
17 years ago
rubidium
0bd93f5c37
(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
17 years ago
skidd13
7963963d98
(svn r11695) -Codechange: Converted the md5 algorithm to OOP
...
-Codechange: Adapt the md5 algorithm to the OpenTTD source
17 years ago
rubidium
b3f6c0734b
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
egladil
22f79df328
(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
17 years ago
skidd13
da5d3a7b3b
(svn r11687) -Codechange: move some defines to a better place
17 years ago
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
17 years ago
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
17 years ago
rubidium
d5c4ba8246
(svn r11673) -Codechange: move the overflow safe type to a separate file.
17 years ago
rubidium
f56a354d31
(svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies.
17 years ago
smatz
93c3e0d6ad
(svn r11652) -Codechange: add the svn $ header for several files
17 years ago
rubidium
214d25905a
(svn r11640) -Fix: missed change of include when moving stuff to random_func.cpp
17 years ago
rubidium
a1dbb10c26
(svn r11616) -Fix [FS#1526]: sometimes large values could go off the chart.
17 years ago
skidd13
82913a2134
(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style
17 years ago
rubidium
faf096f506
(svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high company values.
17 years ago