summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-06Codechange: C++11 STL has a function for getting the number of CPU cores.Michael Lutz
2019-04-06Codechange: Use platform independent C++11 function for sleeping on a thread.Michael Lutz
2019-04-06Codechange: Use atomic variables for thread synchronization where useful.Michael Lutz
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2019-04-06Codechange: Replace custom mutex code with C++11 mutex'es.Michael Lutz
A conforming compiler with a valid <mutex>-header is expected. Most parts of the code assume that locking a mutex will never fail unexpectedly, which is generally true on all common platforms that don't just pretend to be C++11. The use of condition variables in driver code is checked.
2019-04-05Fix #7439: don't overwrite CompanyRemoveReason with ClientID (#7465)glx22
2019-04-05Cleanup 3f32711: Don't apply forbid 90 deg turn settings for ships.Samu
2019-04-04Fix #7469: Desync when using build and refit feature.peter1138
2019-04-02Update: Translations from eintstranslators
french: 3 changes by glx croatian: 17 changes by VoyagerOne
2019-04-02Fix #7440: Remove town sign when deleting town, not add it once moreNiels Martin Hansen
2019-04-01Update: Translations from eintstranslators
dutch: 2 changes by JanWillem french: 19 changes by glx
2019-03-31Update: Translations from eintstranslators
english (us): 3 changes by Supercheese spanish (mexican): 18 changes by Absay hungarian: 2 changes by Brumi latin: 33 changes by Supercheese
2019-03-31Codechange: Remove ship max order distance from script API.peter1138
2019-03-31Change: Remove ship max order distance.peter1138
It is skipped when NPF is in use. It is trivial to work around by adding and removing dummy orders. It is mostly alleviated by the ship path cache in YAPF.
2019-03-31Fix #7062, Revert 7af53d7588: Don't test ship max order distance when ↵peter1138
pathfinding.
2019-03-31Fix 6fc60d8c4f: forgot to update API changelogglx
2019-03-31Change: Shorten engine rail type drop down in autoreplace window. (#7448)PeterN
In the autoreplace window, the rail type drop down is for choosing engines of the given time. Many rail types do not have engines specifically designed for them, and are merely compatible with other rail types. This list is thus unwieldy and many options have no engines available. As this drop down is for choosing _engine_ rail type rather than compatible rail types, we can list just the rail types explicitly listed by engines.
2019-03-30Codechange: Check airport layout would fit within map bounds before ↵PeterN
iterating tiles. (#7429)
2019-03-30Fix aa7ca7fe6: Linkgraph node index order must be maintained due to other ↵PeterN
references. (#7431) Linkgraph nodes require a specific order that was maintained by swapping just the last element for the node to be removed. std::vector::erase() changed this to removing the node is then shuffling the remain items down, which upsets other references to this indices. This is fixed by switching back to the original swap & pop method.
2019-03-30Change: adjust Violet smallmap colour 1 shade darker, to compensate for ↵Andy
legibility against darker blue of sea introduced by #7436
2019-03-30Fix #7433: don't use AirportSpec substitute if it's not set (#7435)glx22
2019-03-30Fix: Fluidsynth should not try to lock sample data in memoryNiels Martin Hansen
2019-03-30Change: [SDL] Do not offer video smaller than 640x480Niels Martin Hansen
2019-03-30Fix #7447, 3357cac847: Action 4 has feature 48 'original strings'. (#7449)frosch
2019-03-30Update: Translations from eintstranslators
italian: 25 changes by lorenzodv portuguese: 3 changes by JayCity
2019-03-29Change: Dark Blue company and water were indistinguishable in small map. (#7436)SamuXarick
2019-03-29Update: Translations from eintstranslators
korean: 14 changes by telk5093
2019-03-29Codechange: Distance between town and airport has already just been found, ↵PeterN
so use it. (#7427) Previously the distance was thrown away, only to be expensively recalculated again.
2019-03-29Fix #7434: Incorrect use of vector iterator. (#7437)PeterN
2019-03-28Fix: [Win64] settingsgen MSVC compile warnings (#7432)glx22
2019-03-28Update: Translations from eintstranslators
luxembourgish: 29 changes by Phreeze russian: 2 changes by Lone_Wolf latin: 4 changes by Supercheese portuguese: 1 change by JayCity
2019-03-28Fix #7165: Const overload SmallMap::Contains(key) compared wrong types.Michael Lutz
Const and non-const Find() have different return types.
2019-03-28Fix #7165: SmallMap::Erase(key) does not work correctlystormcone
2019-03-27Fix: Incorrect display of industry production around tiles. (#7426)PeterN
Display of industry production around tiles (as shown when placing a station) did not take account of the station catchment changes, so still showed production from an industry even if it was not covered by a tile. This is fixed by making a set of nearby industries that are covered, instead of looping over all possible industries.
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-27Update: Translations from eintstranslators
finnish: 2 changes by hpiirai english (us): 17 changes by Supercheese luxembourgish: 10 changes by Phreeze dutch: 20 changes by JanWillem norwegian (bokmal): 2 changes by Leifbk latin: 16 changes by Supercheese portuguese: 3 changes by JayCity
2019-03-27Add: [Newgrf] Some 60+ Vars for industries that were missed in #6867Johannes E. Krause
2019-03-27Cleanup: use switch for industry cargo varsJohannes E. Krause
2019-03-27Feature #6053: Collapsible vehicle groups (3298)Charles Pigott
2019-03-27Add #6189: Groups now count the total number of vehicles in subgroups (3298)Charles Pigott
2019-03-27Change #5977: Use specific error message when attempting to create a ↵Charles Pigott
circular group hierarchy (3298)
2019-03-27Fix #7421: Don't (directly) dereference std::vector::end() in SmallMapCharles Pigott
2019-03-26Fix #7165: Missed 'Append() --> push_back()' replacementstormcone
2019-03-26Fix #6564: enforce types of arguments for station name strings (#7419)glx22
2019-03-26Codechange: Move 2 constants into the ifdef where they're usedCharles Pigott
2019-03-26Codechange: Simplify refit cargo filter condition and stop mixing enum typesCharles Pigott
2019-03-26Codechange: Initialise a few variables that -flto seems to think could ↵Charles Pigott
possibly be uninitialised
2019-03-26Codechange: Use range-based for-loop in Auto[Free|Delete]SmallVectorHenry Wilson
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson