Commit Graph

52604 Commits

Author SHA1 Message Date
Jonathan G Rennison
ba65a5bab5 Run most "daily" vehicle tasks at a fixed frequency at day lengths >= 8
This includes: running costs, track sharing costs, breakdown checks,
servicing checks, order checks
2021-11-27 15:51:49 +00:00
Jonathan G Rennison
1ff03f8ee9 De-virtualise calls to Vehicle::OnNewDay 2021-11-27 15:17:41 +00:00
Jonathan G Rennison
0794825187 Reduce unnecessary diffs with upstream in lang/english.txt 2021-11-27 13:11:06 +00:00
Jonathan G Rennison
8bc15c10cd Fix station/waypoint vehicle tooltip showing incorrect ctrl-click text
Split ctrl-click text from original tooltip strings

See: #36
2021-11-27 12:59:46 +00:00
Jonathan G Rennison
e6fbf797ff Split timetable clear/set speed/wait time tooltip strings
This is to separate the original strings from added suffixes
2021-11-27 12:46:48 +00:00
translators
e0a91d7325 Update: Translations from eints
galician: 17 changes by pvillaverde
2021-11-26 18:48:29 +00:00
Jonathan G Rennison
b02b154218 Also show hours and minutes for schdispatch duration in minutes mode 2021-11-24 02:12:19 +00:00
Jonathan G Rennison
a7094fec3b Add a STRING8 format code 2021-11-24 02:10:42 +00:00
Jonathan G Rennison
dd5d4c795b Fix entering schdispatch delay/duration when not in minutes mode 2021-11-24 02:10:22 +00:00
Jonathan G Rennison
2308345803 Improve labels of non-text scheduled dispatch date/time entry window 2021-11-23 23:40:13 +00:00
Jonathan G Rennison
766fbacd57 Debug: Click toggle between long and short vehicle flag dump in window 2021-11-23 19:29:40 +00:00
Jonathan G Rennison
5d6533e258 Debug: Add a multiline long form of DumpVehicleFlags 2021-11-23 19:28:38 +00:00
Jonathan G Rennison
b5521653e0 Debug: Add general mechanism to make lines in debug window clickable 2021-11-23 19:26:42 +00:00
Jonathan G Rennison
2b56ca2b62 Debug: Create struct type for ExtraInfo output parameter 2021-11-23 18:16:51 +00:00
translators
ad7bdeb73a Update: Translations from eints
chinese (simplified): 2 changes by kurax
2021-11-22 18:48:48 +00:00
Jonathan G Rennison
ef1b8f159f Fix ctrl-click signal cycling setting 2021-11-22 17:10:15 +00:00
reldred
f461f0de08 Introduces a new setting (defaulted off) to allow preventing road vehicles from performing so-called quantum tunelling through other vehicles blocking their path. 2021-11-22 15:45:55 +10:30
Jonathan G Rennison
9ff8643fd9 Split config transparency settings into base and extra fields
This is to avoid incorrect settings when loading in trunk,
as the min/max clamping is not bitwise.
In particular having all options set in trunk when transparent vehicles
in tunnels was set.
2021-11-21 22:10:31 +00:00
Michael Lutz
20a30825a0
Fix: Insufficient input validation for CmdIndustryCtrl. (#9711) 2021-11-20 23:27:45 +01:00
Jonathan G Rennison
5c0c057dda Adjust ConHookServerOrNoNetwork error message 2021-11-20 20:11:00 +00:00
translators
793de48e89 Update: Translations from eints
vietnamese: 2 changes by KhoiCanDev
2021-11-20 18:49:33 +00:00
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