summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-06-13(svn r19970) -Fix (r14742): SmallMap::Insert() did not compile. Construct ↵frosch
new items like operator[].
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-30(svn r19909) -Doc: Typo fixes, small doxygen improvements.alberth
2010-05-11(svn r19789) -Add [FS#3519]: a typed FOR_EACH_SET_BIT (adf88)rubidium
2010-05-11(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the ↵rubidium
passed bit variable, i.e. allow expressions as parameter
2010-04-18(svn r19671) -Fix (r19670): RoundDiv() needs to deal with signed numerators.frosch
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-04-17(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so ↵frosch
generally extent it to handle 32 bits.
2010-04-16(svn r19643) -Fix (r19120): Industry generation failed for large maps and ↵frosch
lots of industry types.
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-04-11(svn r19605) -Codechange: Merge ExtractBits into EnumPropsT.frosch
2010-02-14(svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed ↵rubidium
compiling (planetmaker)
2010-02-13(svn r19125) -Fix (r18809): Compiling with desync-debug failed.frosch
2010-02-05(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() ↵smatz
instead of CountBits() where possible
2010-02-03(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain ↵rubidium
about
2010-02-03(svn r18993) -Codechange: allow allocating multiple items in a SmallVector ↵rubidium
with one call.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-26(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, ↵smatz
it's used quite often in the code -Revert (r18637): it's not needed any more
2009-12-25(svn r18633) -Codechange: fortify SmallVector a bit moresmatz
2009-12-15(svn r18508) -Fix [FS#3372]: if a rail station class had less data than ↵rubidium
capacity it would try to set a negative position
2009-12-09(svn r18443) -Fix (r18438): MSVC thinks, in it's infinite wisdom, that int ↵rubidium
min(int, int) is a better match for min(uint64, uint) than uint64 min(uint64, uint64). As such we need to cast the UINT16_MAX to prevent MSVC from displaying it's infinite wisdom with loads of warnings.
2009-12-09(svn r18438) -Codechange [FS#3337]: introduce a template for Clamp ↵rubidium
(fonsinchen) and reuse template functions in their non-template counterparts.
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