Commit Graph

50639 Commits

Author SHA1 Message Date
reldred
51c0b222cc Extra House ID's
Use an extra unused bit in m3 to boost the max number of house types from 512 to 1024. So-far everything works, construction stages and animations appear unaffacted by my hubris.
2021-04-10 21:16:09 +09:30
Jonathan G Rennison
fcded2aff7 Update house picker zone display to match settings and spec 2021-04-09 17:56:03 +01:00
Jonathan G Rennison
191e4266f4 Fix ftell() error sentinel value being used in allocation 2021-04-08 18:44:56 +01:00
Jonathan G Rennison
6490b252f5 Fix changing font zoom not updating font height cache 2021-04-08 17:16:23 +01:00
Jonathan G Rennison
ef81729dde Partially fix data race issues around _cur_palette
See: https://github.com/OpenTTD/OpenTTD/issues/8712
2021-04-06 19:32:15 +01:00
Jonathan G Rennison
d7b536ca78 Fix e094b7f1: Wrong include path 2021-04-06 18:46:12 +01:00
Jonathan G Rennison
63ddf7f587 Crashlog: Update thread/lock handling to match GameLoop changes 2021-04-06 18:43:50 +01:00
Jonathan G Rennison
d452517c66 Fix data race warning in NetworkGameListHandleDelayedInsert
Avoid thread-sanitizer warning on ins_item->next
2021-04-06 18:43:50 +01:00
Jonathan G Rennison
76624e6f58 Server: Fix client state conditions for sending client info/quit packets 2021-04-06 02:21:32 +01:00
Jonathan G Rennison
0e959a0563 OpenGL: Avoid data races around _cursor 2021-04-05 23:34:01 +01:00
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