Commit Graph

51376 Commits (b3aa59c85db714d6c99d9ea3f6a667211a78d71b)
 

Author SHA1 Message Date
Jonathan G Rennison b3aa59c85d Fix using wrong flag for railtype restricted signal custom sprite enabled 3 years ago
Jonathan G Rennison 6af182c3ca Add sort by number of vehicles calling to station list window 3 years ago
Patric Stout 306726827d Fix a2051bad: SendCmdNames only sent one name per packet (#9528)
(cherry picked from commit 63116bd59f)
3 years ago
Patric Stout 91f2710783 Fix: pathfinders always tried to avoid docking tiles (even if nothing was on them) (#9522)
When coming across any docking tile (for example, all tiles around
an oilrig are docking tiles), it always at least added a penalty
of 3 times a normal tile, even when there are no ships on them.

In result, the pathfinder got suggested to always go around docking
tiles. This was most likely not the intention of the change made in
31db4f8d5e.

(cherry picked from commit f87fe395a7)
3 years ago
Jonathan G Rennison bbe079c906 Fix reverse behind signal pathfinding when there is no dead-end
This could cause issues if all the paths behind the reverse signal
converge with paths not via the reverse signal with a lower cost
3 years ago
Jonathan G Rennison ae6b9f6e9c Fix ESRB_REVERSE not being include in YAPF ESRB dumper 3 years ago
Jonathan G Rennison f8e30e807d Fix ProcessOrders not always being called after leaving a waiting order
Fixes conditional order loop on leaving a depot
3 years ago
Jonathan G Rennison 58a290d8e9 Include version label in output of -q switch 3 years ago
Jonathan G Rennison b08cc3cf38 Reduce screen re-draw area for tunnel/bridge end signal updates 3 years ago
Jonathan G Rennison f6c2a81f72 Reduce screen re-draw area for bridge middle signal updates 3 years ago
Jonathan G Rennison 50f1c25ff5 Fix redrawing of bridge signals more than 2 middle signals need updating
On exit signal aspect change, with 5+ aspect signalling
3 years ago
Jonathan G Rennison 1af37ef845 Fix ship speed changes not updating image as per VCF_REDRAW_ON_SPEED_CHANGE 3 years ago
Jonathan G Rennison 4cf6b1e923 Fix ViewportAddVehiclesIntl using wrong image rotation for ships
When rotating in place
3 years ago
Jonathan G Rennison fea967bbbf Prevent train reversing when wholly inside a train depot
See: #316, https://github.com/OpenTTD/OpenTTD/issues/9520
3 years ago
Jonathan G Rennison 16f2ef227b Store tunnel/bridge signal spacing on tile, adjust spacing to fit length 3 years ago
Jonathan G Rennison 67c1e0dd11 Documentation: Fix/rearrange tunnel/bridge landscape docs 3 years ago
Jonathan G Rennison bfef89344d Show depot reservation state in railtype debug window 3 years ago
Jonathan G Rennison bcffd6157a Fix #314: Typo in find_non_realistic_braking_signal help text 3 years ago
Jonathan G Rennison b2ef6c0de8 Add implementation of multi-aspect signalling and GRF support
Requires realistic braking

See: #247
3 years ago
Jonathan G Rennison 6546f6deba Fix tunnel exit signal not being set to red when train exited 3 years ago
Jonathan G Rennison dc4b7e0558 Add helper function to set tunnel/bridge entrance signal green 3 years ago
Jonathan G Rennison 55c4fe7d45 Add helper functions to get tunnel/bridge entrance/exit trackdirs 3 years ago
Jonathan G Rennison 93c23b4096 Fix signals on dual railtype tiles using wrong per-railtype custom sprites 3 years ago
Jonathan G Rennison 13603cb8e1 Block signals into blocks with junctions now default to red with realistic braking 3 years ago
Jonathan G Rennison 9cce8c0622 DocumentationL Update NML additions 3 years ago
Jonathan G Rennison a026d82c6b Allow cloning trains directly from the template train list
See: #312
3 years ago
Jonathan G Rennison a4c73e71c3 Fix vertical scrollbar extents in template window info sections 3 years ago
Jonathan G Rennison 5afa1b93eb Show buy cost and running cost in template windows
See: #312
3 years ago
Jonathan G Rennison d67f63a04e Remove unused template replacement value strings 3 years ago
Jonathan G Rennison 40599c1ad4 Add hotkey support to the signal build toolbar 3 years ago
Jonathan G Rennison 072e3ff5fc Show refitted capacity when adding template vehicles with cargo filter
See: #312
3 years ago
Jonathan G Rennison 6944e689a0 Fix #313: Make remove and routing restriction buttons mutually exclusive 3 years ago
Jonathan G Rennison f1fde8c684 Enable recolouring of custom signal graphics (global and per-railtype) 3 years ago
Jonathan G Rennison 322a046f49 NewGRF: Allow using Action 2/3 for custom signal sprites
This is mostly the same format as the railtype custom signal mechanism
3 years ago
Jonathan G Rennison a6b0d0cde4 Fix signals on bridge middle parts not using per-railtype custom signals 3 years ago
Jonathan G Rennison 2283ce3a2b ATC: Reduce lower limit of nominal look-ahead distance for speed timers
See: #310
3 years ago
Jonathan G Rennison b8d5113c5a Tracerestrict: Add slot action mode, try to acquire (only on reserve) 3 years ago
Jonathan G Rennison be4c2be35b Version: Committing version data for tag: jgrpp-0.42.3 3 years ago
Jonathan G Rennison 8113b4bdbf Fix build issues on MinGW 3 years ago
Jonathan G Rennison b65b4d558e Documentation: Fix anchor tag for Action 0 - Global Settings 3 years ago
Jonathan G Rennison 3e7fdaf609 Documentation: Fix text for railtype_disable_realistic_braking 3 years ago
Rubidium 9f4a71335d Fix 11ab3c4: [NewGRF] Overflow when determining cargo mask for string code 9A 1E
9A 1E: Print unsigned word as name of a cargo type (translated for GRF version >= 7).

(cherry picked from commit 1c0c4637d2)
3 years ago
Rubidium 230866ca3e Fix #9440: negative cargo payments not being handled right
Cargo payments were stored as unsigned integer, but cast to int64 during
application of inflation. However, then being multiplied with a uint64
making the result uint64. So in the end the payment that should have been
negative becomes hugely positive.

(cherry picked from commit d83647f9a7)
3 years ago
Jonathan G Rennison e76c5dfda7 Revert "Temporarily mark dual pane train purchase window as experimental"
This reverts commit f9bb004b05.
3 years ago
Jonathan G Rennison d2dc9fe3d4 Use ID as sort tie-breaker in TimetableProgress comparison 3 years ago
Jonathan G Rennison 4d99c501b3 Add defensive checks to DrawVehiclePurchaseInfo 3 years ago
dP 9176fe5f64 Fix: Use of unstable sort when distributing cargo production can cause desyncs
(cherry picked from commit 4ed694fe98b146d984826d06b96e0c11045239bc)

See: https://github.com/OpenTTD/OpenTTD/pull/9460
3 years ago
Jonathan G Rennison 9003ef7d11 When reversing train, ensure that loading is aborted if necessary 3 years ago
Jonathan G Rennison 2135aa2ae8 Fix false positive desync log message for powered free wagon chains 3 years ago
Rubidium 1c8f4bfaef Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrint
(cherry picked from commit d7a0e80fc18b689455eaca09883fccbcc722d7e3)

# Conflicts:
#	src/debug.cpp
#	src/debug.h
#	src/table/settings/gui_settings.ini

See: https://github.com/OpenTTD/OpenTTD/pull/9456
3 years ago