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 ef55cc79796e9e7126f856174f0fec56cd92ae15)
# 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 99b74c1064a61838a6bcde46a87e07cbe88c328b)
# 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 90029beb4919ea8d74b9d646e643beb7a3e3fcd0)
# 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 2559bdfa6f65e6a44bb1f4fd72ab9c5eb42b09c6)
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 72c55128d2129f824a60a35fb5aa601409af4a3d)
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
Jonathan G Rennison
980de7353d
TBTR: Fix replacement servicing condition when using infinite money
2024-04-23 17:16:15 +01:00
Jonathan G Rennison
69e7c1697e
Win32: Increase buffer size and count in wave out sound driver
...
Ensure that wave structs are zero-inited and buffers are freed
2024-04-22 17:24:44 +01:00
Jonathan G Rennison
3136f08b86
Debug: Fix display of engine cargo age period and reliability decay speed
2024-04-21 19:59:53 +01:00
Jonathan G Rennison
33baceaef7
Maintain timer sort invariants when changing period
...
See: https://github.com/OpenTTD/OpenTTD/issues/12509
2024-04-20 21:30:13 +01:00
Jonathan G Rennison
674642f9cc
Add a priority field to TimerGameTick::TPeriod
...
Use this as the primary sort key for TimerGameTick::TPeriod,
to avoid container sort order changes on timer period saveload.
2024-04-20 21:29:21 +01:00
Jonathan G Rennison
d5b8f51bf9
Rename variable to fix Windows header name collision
2024-04-20 21:01:43 +01:00
Jonathan G Rennison
71227f61d8
Use MoveFileExW to implement FioRenameFile on Windows
...
This is to allow renaming over an existing file
2024-04-20 20:55:21 +01:00
Jonathan G Rennison
083d91a582
Remove use of shell API function for rename
2024-04-20 20:39:32 +01:00
Peter Nelson
653e217bb1
Fix: Signature validation did not close its file. ( #12479 )
...
(cherry picked from commit 3316b27496
)
2024-04-20 19:58:51 +01:00
Peter Nelson
8fdc91bd9f
Fix a29766d
: Wrong scrolling dropdown list position with RTL. ( #12412 )
...
(cherry picked from commit 9750826590
)
2024-04-20 19:47:39 +01:00
Loïc Guilloux
54093fb8b2
Fix: [Win32] Force font mapper to only use TrueType fonts ( #12406 )
...
(cherry picked from commit 11aa3694fa
)
2024-04-20 19:47:22 +01:00
Jonathan G Rennison
98dc6c3c81
Fix NewGRF byte order when using -q
2024-04-20 19:46:51 +01:00
Peter Nelson
ae16df2d61
Fix #12497 : Add workaround for motion_counter being implemented correctly.
...
#12229 stopped updating motion_counter for non-engine parts of trains, and in doing so accidentally followed the spec for NewGRF var 46, which breaks NewGRFs that used to... accidentally work.
Make var 46 return motion_counter of the first engine, regardless of self or parent scope. This means var 46 is always in sync with the head engine, and avoids further changes to when motion_counter is updated.
(cherry picked from commit 9539b02455f672e11f3ac32302a00cffa5507770)
2024-04-20 19:19:23 +01:00
Jonathan G Rennison
6056a00222
Fix incorrect train weight used for infrastructure sharing track fees
2024-04-18 18:00:01 +01:00
Jonathan G Rennison
0150f8f570
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/network/network_server.cpp
2024-04-18 17:37:25 +01:00
Jonathan G Rennison
e17c6da46a
Fix industry cargoes when loading newer vanilla savegames
2024-04-17 17:35:01 +01:00
Jonathan G Rennison
d70c824056
Linkgraph: Increase effect strength of distance scaling setting
...
Updates: 3d049895
2024-04-17 17:28:39 +01:00
Jonathan G Rennison
d52d447603
Update station/industry nearby lists in BuildOilRig
...
See: https://github.com/OpenTTD/OpenTTD/issues/12506
2024-04-17 17:07:00 +01:00
Jonathan G Rennison
41543498f4
Fix ships leaving dots behind in viewport map mode
...
Fixes: 57db9a41
2024-04-16 17:51:51 +01:00
Jonathan G Rennison
1e38e513ae
Fix EnginesDailyLoop being called on new economy day instead of calendar
2024-04-16 17:16:35 +01:00
Jonathan G Rennison
0dcbcedbac
Fix ScriptRail::BuildSignal when using realistic braking with block signals
2024-04-15 00:16:41 +01:00
FedelloKirfed
46d71463d9
🌐 Update Galician Translations 2024-04-14
2024-04-14 10:32:55 +02:00
Jonathan G Rennison
40644f21d4
Version: Committing version data for tag: jgrpp-0.58.3
2024-04-10 19:25:55 +01:00
Jonathan G Rennison
6642b7e12c
Temporary fix for click/tooltip alignment of cargo lines in industry chains window
...
See: #681
See: https://github.com/OpenTTD/OpenTTD/issues/12465
2024-04-10 18:43:41 +01:00
Jonathan G Rennison
8e0fa32d33
Fix merge/editing error in IndustryCargoesWindow
2024-04-10 17:34:57 +01:00
Jonathan G Rennison
3d04989507
Link graph: Change distance scaling algorithm in demand scaler
...
Fix erratic scaling and increase effect at large setting values
2024-04-09 23:52:13 +01:00
Jonathan G Rennison
3712b84d2e
Fix narrowing conversion warnings
2024-04-09 21:31:08 +01:00
Rubidium
bf0cb3c43f
Codechange: let lengthof fail when anything that isn't a C-style array is passed
...
(cherry picked from commit 97bea563d7
)
2024-04-08 19:56:20 +01:00
Jonathan G Rennison
28e74005d0
Remove various uses of lengthof on std::array
2024-04-08 19:55:58 +01:00
Rubidium
919830db7a
Fix: do not use lengthof() for non C-style arrays
...
(cherry picked from commit c544a2be0a
)
2024-04-08 18:36:26 +01:00
Peter Nelson
c5b854a422
Codechange: Avoid lengthof() on std::array.
...
(cherry picked from commit 295508fc53
)
2024-04-08 18:36:26 +01:00
Peter Nelson
9b830e9eb2
Fix: Aircraft crash counter was too low to reach ground. ( #12425 )
...
Aircraft can float above the ground when crashed as the counter limit to reach the ground is too low.
Instead reset the counter until the aircraft reaches the ground, then continue the timer.
(cherry picked from commit 83da886093
)
2024-04-08 18:27:24 +01:00