summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-14(svn r16305) -Codechange: force-enable extra sync checking when random ↵rubidium
debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
2009-05-13(svn r16295) -Fix: ICC defined __GNUC__ but does not define ↵rubidium
__builtin_bswap32, so fall back to the default swap method for ICC.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-04-25(svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo)smatz
2009-04-23(svn r16130) -Fix [FS#2855]: the overflowsafe type didn't like dividing by ↵rubidium
int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs.
2009-04-09(svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform ↵frosch
the formula to not use divisions.
2009-04-03(svn r15931) -Codechange: let the host and ban lists use of SmallVector.rubidium
2009-03-21(svn r15777) -Add: helper functions to get the least common multiple and the ↵rubidium
greatest common divisor (Alberth)
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-09(svn r15649) -Fix (r15556): don't unnecessarily reallocaterubidium
2009-03-03(svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large ↵rubidium
sprite as cursor.
2009-02-24(svn r15571) -Fix: incorrect use of memsetsmatz
2009-02-23(svn r15556) -Change: don't temporary malloc+free when encoding sprites, ↵rubidium
just reuse the same piece of allocated memory for each encoding.
2009-02-17(svn r15508) -Fix: three header files had incorrect ↵smatz
'anti-multiple-inclusion' header
2009-02-11(svn r15447) -Codechange: void functions don't tend to return true if and ↵peter1138
only if anyway
2009-02-11(svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". ↵belugas
So not much of a typo. Thanks, Yexo. I feel less ignorant today :D
2009-02-11(svn r15445) -Fix: little typosbelugas
2009-02-03(svn r15324) -Codechange: unify the class used for comparing of strings for ↵smatz
std::map
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-29(svn r15291) -Cleanup: Move the station list widgets to their class from ↵Yexo
station_gui.h -Fix: comment for ReallocT was wrong, the memory is not zeroed.
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.
2009-01-12(svn r15031) -Fix (r15027): merge reverted r15026, so do it once againsmatz
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2009-01-12(svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the ↵smatz
SpriteCache struct in order to make it smaller
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-08(svn r14910) -Codechange: merge the command queue handling into a single ↵rubidium
location
2008-12-30(svn r14776) -Fix (r14742): ListPositionMap relied on std::map having sorted ↵peter1138
the map, which is now done by a manual key sorter on SmallMap. This fixes engine ID list sorting.
2008-12-28(svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug ↵rubidium
code :(
2008-12-26(svn r14742) -Codechange: use SmallMap in two cases to reduce compilation ↵smatz
time and binary size
2008-12-20(svn r14704) -Codechange: Add set capabilities to SmallVector.frosch
2008-12-13(svn r14669) -Codechange: use SmallVector instead of std::list at one placesmatz
2008-10-18(svn r14486) -Fix (r13343)(r14484): compilation with desync debug was brokensmatz
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-02(svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3smatz
2008-08-16(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the ↵frosch
autoreplace kernel.
2008-08-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
2008-07-22(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the ↵peter1138
NewGRF window. Presets are saved in the config file.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-06-26(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and ↵smatz
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.
2008-06-22(svn r13607) -Fix (r13606): some coding style issues got fixed but some ↵skidd13
got/stayed broken
2008-06-22(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default ↵skidd13
for core functions (big functions use just inline instead)
2008-06-19(svn r13575) -Codechange: Move small vector to core since it fits better in ↵skidd13
there -Codechange: convert smallvector from struct to class
2008-06-17(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if ↵smatz
TTD_[BIG/LITTLE]_ENDIAN is defined
2008-06-14(svn r13517) -Add: remaining used typesafe versions of the mem* functions ↵skidd13
from <string.h>
2008-06-14(svn r13516) -Codechange: Move MemCpyT to a fitting core headerskidd13
-Codechange: Split the sorting code from the sortlist to an appropriate header
2008-06-10(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most placessmatz
2008-05-26(svn r13273) -Fix [FS#2042]: MSVC warnings (again)glx
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.