Commit Graph

57260 Commits

Author SHA1 Message Date
Jonathan G Rennison
77772725be Version: Committing version data for tag: jgrpp-0.57.1 2024-02-04 17:28:34 +00:00
Jonathan G Rennison
b2b96fff13 Disable threaded rendering when showing widget outlines
Because these are drawn outside the window boundary, so it is not
technically thread-safe due to non-deterministic drawing order
2024-02-04 02:39:59 +00:00
Jonathan G Rennison
16589041f2 Prevent dragging plan lines across viewports
As this leads to erratic plans
2024-02-04 02:39:59 +00:00
Jonathan G Rennison
d4381d06ea Revert "Add scoped helper to temporarily override current blitter"
This reverts commit ae701a3bd8.
2024-02-04 02:00:45 +00:00
Jonathan G Rennison
4a9803c6f0 Do not override global blitter to render overlay/plans to cache buffer
Creates thread safety issues with active draw jobs
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
816d4eb657 Fix ff0c77ee: Wrong pitch used to fill in scrolled plan/overlay caches 2024-02-04 01:41:04 +00:00
Jonathan G Rennison
3365efa5b2 Ensure that sprite aligner click to pick sprites is thread safe
Use a mutex for list of sprite IDs found in (threaded) draw jobs
2024-02-04 01:41:04 +00:00
Jonathan G Rennison
736539280b Fix second colour vehicle-type default liveries not being updated
When changing company default second colour
2024-02-03 23:11:49 +00:00
Jonathan G Rennison
ff0c77ee3b Blitter: Do not override global screen pitch to use 8bpp blitter
8bpp blitter keep a point to pitch (default screen pitch)
2024-02-03 22:00:21 +00:00
Jonathan G Rennison
539ca43525 Replace asserts with exits in GfxFillRect 2024-02-03 18:16:30 +00:00
kiwitreekor
16574946da Add: Station variable 6B to get extended station id of nearby tiles (#10953)
(cherry picked from commit 8d62a8f0f0)
2024-02-03 17:53:58 +00:00
Jonathan G Rennison
728971ddbc Road stops: Remove 0x6B as alias of roadstop_road_info_nearby_tiles 2024-02-03 17:52:28 +00:00
Jonathan G Rennison
28b156d95c Fix rounding of right edge of viewport mark dirty area
Could result in vehicles leaving pixels behind when moving left
2024-02-03 14:57:15 +00:00
Jonathan G Rennison
41299128e5 Explicitly cast time units when calculating wait time in LoadUnloadVehicle 2024-02-03 14:35:38 +00:00
Jonathan G Rennison
2941567c02 Fix leftover strings in Korean translation
See: #642
2024-02-03 12:21:06 +00:00
TELK
1174794c82 Update: Korean translation up to 0.57.0 2024-02-03 12:07:28 +00:00
Jonathan G Rennison
04fc0c37dc Crashlog: Tag image base with [[maybe_unused]] 2024-02-03 12:04:55 +00:00
Jonathan G Rennison
7d92f185d3 Fix picker tool item selection in rail/road station and waypoint windows 2024-02-03 12:02:58 +00:00
glx22
48c97d6cde Fix 48b6b18: Increase MAX_VALUATE_OPS to match the previous limit
(cherry picked from commit a502453033)
2024-02-03 11:40:11 +00:00
Jonathan G Rennison
66e57e6b2d Crashlog: Handle image relocation in MinGW BFD symbol lookup 2024-02-02 21:11:22 +00:00
Jonathan G Rennison
d00424008f Crashlog: Adjust Linux stacktrace format when using BFD 2024-02-02 21:11:22 +00:00
Jonathan G Rennison
a4c14171a7 Crashlog: Re-use BFD instances for the same object 2024-02-02 21:11:22 +00:00
Jonathan G Rennison
fcc6529b6a Ensure scroll count and engine list size match in build vehicle window 2024-02-02 18:24:53 +00:00
Jonathan G Rennison
860af4de29 Fix sort by total cargo in build ship window 2024-02-02 01:48:28 +00:00
Jonathan G Rennison
3886ea75a6 Picker tool: Add support for industries 2024-02-01 20:03:56 +00:00
Jonathan G Rennison
9f55550417 Multi-cargo ships: Sprite group cargo thresholds refer to entire ship 2024-02-01 18:48:07 +00:00
Jonathan G Rennison
47393b42dc VarAction2: Fix procedure calls being incorrectly eliminated
In the case where they were only referenced by substitution candidates
2024-02-01 18:17:04 +00:00
Jonathan G Rennison
000ae23eb2 VarAction2: Fix loads of temporary variable 0 not being tracked 2024-02-01 18:13:01 +00:00
Jonathan G Rennison
b49a38bf6c Fix build and refit with multi-cargo ships only refitting first part 2024-02-01 02:34:49 +00:00
Jonathan G Rennison
a5a315b55d Fix inconsistent order of ship running cost and capacity 2024-01-31 20:30:20 +00:00
Jonathan G Rennison
73bcd40776 Fix taking over a company using shares using the wrong news string
See: #637
2024-01-30 19:49:46 +00:00
Jonathan G Rennison
38b7c68623 Docs: Unmark road NewGRF road stops as patch feature in landscape docs 2024-01-30 19:28:05 +00:00
Jonathan G Rennison
7d086ae686 Tracerestrict: Only apply wait at PBS for intermediary signals in forward direction 2024-01-30 18:47:48 +00:00
Jonathan G Rennison
b4b61beeec Fix slot acquire on PBS reservation end on tunnel/bridge entrance signals 2024-01-30 18:31:44 +00:00
Jonathan G Rennison
3835500c9a Fix non-text time input dialog (when using time in minutes)
See: #638
2024-01-30 18:11:56 +00:00
Jonathan G Rennison
2b92ebade8 Fix wrong year in changelog 2024-01-30 17:59:45 +00:00
Jonathan G Rennison
e987ceaa8b Version: Committing version data for tag: jgrpp-0.57.0 2024-01-30 01:25:40 +00:00
Jonathan G Rennison
8364ba3ce7 Fix getting information from JGRPP servers on local LAN 2024-01-30 01:22:43 +00:00
Jonathan G Rennison
63e6a9503a Fix 52128144: Parsing of version 7 network game info packets 2024-01-30 00:56:40 +00:00
Jonathan G Rennison
2cdd85c79c Use StrLastPathSegment in TarScanner::AddFile 2024-01-29 23:57:41 +00:00
Jonathan G Rennison
a1c7d1bd30 Remove non-owning string pointer from StringParameter
(For the time being)

See: https://github.com/OpenTTD/OpenTTD/issues/11922
2024-01-29 22:25:11 +00:00
Jonathan G Rennison
5e29901d02 Tracerestrict: Allow nesting temporary slot states
Use a temporary state stack instead of passing the state directly
in TraceRestrictProgramInput

No longer exit early from ExtendTrainReservation to handle slots, this
fixes reservation failures when starting from a signal with a slot acquire

More thorough fix for 9e8a4314
2024-01-29 22:16:29 +00:00
Jonathan G Rennison
e148f7653b Use scaled.vsep_sparse for EXP_SPACING in company infrastructure window 2024-01-29 18:01:19 +00:00
Jonathan G Rennison
77f1655686 Disable MinGW std threads includes by default
In preparation for removal later
2024-01-29 00:39:41 +00:00
Jonathan G Rennison
31d87f6101 Fix 9e8a4314: Start signal state erroneously changed if it has slot acquire 2024-01-28 20:03:10 +00:00
Jonathan G Rennison
efab96b82b Set default service interval and timetable flags for virtual trains
See: #636
2024-01-28 17:50:13 +00:00
Jonathan G Rennison
18739394e1 Fix paths of content in tar files 2024-01-28 17:37:19 +00:00
Jonathan G Rennison
9bea1e3cc3 Scheduled dispatch: Allow tagging departure slots, add to conditional order 2024-01-28 17:14:03 +00:00
Jonathan G Rennison
be469405df Bitmath: Add utility functions for calculating bit masks
Add tests
2024-01-28 15:41:50 +00:00
Jonathan G Rennison
0a16ba1bd7 Scheduled dispatch: Add dispatch slot tooltip 2024-01-28 13:20:28 +00:00