summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-17Codechange: [SDL2/Win32] Be consistent how 0bpp blitters are not allowedPatric Stout
Sometimes it returned an usererror(), sometimes Start() failed. Now it always fails on Start(), so nothing else has to check again what blitter is used. AfterBlitterChange() can never change to a 0bpp, so it is sufficient to guard this with an assert().
2021-01-17Codechange: [Win32] Use _local_palette for most operationsPatric Stout
Other drivers do this too, and this makes the world a bit more the same.
2021-01-17Codechange: [Win32] use CSleep() instead of Sleep() like everywhere elsePatric Stout
Functional it is identical. Just helps future-us when searching for sleeps.
2021-01-17Codechange: [Win32] Use return-early in RegisterWndClass()Patric Stout
2021-01-17Codechange: [Win32] Remove Windows 95 specific mouse tracking work-around.Michael Lutz
2021-01-17Fix eeb88e8: Trains reversed while paused do not correctly update sprite ↵Matt Kimber
bounds (#8540)
2021-01-17Update: Translations from eintstranslators
catalan: 11 changes by J0anJosep
2021-01-16Fix 0e62a398c7f: Only center the window, when it is smaller than the screen. ↵frosch
(#8581)
2021-01-16Update: Translations from eintstranslators
norwegian (bokmal): 65 changes by fnutt french: 1 change by glx22
2021-01-16Change: Label Mac builds as "macos" instead of "macosx"Owen Rudge
2021-01-15Feature: Build macOS build as a universal binaryOwen Rudge
2021-01-14Add: [SDL2] video driver parameter to put OpenTTD on a particular display on ↵frosch
start. By default use the display where the mouse cursor is. (#8572)
2021-01-14Feature: Choose a sensible window size on a fresh OTTD config file. (#8536)Michael Lutz
2021-01-14Update: Translations from eintstranslators
norwegian (bokmal): 10 changes by buzzCraft spanish (mexican): 7 changes by absay korean: 1 change by telk5093 indonesian: 30 changes by dimaspaf14 finnish: 1 change by hpiirai catalan: 2 changes by gerardnll portuguese (brazilian): 4 changes by AKANexus polish: 1 change by yazalo
2021-01-14Fix #7670: prevent useless pathfinder run for blocked vehiclesglx22
2021-01-14Fix: vcpkg binaries were not being cached on MacOwen Rudge
2021-01-14Fix: [Actions] circumvent Windows tar warning about read-only files (#8570)Patric Stout
This was already applied on the CI build, but not yet on the release build.
2021-01-14Fix: Remove .sha256 files from macOS buildsOwen Rudge
2021-01-13Cleanup: src/3rdparty/optional was removed, also remove its licensing note. ↵DeltaNedas
(#8567)
2021-01-13Add: Console command to dump debugging information (#8548)Jonathan G Rennison
2021-01-13Update: Translations from eintstranslators
korean: 14 changes by telk5093 finnish: 1 change by hpiirai spanish: 41 changes by MontyMontana polish: 5 changes by yazalo
2021-01-13Fix #8560: Planes were landing at the wrong height at airports with lowered ↵Charles Pigott
hangar tiles
2021-01-13Feature: Show rainforest under vegetation on small mapSamuXarick
2021-01-13Change: darken the background of all graph to increase contrast (#8557)Patric Stout
Now lines like Mauve, Dark Green and Purple are much more visible without hurting the other colours.
2021-01-13Feature: Sign macOS buildsOwen Rudge
2021-01-13Fix: tell the user if a font fails to load and fallback is about to be usedPatric Stout
Additionally, tell exactly why the font failed to load, which glyph was missing from the font. This hopefully helps the user a bit more in the right direction.
2021-01-13Codechange: nobody was using "str" parameter, so remove itPatric Stout
2021-01-12Update: Translations from eintstranslators
spanish (mexican): 64 changes by absay indonesian: 7 changes by dimaspaf14 finnish: 94 changes by hpiirai slovak: 25 changes by gpalino french: 11 changes by glx22 polish: 11 changes by yazalo
2021-01-11Update: Translations from eintstranslators
spanish (mexican): 1 change by absay
2021-01-11Add: a go-to-location button to the LandInfo window.frosch
2021-01-11Add: another go-to-location button to the sign window.frosch
2021-01-11Change: Relocate rename and location buttons in all windows.frosch
2021-01-11Change: Relocate vehicle rename and location buttons.frosch
2021-01-11Add: [NewGRF] new GUI sprites for 'rename' and 'go to location'.frosch
2021-01-11Fix: don't allow free-wagon-chains to exceed max-train-length (#8533)Patric Stout
This makes no sense, that a free-wagon-chain could be larger than the maximum length of a train, as you cannot put an engine in front of that anyway. And it prevents run-away AIs making very silly long free-wagon-chains.
2021-01-11Change: change console command "restart" and add "reload"Patric Stout
The current "restart" command is now called "reload", as that is what it does. The old "restart" command is now called "restart", as that is what it did. As this has not been in any official release yet, this shouldn't harm any kitten.
2021-01-11Fix 8f3d1ec: "restart" did not always restart your current gamePatric Stout
In the sequence: - Load a game - Start a newgame (via console) - Restart a game (via console) Gave you the loaded game back, not the new game.
2021-01-11Fix #7619: nudge fast planes sooner towards their target (#8531)Patric Stout
For non-NewGRF planes, "count" is never above 1. So planes can smoothly be guided to their destination. For NewGRF planes, they can go as quick as "count" values of 20. This easily overshoots the target. So, calculate if the plane will overshoot, and start nudging him to the destination earlier. You won't notice this either way, as it all happens within a single tick.
2021-01-11Update: Translations from eintstranslators
arabic (egypt): 30 changes by AviationGamerX indonesian: 30 changes by dimaspaf14 german: 12 changes by MagnumSociety french: 5 changes by glx22
2021-01-10Fix 218f40e: Warning about 32-bit shift implicitly converted to 64 bitsSamuXarick
2021-01-10Fix: add missing variables to NewGRF inspect window.frosch
2021-01-10Add: [NewGRF] Vehicle variable 4A now also returns, whether the current tile ↵Johannes E. Krause
has catenary.
2021-01-10Add: [NewGRF] vehicle variable 63 to test the tracktype of the current tile ↵frosch
against a given tracktype.
2021-01-10Fix: [NewGRF] industry variables 69 to 71 did not check, whether the queried ↵frosch
cargo is valid.
2021-01-10Fix: GetCargoTranslation could return out-of-bounds index for old-style ↵frosch
NewGRF using cargo-slots.
2021-01-10Update: Translations from eintstranslators
korean: 1 change by telk5093 finnish: 1 change by hpiirai polish: 5 changes by yazalo
2021-01-10Fix: Remove semicolons from regression outputSamuXarick
2021-01-10Fix: Use realtime for error message and console backlog timeoutsglx22
2021-01-10Fix: Don't use a timer for hundredth tick determinationglx
2021-01-09Codechange: On regression failure, output the result in a fileglx22