Commit Graph

44542 Commits

Author SHA1 Message Date
Patric Stout
d02b1547f6 Remove: setting "no_http_content_downloads" (#12058)
As we now use HTTPS, it is very likely this will work on most systems.
For systems that do have HTTPS blocked, it will fail instantly,
and it will fallback to TCP anyway. That makes this setting no longer
very useful.
2024-02-11 14:48:12 +00:00
Jonathan G Rennison
0f7eb3d8d5 Add road vehicle direction to order window manage order dropdown 2024-02-11 12:36:33 +00:00
Jonathan G Rennison
b05738284b Windows: Avoid destruction of unjoined std::thread on ExitProcess
See: #649
2024-02-11 02:03:33 +00:00
Peter Nelson
8db08da148 Fix #12052: NewGRFs clearing industry cargo slots could fallback to default instead of empty. (#12053)
Ensure the default label is cleared when NewGRF sets a produced/accepted cargo slot, so that default fallback isn't used.
2024-02-11 00:43:13 +00:00
Jonathan G Rennison
09b91260b7 Adjust Korean translation 2024-02-11 00:36:33 +00:00
TELK
9396eb36bc Update: Missing Korean translation (#647)
* Update: Korean translation up to 0.57.0

* Update: Missing Korean translation
2024-02-11 00:35:01 +00:00
Jonathan G Rennison
c0a4169afd Include intrin.h in cpu.cpp for MSVC intrinsics 2024-02-11 00:30:35 +00:00
Jonathan G Rennison
3407b3edc0 Fix tile hash cache check warnings when loading very old savegames
See: #648
2024-02-10 23:17:08 +00:00
Jonathan G Rennison
11f75933bf Saveload: Use table format for DATE, VIEW, MAPS chunks
Merge MISC into DATE
2024-02-10 21:14:22 +00:00
Jonathan G Rennison
195b3b6d1d Saveload: Add initial table chunk support to non-upstream save backend 2024-02-10 21:11:27 +00:00
Tyler Trahan
7b32d9cff5 Fix #12019: Correctly highlight depot unbunch action in dropdown 2024-02-10 15:11:24 -05:00
Tyler Trahan
771615cb4b Fix #12020: Unbunch and service if needed should be mutually exclusive depot order types 2024-02-10 15:11:24 -05:00
Jonathan G Rennison
5aaff39164 Fix wrong saveload types for std::string 2024-02-10 19:57:57 +00:00
translators
2f35a484fe Update: Translations from eints
swedish: 1 change by SpamixOfficial
english (us): 7 changes by 2TallTyler
galician: 123 changes by pvillaverde
estonian: 5 changes by RM87
czech: 46 changes by justidan4
romanian: 19 changes by ALEX11BR
russian: 13 changes by gisterecis
finnish: 6 changes by rikkerton
catalan: 188 changes by J0anJosep
turkish: 29 changes by densxd
latvian: 7 changes by lexuslatvia
portuguese: 33 changes by azulcosta
portuguese (brazilian): 546 changes by pasantoro
polish: 24 changes by pAter-exe
2024-02-10 18:35:13 +00:00
Jonathan G Rennison
26e00d022a Fix crash when showing overwrite warning for a save with no readable version 2024-02-10 17:58:01 +00:00
Jonathan G Rennison
60e59a8233 Saveload: Add wrapper to simplify conditionally upstream chunks
Where they're always saved as upstream and conditional on a feature
2024-02-10 16:58:48 +00:00
Jonathan G Rennison
25e100a465 Calculate airport noise level in permissive mode as same as lenient 2024-02-10 12:47:25 +00:00
Jonathan G Rennison
2ef2142d95 Disable non-noise town airport limit in local authority permissive mode 2024-02-10 12:43:27 +00:00
Loïc Guilloux
977aba73be Change: Store running AI config inside Company (#12003) 2024-02-09 22:55:49 +01:00
Peter Nelson
466e6bb524 Fix #12037: Blurry OpenTTD font on Mac OS. (#12047) 2024-02-09 21:36:13 +01:00
Jonathan G Rennison
516e8defb5 Add wrappers to get and update the current effective day length factor 2024-02-09 19:39:58 +00:00
Jonathan G Rennison
db8b77a72e Remove empty DayLengthPreChange 2024-02-09 19:15:27 +00:00
Jonathan G Rennison
a6dcc0c624 Add messages from ShowNewGrfVehicleError to special events log 2024-02-09 18:50:49 +00:00
Jonathan G Rennison
130d9cb650 Fix crash when road vehicle changed length in drive-through road stop
Due to refit and incorrectly implemented NewGRF
2024-02-09 18:50:49 +00:00
Jonathan G Rennison
cfebbfac8c Merge branch 'master' into jgrpp
# Conflicts:
#	src/autoreplace_cmd.cpp
#	src/company_base.h
#	src/company_gui.cpp
#	src/cpu.cpp
#	src/debug.h
#	src/group.h
#	src/group_cmd.cpp
#	src/house.h
#	src/industry.h
#	src/newgrf_house.cpp
#	src/news_type.h
#	src/openttd.cpp
#	src/saveload/company_sl.cpp
#	src/settings_type.h
#	src/sl/oldloader_sl.cpp
#	src/story.cpp
#	src/table/town_land.h
#	src/viewport.cpp
2024-02-09 18:50:49 +00:00
Patric Stout
48e7dceb3c Revert: Build signals to the next junction when dragging regardless of the Ctrl state (#12034)
This reverts commit b370ae1212.
2024-02-09 19:34:03 +01:00
Jonathan G Rennison
bed3ef6f6b Cleanup: Incorrect savegame number for SLV_DEPOT_UNBUNCHING constant (#12045) 2024-02-09 17:50:29 +00:00
Kuhnovic
e38c3c59f3 Fix #11840: Ship pathfinder always returns a valid trackdir if one is available (#12031) 2024-02-09 12:31:38 -05:00
Loïc Guilloux
b68d263d5f Fix #12014: Remove water when area clearing ship depot (#12030) 2024-02-09 18:17:08 +01:00
Tyler Trahan
10bcf0172e Fix #12022: Adjust economy date when changing timekeeping units in Scenario Editor (#12042) 2024-02-09 11:45:32 -05:00
Loïc Guilloux
165f92c00b Fix #12041, 0c81579: Tarball extraction failing due to incorrect filename (#12044) 2024-02-09 17:25:56 +01:00
Jonathan G Rennison
e1d629dba3 Also use custom sprite sorting for catenary pylons under bridges 2024-02-09 01:30:17 +00:00
Jonathan G Rennison
a484a5eb77 Use custom sprite sorting rules for vehicles diagonally under bridges
Extend bb sprite south for comparisons, but only for vehicles underneath
This is to avoid creating sprite sorting problems for vehicles
on top of the bridge

Adjust ParentSpriteToDraw struct
2024-02-09 01:28:15 +00:00
translators
9b323b4ef9 Update: Translations from eints
english (au): 7 changes by krysclarke
galician: 1 change by pvillaverde
chinese (simplified): 3 changes by WenSimEHRP
italian: 29 changes by Giredson
german: 53 changes by MagnumSociety
ukrainian: 37 changes by StepanIvasyn
dutch: 7 changes by rcpaul
spanish: 144 changes by MontyMontana
french: 4 changes by Lishouuu
portuguese: 48 changes by azulcosta
portuguese (brazilian): 156 changes by pasantoro
polish: 22 changes by azabost, 6 changes by pAter-exe
2024-02-08 18:34:34 +00:00
Jonathan G Rennison
ea8aa47832 Add missing braces around calls to ViewportMapDraw in ViewportDoDraw 2024-02-08 18:26:51 +00:00
Tyler Trahan
16e6da020d Cleanup: Remove unnecessary Trackdir casts (#12038) 2024-02-08 09:46:55 -05:00
Loïc Guilloux
82470f5c0d Codechange 80ebcc7: OptionMenuEntries prefix is OME not ONE (#12036) 2024-02-08 00:22:01 +00:00
Patric Stout
11f5ac72a9 Fix #12029: don't show Sandbox Options in multiplayer (#12032) 2024-02-08 00:33:24 +01:00
Jonathan G Rennison
9aa8059c79 Include elapsed state ticks since load in crash/failure logs
Consolidate game load date/time variables
2024-02-07 21:19:55 +00:00
Jonathan G Rennison
d456f4a3a5 Replace DATE_UNIT_SIZE macro with a function 2024-02-07 21:19:55 +00:00
Jonathan G Rennison
d39236d50c Store state ticks directly in savegame instead of the offset
Initialise the state ticks value to a constant for new games,
instead of using an implicit offset of 0
2024-02-07 20:05:11 +00:00
Jonathan G Rennison
0ea57528c9 Rename DateTicksScaled to StateTicks
Rename various other related/derived types and variables
2024-02-07 18:36:47 +00:00
Heikki Piirainen
42a88fc1d6 Fix: Finnish thousands separator (#12028)
In Finnish, the recommended digit group separator is a space rather than a dot.
2024-02-07 13:35:56 -05:00
translators
d2a4f3123d Update: Translations from eints
galician: 25 changes by pvillaverde
czech: 182 changes by justidan4
hungarian: 31 changes by titanicbobo, 13 changes by Norodix
indonesian: 27 changes by tsaqibfs
german: 58 changes by UnsuspiciousGooball
russian: 18 changes by Ln-Wolf
finnish: 6 changes by hpiirai, 5 changes by lanurmi
ukrainian: 39 changes by StepanIvasyn
turkish: 3 changes by metsysma
danish: 55 changes by mamure, 6 changes by bscargo
dutch: 111 changes by Afoklala, 2 changes by robert5800
spanish: 196 changes by MontyMontana
portuguese: 4 changes by azulcosta
portuguese (brazilian): 148 changes by pasantoro
polish: 42 changes by pAter-exe, 16 changes by azabost
2024-02-07 18:34:54 +00:00
Jonathan G Rennison
39b4772a34 Convert speed units in station rating tooltip
See: #645
2024-02-07 17:28:13 +00:00
Jonathan G Rennison
b6b665e989 Set GoodsEntry last_vehicle_type when resetting time_since_pickup 2024-02-07 17:22:21 +00:00
Peter Nelson
2c78146da5 Change: Limit cargo types in station cargo filter, with "More..." option to show all. 2024-02-07 17:13:37 +00:00
Peter Nelson
e517e55620 Change: Include count of stations per cargo type in station cargo filter.
Cargo types with no stations are shaded to make the list clearer.
2024-02-07 17:13:37 +00:00
Peter Nelson
46da56b191 Change: Replace long list of cargo filter buttons with a multi-select dropdown list.
As before, hold ctrl while clicking on an item to toggle selections.
2024-02-07 17:13:37 +00:00
Peter Nelson
0ce30d05c8 Codechange: Add method to replace the content of a dropdown menu.
If necessary the dropdown list window will be resized and scrollbar enabled/disabled.
2024-02-07 17:13:37 +00:00