summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-02-09Update: Translations from eintstranslators
greek: 15 changes by fumantsu dutch: 73 changes by JanWillem
2019-02-08Fix: trains cancelling their pending reversal when ordered to go to a depot ↵Henry Wilson
behind them Previously, if a train had been ordered to reverse, and while it was slowing down, was ordered to travel to a depot that is behind it, the train would continue forwards. Also when a train had been ordered to reverse, and while it was slowing down, was ordered to travel to a depot that is in front of it, the train would not cancel the reversal. In both cases the train would travel away from the target depot. Trains in this situation now behave correctly and will travel towards the depot.
2019-02-08Codechange: Make the style of MakeVoid calls uniform (#7192)Gabda
2019-02-07Fix #5654: (Re)initialise graph GUI on game (re)start (#7191)Gabda
2019-02-07Update: Translations from eintstranslators
korean: 6 changes by telk5093 polish: 18 changes by xaxa
2019-02-06Fix #7108: Missed generate_widget script run for livery changes.Peter Nelson
2019-02-06Fix fdc2e85: Double close of file handlesNiels Martin Hansen
When unpacking downloaded content, the downloaded .gz file was being opened with `fopen`, the OS file handle given to zlib, and then afterwards zlib told to close the file. But the `FILE *` object was never closed with `fclose`, meaning the stdio library would have a hanging file object, whose file handle was now invalid or referred to a different file. This caused asserts during shutdown with Microsoft's C library in debug mode. Fix this by properly duplicating the OS handle and `fclose`ing the `FILE *` object, before giving the handle to zlib.
2019-02-06Add #5006: Flag to hide rail type from construction.Peter Nelson
2019-02-06Doc #7181: AAT_STATION_AIRPLANE_LAND triggers only a single tile, not all ↵PeterN
airport tiles. (#7182)
2019-02-05Update: Translations from eintstranslators
swedish: 21 changes by Joel_A german: 1 change by smwforever45
2019-02-05Fix #7151: Hang when concurrently starting AIs in multiplayer, or with shift ↵Peter Nelson
pressed.
2019-02-04Fix #6803: CargoMonitorID bit packing updated to handle 64 cargo types.Peter Nelson
This requires a saveload bump to change the bitpacking on loading older saves.
2019-02-04Change: Make ships stop in locks to move up/down instead of following the slope.Peter Nelson
2019-02-04Add: CompanyCtrlAction enum for CMD_COMPANY_CTRL actionsglx
2019-02-04Fix #7119: When rotating a ship, apply an additional offset to avoid ↵Peter Nelson
movement glitch.
2019-02-03Revert 479f13fc41, Fix #7133, Fix #7136: "Codechange: Tweak ↵Peter Nelson
ViewportAddLandscape so it no more relies on "go down as fast as possible" tile height model (Patch by adf88, #6583)" This reverts commit 479f13fc4133f2970aff82d2d0fb9b3c0cb919da.
2019-02-03Update: Translations from eintstranslators
german: 64 changes by smwforever45
2019-02-03Change: Make a shortened network revision string for use in server queriesNiels Martin Hansen
2019-02-03Change: Increase NETWORK_REVISION_LENGTH to 33 bytesNiels Martin Hansen
2019-02-03Change: Use git revision hash (with "modified" prefix) for gamelogNiels Martin Hansen
2019-02-03Codechange: Separate gamelog revision length from network revision lengthNiels Martin Hansen
2019-02-03Change: Include the full raw git revision hash in rev.cppNiels Martin Hansen
2019-02-03Fix #7108: Group livery command did not check its parameters properly.Peter Nelson
2019-02-02Codechange: Change from numeric to descriptive SLV enum labels for last entries.Peter Nelson
2019-02-02Codechange: Additional type safety for saveload version variables.Peter Nelson
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2019-02-02Codechange: Make saveload version upper bound exclusive, i.e. version object ↵Peter Nelson
was removed instead of version object last appeared.
2019-02-02Update: Translations from eintstranslators
croatian: 4 changes by VoyagerOne korean: 4 changes by telk5093 russian: 2 changes by Lone_Wolf german: 4 changes by smwforever45, 4 changes by ShadowCop spanish (mexican): 2 changes by Absay portuguese: 52 changes by vesgo finnish: 3 changes by hpiirai dutch: 238 changes by JanWillem estonian: 1 change by rm87
2019-02-02Fix #7058, Fix #7161: Network chat messages did not expire.Peter Nelson
2019-02-02Fix: DMU/EMU livery should apply to passenger carriages with DMU/EMU engines.Peter Nelson
2019-02-02Fix: Make livery window resize properly if GUI scale changes whilst open.Peter Nelson
2019-02-02Change: Allow AI companies to start immediately.Samu
Allow multiple AIs to possibly start in the same tick. start_date = 0 becomes a special case, where random deviation does not occur. If start_date was not already 0, then a minimum value of 1 must apply.
2019-02-01Doc: Yearly increment.Peter Nelson
2019-02-01Add: Warn before overwriting an existing save fileNiels Martin Hansen
2019-02-01Update: Translations from eintstranslators
french: 2 changes by glx german: 23 changes by planetmaker danish: 139 changes by nielsmh spanish (mexican): 3 changes by Absay portuguese: 55 changes by vesgo dutch: 214 changes by JanWillem estonian: 30 changes by rm87
2019-02-01Fix: close Textfile windows when closing Option windowglx
2019-02-01Fix #6438: Properly invalidate AI Settings window when max no competitor ↵Peter Nelson
setting is changed.
2019-02-01Fix 23960d0f2c: Scrollbar was broken for non-group liveries.Peter Nelson
Simplify how list position is determined by using existing functions. Also rename livery_height -> rows and SetLiveryHeight() -> SetRows(), as height implies pixels.
2019-02-01Fix: Set MU flag on some default engines.Peter Nelson
2019-02-01Fix: Don't consider engines not in the current climate towards used livery ↵Peter Nelson
classes.
2019-01-31Change: Give AI/GSBridge::GetName an extra parameter to refer the vehicle ↵SamuXarick
type (#6988)
2019-01-31Cleanup: [NPF] Remove unused parameter.J0an Josep
2019-01-31Cleanup: [NPF] Assert that a track has been chosen.J0an Josep
2019-01-31Fix #7060: [NPF] Do not check whether ignored first tiles are end nodes.J0an Josep
2019-01-31Codechange: [NPF] Add some consts.J0an Josep
2019-01-31Cleanup: [NPF] Remove unused parameters.J0an Josep
2019-01-31Fix #7089: Close NewGRF textfile windows when their data is invalid (#7106)glx22
2019-01-31Update: Translations from eintstranslators
swedish: 36 changes by Joel_A spanish: 3 changes by SilverSurferZzZ russian: 2 changes by Lone_Wolf romanian: 18 changes by kneekoo portuguese: 37 changes by vesgo
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2019-01-30Fix: don't show OS error box for non GUI video driversglx