Commit Graph

57728 Commits (828d2146ebf81e54bdff53c5537d979ec18134c3)
 

Author SHA1 Message Date
Jonathan G Rennison 2f1d2a9f4b Survey: Don't transmit invalid realtime duration 4 months ago
Patric Stout 839f2e025c
Fix: visually also disable vsync when not using HW acceleration (#12066) 4 months ago
Jonathan G Rennison 5ab5f4ace7
Codefix df691eb3: Reloading GRFs destructed small UFO targeting road vehicle (#12072) 4 months ago
Peter Nelson 481fa7dbb5
Change: Show cargo icons on Industry View window. (#12071) 4 months ago
Jonathan G Rennison 903adceab5 Maintain map of targeted road vehicles to small UFO disaster vehicle 4 months ago
Loïc Guilloux 3ffa176870
Change: [Script] Store randomizers in savegame (#12063) 4 months ago
Peter Nelson d6f34a21e8
Codefix: Incorrect storage type in cargo field of industry cargo chains window. (#12051)
`supp_cargoes` and `cust_cargoes` actually contains a column index, however this index is always stored at the indexed position...

Replace with a bitmask instead, which stores if the column indices are linked.
4 months ago
Peter Nelson df691eb31e
Codechange: Don't scan vehicle pool to find targeting disaster vehicle when deleting any vehicle. (#12064)
* Codechange: Don't scan vehicle pool to find targeting disaster vehicle when deleting any vehicle.

When deleting a vehicle, the vehicle pool is scanned to find a targetting disaster vehicle. With lots of vehicles this can take some time, especially when deleting multiple consecutive vehicles.

Disasters vehicles can actually only target road vehicles. Store the DisasterVehicle index in the road vehicle, so that no pool scan is necessary.

* Change: Small UFOs no longer target a vehicle which is already a target.
4 months ago
Patric Stout fa6f270f23
Codefix 36e1b32: remove left-over debug statement (#12068) 4 months ago
Peter Nelson 58ed38be03 Change: Avoid adjacent fence fields.
This restores pre-r23168 behaviour of only a single fence between adjacent fields.
4 months ago
Peter Nelson d6c5efd795 Change: Draw north-side farm fences/hedges/walls on tile edge, instead of 1/16th in.
This matches original TTD drawing behaviour, which is what the original baseset sprites are designed for, and avoids alignment issues (which are more problematic with high detail 4x sprites.)
4 months ago
SamuXarick fa64fff4a5
Fix #10405, a3dd750: [Script] Test engine and vehicle type validity for ScriptGroup::GetNumEngines (#11887) 4 months ago
Patric Stout 5b3bfe4c4c
Fix fdfcb09: for content service, fallback to TCP downloads when HTTP stalls (#12056) 4 months ago
Loïc Guilloux 8d9fa0ea89
Change: [Script] Use company randomizer when adding random deviation (#12065) 4 months ago
translators 378dab3750 Update: Translations from eints
galician: 85 changes by pvillaverde
estonian: 1 change by RM87
czech: 7 changes by JakMel
chinese (simplified): 1 change by WenSimEHRP
korean: 10 changes by telk5093
german: 191 changes by Wuzzy2
romanian: 122 changes by bnegrut
russian: 29 changes by Ln-Wolf
catalan: 28 changes by J0anJosep
french: 6 changes by glx22
portuguese (brazilian): 252 changes by pasantoro
4 months ago
Joan Josep 1b33b4058e
Fix: Redraw orders when a station feature is added/removed. (#12061) 4 months ago
Peter Nelson 9ec9c8d8b5
Fix: Industry tiles and houses could accept incorrect cargo types. (#12062)
Ensure the default label is cleared when NewGRFs set industry tile or house acceptance.

This was missed by #12053.
4 months ago
Jonathan G Rennison 1e2834a422 Use upstream/table format for game log chunk 4 months ago
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.
4 months ago
Jonathan G Rennison 0f7eb3d8d5 Add road vehicle direction to order window manage order dropdown 4 months ago
Jonathan G Rennison b05738284b Windows: Avoid destruction of unjoined std::thread on ExitProcess
See: #649
4 months ago
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.
4 months ago
Jonathan G Rennison 09b91260b7 Adjust Korean translation 4 months ago
TELK 9396eb36bc
Update: Missing Korean translation (#647)
* Update: Korean translation up to 0.57.0

* Update: Missing Korean translation
4 months ago
Jonathan G Rennison c0a4169afd Include intrin.h in cpu.cpp for MSVC intrinsics 4 months ago
Jonathan G Rennison 3407b3edc0 Fix tile hash cache check warnings when loading very old savegames
See: #648
4 months ago
Jonathan G Rennison 11f75933bf Saveload: Use table format for DATE, VIEW, MAPS chunks
Merge MISC into DATE
4 months ago
Jonathan G Rennison 195b3b6d1d Saveload: Add initial table chunk support to non-upstream save backend 4 months ago
Tyler Trahan 7b32d9cff5 Fix #12019: Correctly highlight depot unbunch action in dropdown 4 months ago
Tyler Trahan 771615cb4b Fix #12020: Unbunch and service if needed should be mutually exclusive depot order types 4 months ago
Patric Stout 84e6c7aef3
Doc: Update documentation how to make commit message (#12046)
By writing more in the style we need for the changelog,
we avoid requiring lots of work when making a changelog.
4 months ago
Jonathan G Rennison 5aaff39164 Fix wrong saveload types for std::string 4 months ago
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
4 months ago
Jonathan G Rennison 26e00d022a Fix crash when showing overwrite warning for a save with no readable version 4 months ago
Jonathan G Rennison 60e59a8233 Saveload: Add wrapper to simplify conditionally upstream chunks
Where they're always saved as upstream and conditional on a feature
4 months ago
Loïc Guilloux b84b68e959
Codechange: Rework regression output filtering (#12049) 4 months ago
Jonathan G Rennison 25e100a465 Calculate airport noise level in permissive mode as same as lenient 4 months ago
Jonathan G Rennison 2ef2142d95 Disable non-noise town airport limit in local authority permissive mode 4 months ago
Loïc Guilloux 977aba73be
Change: Store running AI config inside Company (#12003) 4 months ago
Peter Nelson 466e6bb524
Fix #12037: Blurry OpenTTD font on Mac OS. (#12047) 4 months ago
Jonathan G Rennison 516e8defb5 Add wrappers to get and update the current effective day length factor 4 months ago
Jonathan G Rennison db8b77a72e Remove empty DayLengthPreChange 4 months ago
Jonathan G Rennison a6dcc0c624 Add messages from ShowNewGrfVehicleError to special events log 4 months ago
Jonathan G Rennison 130d9cb650 Fix crash when road vehicle changed length in drive-through road stop
Due to refit and incorrectly implemented NewGRF
4 months ago
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
4 months ago
Patric Stout 48e7dceb3c
Revert: Build signals to the next junction when dragging regardless of the Ctrl state (#12034)
This reverts commit b370ae1212.
4 months ago
Jonathan G Rennison bed3ef6f6b
Cleanup: Incorrect savegame number for SLV_DEPOT_UNBUNCHING constant (#12045) 4 months ago
Kuhnovic e38c3c59f3
Fix #11840: Ship pathfinder always returns a valid trackdir if one is available (#12031) 4 months ago
Loïc Guilloux b68d263d5f
Fix #12014: Remove water when area clearing ship depot (#12030) 4 months ago
Tyler Trahan 10bcf0172e
Fix #12022: Adjust economy date when changing timekeeping units in Scenario Editor (#12042) 4 months ago