Commit Graph

52383 Commits

Author SHA1 Message Date
Jonathan G Rennison
0691b25e17 Merge branch 'master' into jgrpp
# Conflicts:
#	src/saveload/afterload.cpp
2021-11-20 13:15:32 +00:00
Jonathan G Rennison
5723c317f7 Fix trains with non-front parts needing repair not being serviced 2021-11-20 12:43:38 +00:00
Jonathan G Rennison
4db14ccd18 Fix 71c39dc: Incorrect handling of order without non-stop flag
See: #337
2021-11-20 12:14:01 +00:00
Jonathan G Rennison
4ccbb11440 Only show level crossing overlay sprites on outsides of multi-track crossings
When using both adjacent crossings and safer crossings
2021-11-20 01:42:54 +00:00
Jonathan G Rennison
551560537f Ensure that adjacent level crossings cannot leave map if there are no void tiles 2021-11-20 01:27:41 +00:00
Jonathan G Rennison
5959e1c0f9 Merge PR #336 into jgrpp 2021-11-19 23:20:05 +00:00
Jonathan G Rennison
af2c51e3d4 Merge branch 'running-costs-exploration' into jgrpp 2021-11-19 23:18:17 +00:00
reldred
5a53b4d846 Additional tweaks to allow rivers to spawn in deserts (causing aditional tropic biome to spawn around them). This piggybacks off of the 'allow lakes in deserts' setting, renaming it to cover both. The actual setting name itself internally hasn't changed. 2021-11-19 12:29:20 +10:30
Jonathan G Rennison
71c39dc8c2 If train next order is for same station when leaving, do not leave
Just start loading again without moving instead
2021-11-19 00:53:01 +00:00
dP
ad90e88ebd Change: Make pf.yapf.rail_firstred_twoway_eol on by default (#9544) 2021-11-19 00:08:06 +00:00
dP
54951e39a1 Fix #8797: Use logical rail length when placing signals (#9652) 2021-11-19 00:07:22 +00:00
nchappe
2cb6351af5 Fix: Update last servicing dates when using the date cheat (#9694) 2021-11-19 00:04:22 +00:00
Bernard Teo
0533b666b7 Fix #9702: Display order window for vehicle group on ctrl-click only when using shared orders (#9704) 2021-11-19 00:03:52 +00:00
Jonathan G Rennison
f22a5685c3 Divide cost instead of cost_factor in running costs division
This is to prevent 0 running costs for cheap vehicles when
cost_factor would be < 1
2021-11-18 23:55:48 +00:00
Jonathan G Rennison
bb8e4eb18a Adjust stopped/depot detection for running costs division
Fix v/this use in Train::GetRunningCost
2021-11-18 23:41:12 +00:00
Jonathan G Rennison
f16657ec96 Fix running costs divider settings saveload 2021-11-18 23:34:39 +00:00
Jonathan G Rennison
33bedf0061 Allow changing running cost divider settings in game 2021-11-18 23:31:21 +00:00
Jonathan G Rennison
fddc9fb975 Increase max value of running cost divider settings 2021-11-18 23:30:40 +00:00
translators
f6886754ff Update: Translations from eints
greek: 2 changes by dionisis84
german: 2 changes by danidoedel
2021-11-18 18:47:13 +00:00
reldred
904ff346c2 Initial commit to allow configuring running costs as a fraction (1/1 default thru 1/4) independently for both vehicles stopped in depots (doesn't work for planes, I'm not smart enuff), or vehicles that are stationary. 2021-11-18 12:47:23 +10:30
Jonathan G Rennison
fc58ed9987 Codechange: Remove CargoSpec::multipliertowngrowth which is unused (#9701)
This is set by cargo property 19.
This property is only implemented in TTDPatch.
2021-11-16 22:48:21 +00:00
Jonathan G Rennison
782fba3064 Fix windows not being deleted when order changed during deletion 2021-11-16 18:40:42 +00:00
Jonathan G Rennison
25a467730e Fix signals on approach to tunnel/bridge entrance showing wrong aspect
When signal change propagated outward from the tunnel/bridge,
such as in tunnel/bridge signal add/change.
2021-11-16 02:49:44 +00:00
Jonathan G Rennison
6a4d849cba Connect new plan lines to end of previous line when ctrl pressed 2021-11-16 00:03:04 +00:00
Jonathan G Rennison
f53b295a58 Fix overuse of _current_plan in struct Plan methods 2021-11-16 00:02:08 +00:00
Jonathan G Rennison
95a60d520e Increase object class ID limit 2021-11-15 23:36:03 +00:00
Jonathan G Rennison
4eec377ef7 Remove NewGRF limit increase from readme, this is in upstream 2021-11-15 18:51:32 +00:00
Charles Pigott
cf16f452da Fix #9680: Recalculating aircraft positions before map array updates caused crashes (#9699) 2021-11-15 13:39:41 +00:00
Patric Stout
0cbe94256e Change: [Emscripten] update to 2.0.34 and use Release over RelWithDebInfo (#9696)
It turns out that having "-g" in the compile-statement causes
Emscripten to pick -g3, which makes for very big binaries. This
is very likely not your intention when building Emscripten, as
smaller really is better.

For comparison, with RelWithDebInfo the binary is ~80MB. With
Release it is ~7.4MB.
2021-11-14 16:59:49 +01:00
Jonathan G Rennison
76ad272f3b Fix reservation loop with single-vehicle trains and signalled tunnel/bridges 2021-11-14 00:00:22 +00:00
Jonathan G Rennison
b259d04339 Add tunnel/bridge entrance/exit values to entry direction conditional 2021-11-13 22:52:27 +00:00
Jonathan G Rennison
74bfe4e6d2 Allow placing routing restrictions on tunnel/bridge entrance/exit signals
No reserve through support
2021-11-13 22:28:14 +00:00
Jonathan G Rennison
1ee59c8333 Fix pending speed restrictions not being applied on signalled tunnel/bridges
Distance remaining was not decremented
2021-11-13 21:24:31 +00:00
Jonathan G Rennison
3ea4ac98e7 Fix missing VehicleRailFlags in DumpVehicleFlags 2021-11-13 21:11:11 +00:00
Jonathan G Rennison
8c8c0e250a Fix exit signal state when unable to leave signalled custom bridge head
When the exit direction is different to the bridge direction.
2021-11-13 20:37:18 +00:00
frosch
5f6303f985 Fix: don't complain when the sprite font is missing glyphs. (#9692)
Silently auto-pick a suitable font.
2021-11-13 21:01:16 +01:00
Jonathan G Rennison
e661a07425 Fix train not stuck action clearing wait counter when in depot/tunnel/bridge 2021-11-13 18:15:57 +00:00
Jonathan G Rennison
48977853a4 Simplify some rail/signalled tunnel/bridge tile checks 2021-11-13 17:26:07 +00:00
Jonathan G Rennison
dad007e16a Fix spelling of TRPRF_SPEED_RESTRICTION_SET 2021-11-13 02:00:37 +00:00
translators
f8efab4653 Update: Translations from eints
japanese: 1 change by akaregi
dutch: 3 changes by Afoklala
2021-11-12 18:46:13 +00:00
Jonathan G Rennison
dca7e7bc58 Merge branch 'master' into jgrpp 2021-11-12 18:07:11 +00:00
Jonathan G Rennison
3308edf792 Try to extend reservation when passing sighting distance of non-end signal 2021-11-12 01:02:29 +00:00
Jonathan G Rennison
2a2b988424 Fix premature reservation end after reversing station found
ChooseTrainTrackLookAheadStateFlags/TrainReservationLookAheadFlags mixup
2021-11-12 00:03:09 +00:00
Owen Rudge
2f72eb0657 Add: Specify minimum version for macOS (#9689) 2021-11-11 20:06:31 +01:00
translators
62795a2e6d Update: Translations from eints
russian: 2 changes by Ln-Wolf
2021-11-11 18:48:27 +00:00
Jonathan G Rennison
2b1993ee4d Fix crash with wrong-way running on multi-aspect signalled tunnel/bridge
When using the ignore signals buttons and updating middle signal states
2021-11-11 18:06:35 +00:00
Jonathan G Rennison
5ac6ea8cd1 Suppress unitialised warning in GenerateTownNameString on some platforms 2021-11-11 02:49:06 +00:00
Jonathan G Rennison
34f8098689 Suppress Wdeprecated-copy warning on clang/emscripten 2021-11-11 02:16:27 +00:00
Jonathan G Rennison
656c596c33 Disable fetching MacOS code signing certs in release workflow 2021-11-11 01:01:14 +00:00
Jonathan G Rennison
f79977ad0b Disable signing installer in release workflow 2021-11-11 00:58:22 +00:00