Commit Graph

58323 Commits

Author SHA1 Message Date
Jonathan G Rennison
5e971bfc02 Fix abstract filetype not being set for network client join savegames 2024-05-19 18:44:08 +01:00
Jonathan G Rennison
fc5b3b90b4 Remove incorrect assertion as temporary fix for #692
See: https://github.com/OpenTTD/OpenTTD/issues/12651
2024-05-19 17:44:33 +01:00
Rubidium
1d13ac7280 Fix #12655, 4f6d75f: inconsistent state in client list and potential crash after client leaves
(cherry picked from commit f939e81bf0)
2024-05-19 17:38:36 +01:00
Peter Nelson
f62eb72fcb Fix #12685: nullptr dereference when checking for equal loaded/loading groups. (#12686)
Always treat empty groups as non-equal. Given that the case of both being empty is handled earlier, they cannot both be equal and empty.

Additionally if a loaded or loading set are all the same, only add one reference.

(cherry picked from commit 856ec901ca)
2024-05-19 17:36:12 +01:00
Jonathan G Rennison
3df3ed6690 Reduce frequency of brake overheating breakdowns
Decay overheat state more quickly
Avoid double-triggering overheating
Make overheating speed-dependent
2024-05-18 20:56:58 +01:00
Jonathan G Rennison
66d03530dc Adjust handling of vehicle subspeed with realistic braking
In particular when descending a steep slope with insufficient braking
2024-05-18 20:55:27 +01:00
Jonathan G Rennison
6d1f3b673e Fix non-percentage servicing interval when using wallclock mode 2024-05-18 15:00:43 +01:00
Jonathan G Rennison
89902c8ab1 Fix advisory max speed being higher than strict max for reservation end
In GetCurrentMaxSpeedInfoInternal
2024-05-18 09:24:57 +01:00
Jonathan G Rennison
242e87652b Fix setting display for industry cargo scaling 2024-05-14 17:17:45 +01:00
Jonathan G Rennison
b81da24a64 Fix setting default value for industry cargo scaling mode in old saves 2024-05-14 17:14:14 +01:00
Jonathan G Rennison
bdd1d36bd9 Fix road vehicle restart loading at same station when using implicit orders 2024-05-12 22:48:18 +01:00
TELK
b1faf3d39f Update: Korean translation 2024-05-11 09:54:55 +01:00
TELK
d3fc9997d1
Update: Korean translation up to 0.59.0 (#689)
* Update: Korean translation up to 0.59.0

* Update: Korean translation up to fc4ea241

* Update: Korean translation / missing ones
2024-05-09 17:13:20 +01:00
Peter Nelson
d7f029344f Codechange: Don't delete news items or NewGRF window when EffectVehicle is deleted. (#12334)
EffectVehicles never create news and can't be debugged, so searching for news items and windows to delete just wastes time.

(cherry picked from commit 737e3feaf0)
2024-05-08 18:01:51 +01:00
Jonathan G Rennison
fc4ea241b0 Merge branch 'master' into jgrpp 2024-05-07 17:43:49 +01:00
Jonathan G Rennison
6d4f616706 Fix crash when sorting by capacity in autoreplace window
Move capacity cache into GUIList sort parameter

See: #690
2024-05-07 17:41:37 +01:00
Jonathan G Rennison
5e24882c18 Use template specialisation for GUIList parameter reference/init behaviour 2024-05-07 17:34:15 +01:00
Jonathan G Rennison
18a42664fc Merge branch 'master' into jgrpp
Remove 'byte' typedef
2024-05-07 17:21:50 +01:00
Jonathan G Rennison
f1c0f864f5 Add setting to shorten vehicle view status text 2024-05-06 20:00:34 +01:00
Jonathan G Rennison
0a0b42a931 Bump OpenTTD content version to 14.1 2024-05-06 17:54:56 +01:00
Jonathan G Rennison
3e57319c0b Fix SDL keycode to vkey mapping 2024-05-06 17:02:40 +01:00
Jonathan G Rennison
eccffec758 Version: Committing version data for tag: jgrpp-0.59.0 2024-05-05 22:04:55 +01:00
Peter Nelson
6de4fa921c Change: Use standard padding for company password window.
Also use now-established OnResize pattern for setting height of password warning widget.

(cherry picked from commit 0090431e99b8301c9e3ee14fb3435075708294d5)
2024-05-05 19:20:53 +01:00
Jonathan G Rennison
f993e30850 Take cargo refit into account in build vehicle window capacity sort modes 2024-05-05 12:55:33 +01:00
Jonathan G Rennison
1e5c96ef87 De-duplicate filling TestedEngineDetails in build vehicle windows 2024-05-05 12:38:25 +01:00
Jonathan G Rennison
fe374a1db0 Allow sorting by cargo capacity/running cost in dual pane train purchase window 2024-05-05 12:31:11 +01:00
Jonathan G Rennison
126173a839 Fix text filter in dual-pane purchase window with GRF custom names 2024-05-04 11:40:45 +01:00
Jonathan G Rennison
6dab30f928 Documentation: Remove random_bits variable from road stops (NML) 2024-05-03 21:16:08 +01:00
Jonathan G Rennison
6ef682cf44 Documentation: Fix typo 2024-05-03 20:53:22 +01:00
Jonathan G Rennison
a413ddfd82 Readme: Expand introduction section a bit 2024-05-03 19:02:18 +01:00
Jonathan G Rennison
4f7fa73140 Readme: Remove various things which have been upstreamed 2024-05-03 19:02:03 +01:00
Jonathan G Rennison
e89a40994a Reduce diff with upstream for fileio.cpp 2024-05-03 18:10:51 +01:00
Peter Nelson
a2bd2efec1 Codechange: Remove support for links in tar files. (#12571)
This was a feature to support the original 32bpp sprite system and is no longer relevant.

(cherry picked from commit ef55cc7979)

# Conflicts:
#	src/fileio.cpp
2024-05-03 17:54:24 +01:00
Loïc Guilloux
716ba5fd2a Fix #12584: Improved error handling during tar scan (#12586)
(cherry picked from commit 99b74c1064)

# Conflicts:
#	src/fileio.cpp
2024-05-03 17:33:16 +01:00
Peter Nelson
8769318653 Codechange: Ensure SDLK mappings stay in the expected order. (#12608)
Add a constexpr constructor that ensures at compile-time that the source SDLK range matches the target range.

(cherry picked from commit 90029beb49)

# Conflicts:
#	src/video/sdl2_v.cpp
#	src/video/sdl_v.cpp
2024-05-03 17:06:38 +01:00
Fen
fd183914c8 Fix 2d27e8e: Update numpad keycodes for SDL2, making it usable (#12596)
* Fix 2d27e8e: Update numpad keycodes for SDL2, making it usable

* Cleanup: List sdl2 numpad mappings individually

(cherry picked from commit 2559bdfa6f)
2024-05-03 17:05:17 +01:00
Jonathan G Rennison
f1334b9854 Documentation: Fix typo 2024-05-01 22:12:22 +01:00
Calvin Sykes
69cb68a3e2 Override remain at station behaviour for road vehicles with explicit stop direction set
(cherry picked from commit 8f8d635baf3dc1506de206a3378498bedfd020bf)

See: #686
2024-04-30 20:46:49 +01:00
Jonathan G Rennison
247b40c95b Adjust setting texts for show running costs per year setting 2024-04-30 18:20:58 +01:00
Jonathan G Rennison
d90c540f9e Enable economy day length scaling in wallclock timekeeping mode 2024-04-30 18:04:04 +01:00
Jonathan G Rennison
9a07f14f56 Show running costs in calendar years by default 2024-04-29 22:57:02 +01:00
Jonathan G Rennison
c5cd598217 Debug: Log number of GRFs at level sl=2 when loading a game
Add helper to get the number of non-static GRFs in a GRF config
2024-04-29 20:14:37 +01:00
Jonathan G Rennison
adc7840f01 Scheduled dispatch: Caveat text for number of vehicles required 2024-04-29 18:31:37 +01:00
Jonathan G Rennison
a14f850f33 Debug: Show unreachable error groups in sprite dump when show details enabled 2024-04-29 17:27:22 +01:00
Peter Nelson
96ddabb30c Codechange: Remove write-only spec_id from RoadStopSpec. (#12582)
Comment is incorrect about its value too.

(cherry picked from commit 72c55128d2)
2024-04-29 17:13:11 +01:00
Jonathan G Rennison
991b7a958e Do not reset lateness on auto-timetable congestion detection, when using scheduled dispatch 2024-04-27 18:45:37 +01:00
TELK
b39bd33c1c
Update: Korean translation up to 980de73 (#688)
* Update: ko-KR / Colouring some setting

* Update: Korean translation - time

* Update: Korean translation up to 980de735
2024-04-24 19:49:01 +01:00
Jonathan G Rennison
29871e412c Fix 69e7c1697: Add missing include for MSVC 2024-04-24 17:16:03 +01:00
Jonathan G Rennison
ce40e85ccc Fix ROADSTOP_DRAW_MODE_WAYP_GROUND when used with RSF_DRAW_MODE_REGISTER 2024-04-23 22:30:13 +01:00
Jonathan G Rennison
07cfa5f602 Fix documentation comment for RSF_DRAW_MODE_REGISTER 2024-04-23 22:29:55 +01:00