Jonathan G Rennison
59daa573b5
Avoid data races around modifier keys and pause/FF state
2021-04-05 23:34:01 +01:00
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
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
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
Jonathan G Rennison
7ae5e5b89f
Fix memory leak of airport tile layout in AirportChangeInfo
2021-04-02 00:23:15 +01:00
Jonathan G Rennison
850d2bfa23
Fix tile iterator leak in CmdConvertRail
2021-04-01 17:26:27 +01: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
Jonathan G Rennison
5c569b1880
Validate TB exit tile when TRLF_TB_EXIT_FREE set in FollowTrainReservation
2021-03-30 23:10:26 +01:00
Jonathan G Rennison
8646506127
Prevent lookahead init for wrong way movement on signalled tunnel/bridge
2021-03-30 22:53:45 +01:00
Jonathan G Rennison
3d04979b66
Merge pull request #233 from telk5093/jgrpp
...
Update: Korean translation for v0.40.5
2021-03-30 01:57:45 +01:00
TELK
827eb976f1
Update: Korean translation for v0.40.5
2021-03-29 14:15:08 +09:00
Jonathan G Rennison
92a95bd864
Version: Committing version data for tag: jgrpp-0.40.5
2021-03-29 00:30:17 +01:00
Charles Pigott
583304927b
Fix #8886 : Don't try to resolve folders within tars named '.'
...
(cherry picked from commit 2d7b34bc68
)
2021-03-28 23:55:26 +01:00
reldred
213b6fe6ef
Add PR #231 : More river configuration options
2021-03-28 23:46:18 +01:00
Jonathan G Rennison
7e728fe9d6
Merge branch 'pr-230' into jgrpp
2021-03-28 22:39:56 +01:00
Jonathan G Rennison
48498969eb
Fix through load crash when rear unit is longer than platform with no capacity
2021-03-28 13:48:35 +01:00
reldred
882c4f0a55
Merge branch 'more_rocks_landscape_options' of https://github.com/reldred/OpenTTD-patches into more_rocks_landscape_options
2021-03-28 14:26:31 +10:30
reldred
86e7cb6d18
Allow tile height to also play a part in determining the density of rocky patches.
2021-03-28 14:26:17 +10:30
reldred
f7d11f80f3
Update src/lang/english.txt
2021-03-28 13:54:04 +10:30
Jonathan G Rennison
912c62d749
Add timetable lateness/earliness conditional order
2021-03-27 23:19:19 +00:00
Jonathan G Rennison
63fda2f16e
YAPF: Add penalty when reversing at waypoint which is already reserved
2021-03-27 18:32:14 +00:00
reldred
4a169f07ab
Fix a typo in a comment in settings_type.h. I know... Minor...
2021-03-27 10:43:48 +10:30
Jonathan G Rennison
923b2eb0a9
Fix tracerestrict train is loading status condition when predicting orders
2021-03-26 00:08:25 +00:00
Milek7
7a886cb4d4
Change: Do not disallow persistent buffer mapping on AMD GPUs, as it is actually faster.
2021-03-25 19:37:24 +00:00
translators
bcaa367b68
Update: Translations from eints
...
chinese (traditional): 25 changes by SiderealArt
japanese: 81 changes by taku315
2021-03-25 18:47:34 +00:00
Koen Bussemaker
59bfed65a1
Fix #8875 : Filter string in station window breaks flow in user interface
2021-03-25 16:19:18 +00:00
reldred
67c256f437
Add PR #228 : New configure town zone multipliers
2021-03-25 12:18:37 +00:00
Patric Stout
751434ea63
Fix: placing random trees in SE crashes the game ( #8892 )
...
This used to work by accident: originally the code checked if
GenerateWorld was threaded. If not, it would abort the function.
This worked for placing trees, because it was also returning false
when it was not active.
With the recent changes, that check got removed, and this crash
started to happen. So now check if we have a modal window, which
is a very solid indication we are generating the world.
2021-03-25 11:57:28 +01:00
Jonathan G Rennison
8098274892
Fix tile iterator leak when building river/canal
...
See: https://github.com/OpenTTD/OpenTTD/pull/8880#issuecomment-806253149
2021-03-24 23:49:36 +00:00
translators
0c4443667d
Update: Translations from eints
...
slovak: 6 changes by FuryPapaya
2021-03-24 18:40:00 +00:00
reldred
59631c1899
Hopefully fix the issues with the settings menu not showing up correctly.
2021-03-24 20:37:57 +10:30