summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-12-25Doc: for over 10 years now, we do not load the exact AI version first (#8431)Patric Stout
See commit fae34ee7 for details. The documentation simply never got updated.
2020-12-25Update: Translations from eintstranslators
2020-12-25Codechange: Rename strings to match their usage.frosch
2020-12-25Change: Remove the LAN/Internet combobox from the server list in favour of ↵frosch
adding two separate search buttons.
2020-12-25Change: Towns don't build dead-end road bridges (#8401)Tyler Trahan
2020-12-25Feature: Add an option to disable tree growth completely (#8415)Pavel Stupnikov
2020-12-25Fix: Don't lower tree density if spreading is not enabled (#8413)Pavel Stupnikov
2020-12-25Change: [Linkgraph] Allow job threads to be aborted early when clearing ↵Jonathan G Rennison
schedule (#8416) When link graph jobs are cleared due to abandoning the game or exiting, flag the job as aborted. The link graph job running in a separate thread checks the aborted flag periodically and terminates processing early if set. This reduces the delay at game abandon or exit if a long-running job would otherwise still be running.
2020-12-24Update: Translations from eintstranslators
finnish: 1 change by hpiirai
2020-12-23Update: Translations from eintstranslators
arabic (egypt): 15 changes by AviationGamerX korean: 15 changes by telk5093 finnish: 12 changes by hpiirai
2020-12-22Update: Translations from eintstranslators
korean: 2 changes by telk5093 catalan: 13 changes by perezdidac
2020-12-22Change: [Linkgraph] Only acquire thread join performance measurements on ↵Jonathan G Rennison
network clients Network servers and single player clients do not block on thread joins due to instead pausing shortly before the join is due.
2020-12-22Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470)Jonathan G Rennison
Check if the job is still running two date fract ticks before it is due to join, and if so pause the game until its done. When loading a game, check if the game would block immediately due to a job which is scheduled to be joined within two date fract ticks, and if so pause the game until its done. This avoids the main thread being blocked on a thread join, which appears to the user as if the game is unresponsive, as the UI does not repaint and cannot be interacted with. Show if pause is due to link graph job in status bar, update network messages. This does not apply for network clients.
2020-12-22Feature: Set exclusive access to industry from GS (#8115)Pavel Stupnikov
2020-12-22Feature: Influence industry production changes from GS (#7912)Niels Martin Hansen
2020-12-22Fix 86e08aa: STR_CARGO_PLURAL_CANDY with cases was not renamed (#8412)Patric Stout
2020-12-22Fix: next 67 savegame versions are used in PatchPacks; skip them (#8411)Patric Stout
Various of PatchPacks (Spring 2013, Joker, ChillPP) used versions slightly higher than ours. Of course, as time went by, this caught up with us, and we are now almost pushing a new version that would conflict with them. To avoid users creating unneeded issues about "why can I not load my savegame", lets be ahead of the curve and flat-out refuse to load them. Version-wise, this is totally fine. We have ~32k versions to go before we run out (0x8000 is masked by JGRPP; we should avoid using that). At the rate we bump savegames, this is not going to happen in any sane reality.
2020-12-21Fix c02ef3e4: [NewGRF] Variable 0x44 was always HZB_TOWN_EDGE for road ↵Matt Kimber
stops. (#8400)
2020-12-21Change: Place "Group by" above "Sort by" in station window for consistencyBernard Teo
2020-12-21Feature: Drag-and-drop vehicles in group GUI for shared order groupsBernard Teo
2020-12-21Cleanup: Use range-based for-loop in group_gui.cppBernard Teo
2020-12-21Cleanup: Move EndContainer() for empty WWT_PANEL to the same lineBernard Teo
2020-12-21Feature: Option to group vehicle lists by shared ordersBernard Teo
This applies to all kinds of vehicle lists, as well as the "vehicle groups" window.
2020-12-21Codechange: Make vehicle lists internally support grouping of vehiclesBernard Teo
This is in preparation for the new UI feature that allows grouping by shared orders.
2020-12-21Update: Apply name changes to all languages.Xaroth Brook
2020-12-21Cleanup: Rework the CargoSpec macro for improved readability.Xaroth Brook
2020-12-21Doc: some comments for the win32 video driver (#8409)Patric Stout
Co-authored-by: Niels Martin Hansen <nielsm@indvikleren.dk>
2020-12-21Update: Translations from eintstranslators
vietnamese: 3 changes by KhoiCanDev russian: 4 changes by Ln-Wolf polish: 11 changes by yazalo
2020-12-21Remove: Remnants of PSP support.Michael Lutz
No active target is that limited in concurrent file descriptors.
2020-12-20Update: Translations from eintstranslators
korean: 1 change by telk5093 slovak: 6 changes by FuryPapaya latvian: 9 changes by lexuslatvia
2020-12-20Feature #7962: Improve rendering of large viewportsdP
2020-12-20Feature #7962: Significantly improve sprite sorter performancedP
2020-12-19Fix: [OSX] Warning about ambiguous method (-Wobjc-multiple-method-names). ↵Michael Lutz
(#8399)
2020-12-18Update: Translations from eintstranslators
russian: 10 changes by Ln-Wolf finnish: 4 changes by hpiirai slovak: 16 changes by FuryPapaya french: 1 change by glx22
2020-12-17Update: Translations from eintstranslators
finnish: 47 changes by hpiirai
2020-12-16Change: extend the allowed range for max loan setting (#8386)Pavel Stupnikov
2020-12-16Change: send network error to the server before making an emergency save (#8387)Pavel Stupnikov
2020-12-15Fix: [NewGRF] Action 7/9 conditions 0x0F to 0x12 failed, if 'param' was ↵frosch
0x88. (#8382) Fix: [NewGRF] Action 7/9 conditions 0x0B to 0x12 failed, if 'param' was 0x85. These conditions are supposed to ignore 'param' entirely.
2020-12-15Fix: Remove unnessary reference to suppress warning (#8337)Byoungchan Lee
Apple Clang version 12 (bundled with Xcode 12) complaints about copying small objects in range loop (-Wrange-loop-analysis introduced by -Wall). This warning can be easily avoided by removing the reference from the const pointer type.
2020-12-15Fix: for original terrain generator, keep a single gap of water at the ↵SamuXarick
borders (#7883) This means that for NE/NW, it should have one more in case of freeform-edges, and in case of SE/SW it should have one less. Reminder: freeform-edges only adds VOID tiles on X=0 and Y=0.
2020-12-15Fix: a cargos sneaked in; should be cargoes for consistency (#8383)Patric Stout
2020-12-15Fix: prefix the Nth vehicle with "#" when ungroupedPatric Stout
This is for consistency; most other objects add a # to indicate it is the Nth of that object, except for Trains / RVs / Ships / Aircrafts. This becomes painfully apparent with unnamed vehicles in groups, which do get a "#".
2020-12-15Feature: Show group name as part of the default vehicle name.stormcone
Only if the vehicle is member of a group and does not have a user defined name.
2020-12-15Update: Translations from eintstranslators
korean: 29 changes by telk5093 finnish: 8 changes by hpiirai slovak: 6 changes by FuryPapaya french: 6 changes by glx22
2020-12-15Fix: workarounds for two emscripten bugs in the network stackPatric Stout
2020-12-15Add: [Emscripten] use "relative mouse mode" with SDL2Patric Stout
This mode doesn't wrap the mouse constantly, but requests SDL to lock the mouse pointer. This is needed, as with Emscripten you are not allowed to change the mouse poisition (only to lock it into place).
2020-12-15Add: support for emscripten (play-OpenTTD-in-the-browser)Patric Stout
Emscripten compiles to WASM, which can be loaded via HTML / JavaScript. This allows you to play OpenTTD inside a browser. Co-authored-by: milek7 <me@milek7.pl>
2020-12-15Codechange: unroll the SDL2 main loopPatric Stout
This commit prepares for the next commit, as Emscripten needs to have a way to trigger a single iteration of the main loop. To keep the real changes more clear, this commit only unrolls the loop, and makes no changes to the logic itself.
2020-12-15Change: set the default setting for autorenew to on for new games (#8352)Tyler Trahan
2020-12-14Update: Translations from eintstranslators
french: 1 change by glx22