Jonathan G Rennison
b3aa59c85d
Fix using wrong flag for railtype restricted signal custom sprite enabled
2021-09-04 01:39:10 +01:00
Jonathan G Rennison
6af182c3ca
Add sort by number of vehicles calling to station list window
2021-09-02 01:02:52 +01:00
Patric Stout
306726827d
Fix a2051bad
: SendCmdNames only sent one name per packet ( #9528 )
...
(cherry picked from commit 63116bd59f
)
2021-09-01 23:53:57 +01:00
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
)
2021-09-01 23:53:32 +01:00
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
2021-08-30 19:20:44 +01:00
Jonathan G Rennison
ae6b9f6e9c
Fix ESRB_REVERSE not being include in YAPF ESRB dumper
2021-08-30 18:40:24 +01:00
Jonathan G Rennison
f8e30e807d
Fix ProcessOrders not always being called after leaving a waiting order
...
Fixes conditional order loop on leaving a depot
2021-08-30 15:26:49 +01:00
Jonathan G Rennison
58a290d8e9
Include version label in output of -q switch
2021-08-30 11:21:14 +01:00
Jonathan G Rennison
b08cc3cf38
Reduce screen re-draw area for tunnel/bridge end signal updates
2021-08-30 03:09:30 +01:00
Jonathan G Rennison
f6c2a81f72
Reduce screen re-draw area for bridge middle signal updates
2021-08-30 01:46:40 +01:00
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
2021-08-30 01:00:32 +01:00
Jonathan G Rennison
1af37ef845
Fix ship speed changes not updating image as per VCF_REDRAW_ON_SPEED_CHANGE
2021-08-29 22:04:06 +01:00
Jonathan G Rennison
4cf6b1e923
Fix ViewportAddVehiclesIntl using wrong image rotation for ships
...
When rotating in place
2021-08-29 22:03:08 +01:00
Jonathan G Rennison
fea967bbbf
Prevent train reversing when wholly inside a train depot
...
See: #316 , https://github.com/OpenTTD/OpenTTD/issues/9520
2021-08-29 16:37:04 +01:00
Jonathan G Rennison
16f2ef227b
Store tunnel/bridge signal spacing on tile, adjust spacing to fit length
2021-08-29 02:11:58 +01:00
Jonathan G Rennison
67c1e0dd11
Documentation: Fix/rearrange tunnel/bridge landscape docs
2021-08-29 02:02:50 +01:00
Jonathan G Rennison
bfef89344d
Show depot reservation state in railtype debug window
2021-08-28 17:40:18 +01:00
Jonathan G Rennison
bcffd6157a
Fix #314 : Typo in find_non_realistic_braking_signal help text
2021-08-28 13:13:39 +01:00
Jonathan G Rennison
b2ef6c0de8
Add implementation of multi-aspect signalling and GRF support
...
Requires realistic braking
See: #247
2021-08-28 12:54:18 +01:00
Jonathan G Rennison
6546f6deba
Fix tunnel exit signal not being set to red when train exited
2021-08-27 23:42:36 +01:00
Jonathan G Rennison
dc4b7e0558
Add helper function to set tunnel/bridge entrance signal green
2021-08-27 23:40:53 +01:00
Jonathan G Rennison
55c4fe7d45
Add helper functions to get tunnel/bridge entrance/exit trackdirs
2021-08-27 23:39:20 +01:00
Jonathan G Rennison
93c23b4096
Fix signals on dual railtype tiles using wrong per-railtype custom sprites
2021-08-25 03:36:06 +01:00
Jonathan G Rennison
13603cb8e1
Block signals into blocks with junctions now default to red with realistic braking
2021-08-24 17:30:06 +01:00
Jonathan G Rennison
9cce8c0622
DocumentationL Update NML additions
2021-08-23 02:26:07 +01:00
Jonathan G Rennison
a026d82c6b
Allow cloning trains directly from the template train list
...
See: #312
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
a4c73e71c3
Fix vertical scrollbar extents in template window info sections
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
5afa1b93eb
Show buy cost and running cost in template windows
...
See: #312
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
d67f63a04e
Remove unused template replacement value strings
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
40599c1ad4
Add hotkey support to the signal build toolbar
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
072e3ff5fc
Show refitted capacity when adding template vehicles with cargo filter
...
See: #312
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
6944e689a0
Fix #313 : Make remove and routing restriction buttons mutually exclusive
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
f1fde8c684
Enable recolouring of custom signal graphics (global and per-railtype)
2021-08-22 15:01:26 +01:00
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
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
a6b0d0cde4
Fix signals on bridge middle parts not using per-railtype custom signals
2021-08-22 15:01:26 +01:00
Jonathan G Rennison
2283ce3a2b
ATC: Reduce lower limit of nominal look-ahead distance for speed timers
...
See: #310
2021-08-19 01:39:29 +01:00
Jonathan G Rennison
b8d5113c5a
Tracerestrict: Add slot action mode, try to acquire (only on reserve)
2021-08-15 22:39:52 +01:00
Patric Stout
b67ef1e5b8
Fix: [Actions] Ubuntu 18.04 by default has a compiler too old for OpenTTD ( #9481 )
2021-08-15 13:08:58 +02:00
translators
cb9a2dec0d
Update: Translations from eints
...
portuguese: 1 change by azulcosta
2021-08-15 11:06:15 +00:00
Patric Stout
43c4c9d560
Doc: Prepare for 12.0-beta1 release
2021-08-15 12:28:51 +02:00
Patric Stout
eca73a810c
Change: rebrand 1.12.0 to 12.0
...
One question that keeps popping up: "when do we release 2.0?".
NewGRF will force that at least 1.16 will be 2.0, but to not wait
for this, let's drop the "1." and be for ever done with that
conversation.
We are following in the footstep of giants here.
2021-08-15 12:28:51 +02:00
Michael Lutz
ee333a9549
Fix 2183fd4d
: [NewGRF] Use divide instead of right shift for signed numbers. ( #9480 )
...
"For negative a, the value of a >> b is implementation-defined (in most implementations, this performs arithmetic right shift, so that the result remains negative)."
2021-08-15 12:14:53 +02:00
Vít Šefl
2183fd4dab
Feature: [NewGRF] Maximum curve speed modifier for rail vehicles ( #9346 )
2021-08-15 11:17:05 +02:00
Patric Stout
579f393374
Add: open Online Players GUI on starting/joining a server ( #9479 )
2021-08-15 00:17:10 +02:00
Patric Stout
1ef4d3cf19
Remove: COMPANY_INFO packets and related code ( #9475 )
2021-08-14 23:24:02 +02:00
Patric Stout
3d55ea2d4d
Feature: make "join game" button join the game, instead of first showing a lobby window ( #9467 )
...
Nobody really paid attention to the lobby window, and it completely
missed its purpose. Most people don't even wait for companies to
show up, but just hit "New Company".
This in turn means people create a lot of unneeded companies, while
they "just want to watch the game" or join another company.
Instead, "Join Game" now just joins the game as spectators.
2021-08-14 23:07:18 +02:00
Patric Stout
db13eebf29
Fix 508e465b
: network servers didn't show invite-code / connection-type in Online Players GUI ( #9478 )
...
The selector selects the first widget, which by accident was now only
the server visibility.
2021-08-14 21:00:30 +02:00
translators
c3d43d7b1c
Update: Translations from eints
2021-08-14 18:48:37 +00:00
Patric Stout
e599f6efb4
Doc: Forwardport changelog & doc changes from 1.11 branch ( #9476 )
2021-08-14 13:07:02 +02:00
Patric Stout
132c540d58
Fix: name the Online Players caption the same as in the menu ( #9473 )
...
Referring to one window in two ways is a bit annoying.
2021-08-14 10:19:47 +02:00