summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2009-11-11(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a ↵rubidium
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'. We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t). This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
2009-11-11(svn r18042) -Cleanup: remove some stale commentsrubidium
2009-11-11(svn r18040) -Codechange: the size parameter (if it's that actually) isn't ↵rubidium
needed for the delete operator
2009-10-21(svn r17839) -Codechange: implement the concept of 'caching' pool items to ↵rubidium
pools, that is instead of 'free' push the unused items in a linked list and use them on 'malloc'. Also add the concept of zeroing, or actually not zeroing, on new for pool items.
2009-10-21(svn r17838) -Document: the Pool struct's template parametersrubidium
2009-10-17(svn r17790) -Feature: translatable base sound/graphics set descriptionsrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-14(svn r17541) -Feature: Filtering in Add-NewGRF dialog.frosch
2009-09-13(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDsrubidium
2009-09-13(svn r17527) -Codechange: use QSortT instead of qsort for sorting smallmapsrubidium
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-05(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing ↵smatz
item from the pool
2009-07-04(svn r16736) -Codechange: give some station enums a name and use that ↵rubidium
instead of 'byte'.
2009-07-01(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't ↵smatz
warn when used inside function
2009-06-28(svn r16684) -Codechange: Add maxdim function for Dimension struct.alberth
2009-06-27(svn r16677) -Codechange: Dimension width and height are unsigned.alberth
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-19(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of ↵smatz
functions in mem_func.hpp
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