Commit Graph

26060 Commits

Author SHA1 Message Date
Matthijs Kooijman
3b6ba45268 Fix: [CMake] openttd.32.bmp wasn't installed but used by SDL (#9772)
This file is used to set the SDL application icon, but it was no longer
installed since the switch to CMake.
2022-04-02 11:46:11 +02:00
Tyler Trahan
429a356e4e Doc: Fix broken link to GitHub docs (#9769) 2022-04-02 11:46:11 +02:00
Loïc Guilloux
46b8382c64 Fix #9766: Don't write uninitialised data in config file (#9767) 2022-04-02 11:46:11 +02:00
Patric Stout
0966f7b3d6 Update: Backport language changes 2022-01-05 13:10:50 +01:00
Michael Lutz
32e2a99dfd Codechange: Extend DrawSpriteToRgbaBuffer to work with 8bpp blitters. 2022-01-05 13:10:50 +01:00
Michael Lutz
bde0de370d Codechange: [OSX] Simplify touchbar button data definition. 2022-01-05 13:10:50 +01:00
Michael Lutz
c1806bfca1 Fix #9743: [OSX] Only (re-)create touchbar sprites when requested by the main loop. 2022-01-05 13:10:50 +01:00
Michael Lutz
f24c334770 Fix #9743: [OSX] Don't try to render touchbar sprites with invalid zoom level. 2022-01-05 13:10:50 +01:00
Michael Lutz
ea80e46e73 Change: [OSX] Allow touchbar usage on all supported OS versions.
Touchbar support was introduced in 10.12.2. There's no need to limit
support to 10.15+, as the convenience class NSButtonTouchBarItem is
easily replicated.
2022-01-05 13:10:50 +01:00
Jonathan G Rennison
e0ccc58ed1 Fix #9774: CmdBuildRoadStop updated station acceptance in estimate mode 2022-01-05 13:10:50 +01:00
Loïc Guilloux
b185c80cb8 Fix: [MinGW] Disable ASLR for x64 Debug builds (#9773) 2022-01-05 13:10:50 +01:00
benda
2df71a1752 Doc: use only double quotes for cmake command line example in COMPILING.md (#9758)
While powershell happily accepts single quotes, it's not the case for cmd.
2022-01-05 13:10:50 +01:00
trautamaki
a81f4cb6fe Doc: fix broken links to Open{GFX,SFX,MSX} in README.md (#9759) 2022-01-05 13:10:50 +01:00
Jonathan G Rennison
b8dbca465a Fix #9735: Fix OrderBackup::Reset in non-GUI case 2022-01-05 13:10:50 +01:00
frosch
24eb8164ba Fix: if vehicles only refit to cargo-slots >= 32, the default cargo was wrong. (#9744) 2022-01-05 13:10:50 +01:00
Jonathan G Rennison
e38c779b52 Fix #9740: Fix loading of gamelog change items from savegame ver >= 294 2022-01-05 13:10:50 +01:00
Patric Stout
97f545ba05 Fix #9730: [Network] connections can use an invalid socket due to a race condition
A race condition happens when an IPv6 connection takes more than
250ms to report an error, but does return before the IPv4 connection
is established.
In result, an invalid socket might be used for that connection.
2022-01-05 13:10:50 +01:00
Patric Stout
8aaed83338 Codechange: ensure OnConnect() always gets called with a valid socket (#9729)
This should already be the case, but now assert()s will tell us
if this isn't.
2022-01-05 13:10:50 +01:00
Tyler Trahan
4524acea38 Fix: Don't try to rename OWNER_DEITY signs in-game (#9716) 2022-01-05 13:10:50 +01:00
Michael Lutz
94dfd1df21 Fix: Insufficient input validation for CmdIndustryCtrl. (#9711) 2022-01-05 13:10:50 +01:00
nchappe
a4428a0cbe Fix: Update last servicing dates when using the date cheat (#9694) 2022-01-05 13:10:50 +01:00
Bernard Teo
521287839b Fix #9702: Display order window for vehicle group on ctrl-click only when using shared orders (#9704) 2022-01-05 13:10:50 +01:00
Charles Pigott
5bd95ab7a0 Fix #9680: Recalculating aircraft positions before map array updates caused crashes (#9699) 2022-01-05 13:10:50 +01:00
Patric Stout
6b12a05cc5 Change: [Emscripten] update to 2.0.34 and use Release over RelWithDebInfo (#9696)
It turns out that having "-g" in the compile-statement causes
Emscripten to pick -g3, which makes for very big binaries. This
is very likely not your intention when building Emscripten, as
smaller really is better.

For comparison, with RelWithDebInfo the binary is ~80MB. With
Release it is ~7.4MB.
2022-01-05 13:10:50 +01:00
frosch
ec816c5746 Fix: don't complain when the sprite font is missing glyphs. (#9692)
Silently auto-pick a suitable font.
2022-01-05 13:10:50 +01:00
Owen Rudge
280f54c0f7 Add: Specify minimum version for macOS (#9689) 2022-01-05 13:10:50 +01:00
Owen Rudge
cf4cf63b00 Change: Explicitly specify SHA1 for legacy code signing on Windows 2022-01-05 13:10:50 +01:00
Charles Pigott
17dfc6e28a Doc: Prepare for 12.1 release 2021-11-08 18:36:15 +00:00
Tyler Trahan
14ac0db7af Fix #9579: Object and HQ construction is Construction cost, not Property Maintenance (#9673) 2021-11-08 18:36:15 +00:00
Patric Stout
a45f0a4d9b Update: Backport language changes 2021-11-07 20:36:38 +01:00
Tyler Trahan
2890a4f9da Fix: Don't show screenshot GUI in screenshots (#9674) 2021-11-07 20:36:38 +01:00
J0anJosep
460a216d69 Fix: Do not redraw vehicle lists when skip order command is tested. 2021-11-07 20:36:38 +01:00
Michael Lutz
443e31faab Fix 55a11710: Curly braces need to be double-escaped for (std::)fmt. 2021-11-07 20:36:38 +01:00
Michael Lutz
ff2445c6f2 Fix 65cbde4b: Writing to uninitialized string when loading a currency NewGRF. 2021-11-07 20:36:38 +01:00
Loïc Guilloux
84580a49d2 Fix #9669, cbe00ec: Only try valid reverse directions (#9672) 2021-11-07 20:36:38 +01:00
Dmitry Erlikh
5a472beaa1 Fix #9648: add missing commas in crash message 2021-11-07 20:36:38 +01:00
dP
5e1164b093 Fix 3a1a915: Every 16th client never reconnects after server restart 2021-11-07 20:36:38 +01:00
Patric Stout
eb59912c65 Update: Backport language changes 2021-10-23 20:01:59 +02:00
frosch
cfdfb6dcd7 Change: Suppress panning in intro game, while user is interacting with the GUI. (#9645) 2021-10-23 20:01:59 +02:00
Joan Josep
f03ad12d4d Fix: Draw rotor in cursor when dragging helicopters. (#9612) 2021-10-23 20:01:59 +02:00
Loïc Guilloux
f13052b742 Fix #9643, 95386dc: Incorrect determination of screenshot format (#9644) 2021-10-23 20:01:59 +02:00
Loïc Guilloux
09d881d579 Change: Don't store not to be activated newGRFs in savegames (#9627) 2021-10-23 20:01:59 +02:00
Loïc Guilloux
61479fdcdc Fix #9630: intro game could zoom in/out more than allowed by settings (#9633)
Also fixes #9622
2021-10-23 20:01:59 +02:00
Loïc Guilloux
a652ea23c8 Fix #9626, ddafc0d: Incorrect loading of script saved data (#9629) 2021-10-23 20:01:59 +02:00
glx22
8a250da3bb Fix #9624: compilation with RANDOM_DEBUG 2021-10-23 20:01:59 +02:00
glx22
6c7812636a Change: [Actions] Also check desync debug 2021-10-23 20:01:59 +02:00
Charles Pigott
0ebfae6a8d Fix #9595: Always use plural forms of cargo for subsidy strings (#9619) 2021-10-23 20:01:59 +02:00
Patric Stout
465a660a7a Fix 01603d9e: [Preview] publishing preview failed due to recent changes (#9621)
Since 01603d9e we run under root, not under github user. In result,
the location of "aws" binary changed.
2021-10-23 20:01:59 +02:00
Patric Stout
1b0f8fe2e4 Fix 3046a6ce: [Preview] building preview failed to patch LZMA (#9620)
The job was started under a non-priv user, which did not have
permission to patch the emscripten files required to make LZMA
work.
2021-10-23 20:01:59 +02:00
Charles Pigott
fc7ed25915 Change: Ignore refresh_rate setting when vsync is enabled 2021-10-23 20:01:59 +02:00