Jonathan G Rennison
f2bfcc5524
Partially fix data race issues around _cur_palette
...
See: https://github.com/OpenTTD/OpenTTD/issues/8712
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
e9186308e9
Fix data race in OpenGLBackend::DrawMouseCursor
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
70897c3e5e
Only call InteractiveRandom when game state mutex is held
2021-04-05 23:34:01 +01:00
Jonathan G Rennison
e094b7f1d6
Partially fix thread safety issues around _cur_palette
...
Replaces: 4c59dfb6
See also: https://github.com/OpenTTD/OpenTTD/issues/8712
2021-04-05 23:34:01 +01:00
Didac Perez Parera
43c465e8f4
Change: Disable NewGRF window apply button if no change was made ( #8934 )
2021-04-05 22:24:03 +02:00
Jonathan G Rennison
b496a0c442
Fix leftover string
2021-04-05 20:15:14 +01:00
Jonathan G Rennison
f94eb286f2
Fix missing MinGW thread includes
2021-04-05 20:04:53 +01:00
Jonathan G Rennison
2a13c8623c
Revert: 4c59dfb6
, move DoPaletteAnimations back into GameLoop
...
Race fix to follow
2021-04-05 19:55:53 +01:00
Jonathan G Rennison
2e6dbfee05
Merge branch 'master' into jgrpp
2021-04-05 19:31:34 +01:00
Jonathan G Rennison
6b0dfff39d
Enable showing vehicle routes in the viewport by default
2021-04-05 19:27:26 +01:00
Jonathan G Rennison
5e14b54a0c
Merge branch 'master' into jgrpp
2021-04-05 17:51:45 +01:00
Jonathan G Rennison
297b340697
Revert "OpenGL: Temporarily reduce OpenGL driver priorities"
...
This reverts commit f81c71e15b
.
2021-04-05 17:48:46 +01:00
Jonathan G Rennison
e3d9cce3ae
Fix viewport drag tooltips not being removed when dragging over other windows
2021-04-05 12:30:58 +01:00
Jonathan G Rennison
638d4cdbe0
Fix tooltip flickering when dragging outside window
2021-04-05 12:13:56 +01:00
Jonathan G Rennison
7ad8b69a74
Fix old polyrail tooltips being left on screen
2021-04-05 11:37:37 +01:00
PeterN
130a052ed5
Fix: Apply master effect volume during mixing instead of sound start. ( #8945 )
...
This makes the volume control work as most players would expect, affecting
existing playing sounds as well as new sounds.
2021-04-05 12:18:59 +02:00
Michael Lutz
1cd3a3b070
Fix #8935 : [OSX] Crash when clicking 'Save' due to wrongly-threaded OS call. ( #8944 )
2021-04-05 12:18:45 +02:00
translators
295d542911
Update: Translations from eints
...
spanish (mexican): 1 change by absay
vietnamese: 1 change by KhoiCanDev
estonian: 1 change by siimsoni
romanian: 3 changes by kneekoo
catalan: 1 change by perezdidac
portuguese: 1 change by azulcosta
2021-04-04 17:52:55 +00:00
Charles Pigott
e8a94dc8bb
Cleanup: Delete remaining Blob code
2021-04-04 08:01:54 +01:00
Charles Pigott
e8022a589d
Codechange: Replace CBlobT usage with std::vector
2021-04-04 08:01:54 +01:00
Charles Pigott
f481c9fc2c
Codechange: Replace CStrA with std::string
2021-04-04 08:01:54 +01:00
Milek7
33c5f984f5
Codechange: Use COINIT_MULTITHREADED in CoInitializeEx ( #8938 )
2021-04-04 07:40:56 +01:00
Jonathan G Rennison
95fb222852
Distribute articulated vehicle weight evenly between articulated parts
...
Instead of allocating it all to the first part
This improves realistic braking behaviour for long articulated consists
2021-04-03 22:04:37 +01:00
Jonathan G Rennison
26a123b708
Realistic braking: Cache offset of centre of mass of train
2021-04-03 21:25:04 +01:00
translators
5b1ea0ee38
Update: Translations from eints
...
swedish: 1 change by DonaldDuck313
norwegian (bokmal): 1 change by Anolitt
english (us): 1 change by 2TallTyler
chinese (simplified): 8 changes by RichardYan314
german: 1 change by danidoedel
romanian: 115 changes by kneekoo
finnish: 1 change by hpiirai
spanish: 2 changes by MontyMontana
polish: 3 changes by yazalo
2021-04-03 17:52:59 +00:00
translators
ec0c159586
Update: Translations from eints
...
korean: 1 change by telk5093
indonesian: 25 changes by dimaspaf14
romanian: 23 changes by kneekoo
2021-04-02 17:53:17 +00:00
Didac Perez Parera
e760c9fbec
Fix: adjust object and rail station selection window padding to be consistent ( #8929 )
...
consistent
2021-04-02 10:15:26 +02:00
Jonathan G Rennison
83ac5aa27a
Fix: Memory leak of airport tile layout in AirportChangeInfo (prop 0A) ( #8928 )
2021-04-02 10:13:53 +02:00
Tyler Trahan
adb9fa3b36
Feature: Press ctrl to build diagonal rivers in Scenario Editor ( #8880 )
2021-04-02 10:13:27 +02:00
stormcone
bde5396d11
Add: Hotkey to focus the build object class name filter editbox.
2021-04-02 10:12:47 +02:00
stormcone
c56e9a546d
Add: Hotkey to focus the rail station class name filter editbox.
2021-04-02 10:12:47 +02:00
milek7
295f34a9df
Fix: Freeing LanguagePack with wrong size.
2021-04-02 10:12:25 +02:00
Jonathan G Rennison
7ae5e5b89f
Fix memory leak of airport tile layout in AirportChangeInfo
2021-04-02 00:23:15 +01:00
Charles Pigott
dd798d688b
Fix #8919 : Release builds with asserts enabled ( #8925 )
2021-04-01 23:57:49 +01:00
translators
c5cb44e138
Update: Translations from eints
...
catalan: 1 change by J0anJosep
spanish: 3 changes by MontyMontana
2021-04-01 17:53:24 +00:00
Patric Stout
4d501655ad
Fix: building on Raspberry Pi failed because of const vs constexpr ( #8924 )
2021-04-01 19:39:55 +02:00
Jonathan G Rennison
850d2bfa23
Fix tile iterator leak in CmdConvertRail
2021-04-01 17:26:27 +01:00
Patric Stout
fece1c57ca
Codechange: Suppress warnings when asserts are disabled ( #8917 )
2021-04-01 11:16:19 +02:00
translators
9eb6c78a02
Update: Translations from eints
...
catalan: 2 changes by J0anJosep
2021-04-01 08:13:26 +00:00
Charles Pigott
591ea9862d
Codechange: Suppress warnings when asserts are disabled ( #8916 )
2021-04-01 10:03:12 +02:00
Jonathan G Rennison
425b725eab
Include last sync frame in desync crash log
2021-04-01 01:59:48 +01:00
Jonathan G Rennison
dc8680eec5
Ensure that cached decel values of free wagon chain heads are zeroed
2021-04-01 01:23:08 +01:00
Jonathan G Rennison
8fd4f65a85
Validate lookahead reservation end OK before calling FollowTrainReservation
2021-04-01 00:36:13 +01:00
Jonathan G Rennison
5b5e068e52
Don't check safe waiting point in FollowTrainReservation if result unused
2021-03-31 22:39:44 +01:00
Jonathan G Rennison
27b65dadbc
Refresh lookahead when starting train from stationary
2021-03-31 22:25:13 +01:00
Jonathan G Rennison
1cbb9960af
Clear train lookahead when reaching an unreserved diverging junction
2021-03-31 22:09:41 +01:00
Jonathan G Rennison
49676552bb
Use a flags parameter for ChooseTrainTrack mode
2021-03-31 21:42:36 +01:00
translators
088964a091
Update: Translations from eints
...
luxembourgish: 1 change by phreeze83
serbian: 59 changes by nkrs
2021-03-31 17:53:48 +00:00
Charles Pigott
086c95718d
Fix #8803 : Only auto-remove signals when rail can be built ( #8904 )
2021-03-31 09:27:25 +01:00
Jonathan G Rennison
5c569b1880
Validate TB exit tile when TRLF_TB_EXIT_FREE set in FollowTrainReservation
2021-03-30 23:10:26 +01:00