Commit Graph

50543 Commits

Author SHA1 Message Date
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
reldred
67c256f437 Add PR #228: New configure town zone multipliers 2021-03-25 12:18:37 +00: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
reldred
59631c1899 Hopefully fix the issues with the settings menu not showing up correctly. 2021-03-24 20:37:57 +10:30
reldred
7c6d73abfa Create new branch. Goals: Make rocks size patches and frequency configruable. Optional but highly desired: Make rocks denser/more frequent the higher the altitude (make that an optional bool?)
Also the number display is screwed in the settings gui. Same problem as my other patch. Need to compare it to what I did for the other var I did recently (tiles width around rivers to make desert go away) and fix this. This will do to start with.
2021-03-24 17:46:09 +10:30
Jonathan G Rennison
0e7e8d2ded Allow shift-clicking on borrow/repay money buttons to enter amount 2021-03-22 01:29:54 +00:00
Jonathan G Rennison
fa2f3ed104 Cheats window: Allow clicking money text to enter quantity 2021-03-21 12:52:01 +00:00
Jonathan G Rennison
abf8505c69 Add rainforest line height setting to map generation windows
See: #227
2021-03-20 18:39:48 +00:00
Jonathan G Rennison
c45b4414df Merge branch 'pr-227' into jgrpp
Adjust settings patxname and guiflags
2021-03-20 18:00:45 +00:00
reldred
25abdff790 Fix help text saying snow affects industry generation to say rainforests affect industry generation. 2021-03-21 01:21:47 +10:30
Jonathan G Rennison
aec2793487 Fix flickering of polyrail measurement tooltip 2021-03-20 11:59:48 +00:00
reldred
07397783f8 Allows configuring the height at which rainforests start, which by default was controlled by dividing the map maxheight by 4 in landscape.cpp. Default setting is 8 which matches and should provide default behavior in new map creation. 2021-03-20 20:53:22 +10:30
Jonathan G Rennison
bac3bff716 Increase realistic braking signal sighting distance
(Outside of signalled tunnel/bridges)
2021-03-19 00:19:53 +00:00
Jonathan G Rennison
4386da53ee Slightly overestimate descents when deciding if reservation long enough 2021-03-18 14:09:19 +00:00
Jonathan G Rennison
8cf2b827a1 Avoid pessimising braking speed when descending slope
When calculating speed using variable braking force
2021-03-18 14:09:19 +00:00
Jonathan G Rennison
843dce94a4 Fix mispredicted stop location when through-loading
When using realistic braking and skipped train parts have different
lengths.
2021-03-18 10:37:07 +00:00
Jonathan G Rennison
b9413ea250 Remove assert from UpdateSignalsOnSegment that globset is empty
Just do the right thing if it isn't empty instead of asserting
2021-03-17 20:35:48 +00:00
Jonathan G Rennison
10f6562420 Stop engine ageing when introduce/expire vehicle limit years both reached 2021-03-17 19:06:10 +00:00
Jonathan G Rennison
a670e369db Add setting for no vehicles introduced after given year 2021-03-17 18:51:19 +00:00
Jonathan G Rennison
f7dcd66f08 Fix unnecessary braking when leaving station with order without non-stop flag 2021-03-17 18:00:12 +00:00
Jonathan G Rennison
fb64e29c6c Fix assertion failure when command triggers PBS tunnel/bridge unreserve
In the case where the signal update buffer is not currently empty
2021-03-16 03:23:00 +00:00