Rubidium
61342620bc
Doc: Prepare for 14.1 release
2024-05-03 22:47:41 +02:00
Rubidium
331bb11914
Update: Backport language changes
2024-05-03 17:06:52 +02:00
Rubidium
14f745c42d
Fix 2955ff3: CMake atomic check fails due to chosen compiler
2024-05-03 17:06:52 +02:00
James Addison
fd52747faf
Doc: Add Apache 2.0 licensing info for CheckAtomic.cmake ( #12603 )
2024-05-03 17:06:52 +02:00
Fen
3bb57d47b2
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
2024-05-03 17:06:52 +02:00
Peter Nelson
3b501b5d27
Update: Backport language changes
2024-04-30 22:03:24 +01:00
Peter Nelson
060a5c0f9f
Fix: Out-of-order window set up due to deferred window resize. ( #12592 )
...
Deferred window resize was being applied to the initial window resize event, resulting in some window state (e.g. scroll bar capacity) not being initialised when expected.
2024-04-30 22:03:24 +01:00
Loïc Guilloux
b659d3a4b4
Fix #12584 : Improved error handling during tar scan ( #12586 )
2024-04-30 22:03:24 +01:00
Jonathan G Rennison
fccb5d0a29
Fix #12509 : Maintain timer sort invariants when changing period
2024-04-30 22:03:24 +01:00
Jonathan G Rennison
3d6cdc52d7
Codechange: 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.
See: #12509
2024-04-30 22:03:24 +01:00
Peter Nelson
17ae92c50d
Fix 952d111: Houses and industry tiles could accept incorrect cargo. ( #12547 )
...
Default cargo label was not cleared (set to CT_INVALID) when using older 3-slot acceptance properties for house and industry tiles.
Missed in #12053 and #12062 .
2024-04-30 22:03:24 +01:00
Rubidium
aece877960
Fix 5008706: improved scenario editor tooltips in map generation stages are out of place
2024-04-30 22:03:24 +01:00
Rubidium
1897ddec41
Fix: allow only 255 league tables, as 255 is the invalid id sentinel
2024-04-30 22:03:24 +01:00
Peter Nelson
7c529cfc4b
Fix #12433 : Width of unit number display was too narrow. ( #12534 )
...
Digit width was counted, but ignored the thousands separator.
2024-04-30 22:03:24 +01:00
glx22
dc7a0913d2
Update: Backport language changes
2024-04-20 15:13:59 +02:00
Tyler Trahan
10ae9a7ea1
Fix: Mark vehicle status bars dirty when a vehicle leaves unbunching depot ( #12516 )
2024-04-20 15:13:59 +02:00
Jonathan G Rennison
fe3a0a2418
Fix #12506 : Update station/industry nearby lists in BuildOilRig ( #12511 )
2024-04-20 15:13:59 +02:00
Patric Stout
9e7b7a477e
Codechange: improve desync documentation ( #12521 )
2024-04-20 15:13:59 +02:00
Patric Stout
257704ae9a
Codechange: skip all commands of the past during desync replay ( #12520 )
2024-04-20 15:13:59 +02:00
Patric Stout
cd6946c5a8
Codechange: use infinite-fast-forward when rerunning command-log ( #12519 )
2024-04-20 15:13:59 +02:00
Patric Stout
151e80650f
Codefix: don't send desync=0 log messages to commands.log ( #12517 )
...
They are only used during replay, and you want to see those in
the console; not in the log.
2024-04-20 15:13:59 +02:00
Patric Stout
5b0b7ba354
Codechange: record cache warnings with a "warning" prefix ( #12518 )
2024-04-20 15:13:59 +02:00
Tyler Trahan
fa4245dcba
Fix: Don't show train waiting for unbunching as waiting for free path ( #12515 )
2024-04-20 15:13:59 +02:00
Tyler Trahan
b5c2357dfe
Fix: Smooth outliers in unbunching round trip calculations ( #12513 )
2024-04-20 15:13:59 +02:00
Tyler Trahan
b64cd74a0c
Codefix: Don't mix signed and unsigned ints in unbunching calculations ( #12514 )
2024-04-20 15:13:59 +02:00
Peter Nelson
7738d507c8
Fix c38df2d58: Use VehicleID instead of pointer in map of vehicles to replace. ( #12512 )
...
This affects the sort order, VehicleID is deterministic, Vehicle * is not.
2024-04-20 15:13:59 +02:00
Paco Esteban
bb76f2e396
Codechange: Use arc4random_buf on random_func.cpp for OpenBSD
2024-04-20 15:13:59 +02:00
Koen Bussemaker
6359d5e20c
Fix #12228 , Fix #12231 : CheckShipReverse only restricts path when it has to
2024-04-20 15:13:59 +02:00
Peter Nelson
a69cbc3b46
Add: Check that towns can build roads before generating map. ( #12503 )
2024-04-20 15:13:59 +02:00
Koen Bussemaker
85a21a1654
Doc: Updated Visual Studio, cpp standard and Cmake version
2024-04-20 15:13:59 +02:00
SamuXarick
6a6ab82050
Codechange: Where the ship comes from is already known
...
This simplifies the handling of variables.
`ChooseShipTrack` is called upon entering `tile`, and looking further back to the caller, it can be deduced that `v->tile` matches `src_tile`. With that said, `enterdir` can also be removed, as it's not used anywhere else.
`CreateRandomPath` and `GetRandomFollowUpTrackdir` is being fed `src_tile` as it's 2nd parameter. This could be eliminated, as `v` is also being passed to it. Just use `v->tile` in those functions.
2024-04-20 15:13:59 +02:00
Peter Nelson
9baff60f66
Codefix: Remove no-longer used ship special-case. ( #12192 )
...
This special-case has not been triggered since multi-tile docks were introduced.
2024-04-20 15:13:59 +02:00
Loïc Guilloux
b3c704a630
Doc: Prepare for 14.0 release ( #12490 )
...
* Doc: Prepare for 14.0 release
* Fix: applied code review
Co-authored-by: rubidium42 <rubidium42@users.noreply.github.com>
* Fix: apply suggestion
Co-authored-by: Patric Stout <github@truebrain.nl>
* Fix: Apply suggestions from code review
Co-authored-by: Patric Stout <github@truebrain.nl>
* Fix: apply suggestions
---------
Co-authored-by: Patric Stout <github@truebrain.nl>
Co-authored-by: rubidium42 <rubidium42@users.noreply.github.com>
2024-04-13 12:28:18 +00:00
glx22
a4adab31fc
Update: Backport language changes
2024-04-12 21:40:34 +02:00
Peter Nelson
2fa6d79453
Fix #12477 : Use std::filesystem::rename instead of Windows Shell API call. ( #12478 )
2024-04-12 21:40:34 +02:00
Peter Nelson
11e6d2e3d4
Fix: Signature validation did not close its file. ( #12479 )
2024-04-12 21:40:34 +02:00
Peter Nelson
3425aeac85
Fix: Use clear() to clear std::string. ( #12471 )
2024-04-12 21:40:34 +02:00
glx22
8fd30a0a17
Update: Backport language changes
2024-04-09 23:46:14 +02:00
Peter Nelson
481736fdfd
Codechange: Avoid lengthof() on std::array.
2024-04-09 23:46:14 +02:00
Rubidium
40efa94d82
Codechange: let lengthof fail when anything that isn't a C-style array is passed
2024-04-09 23:46:14 +02:00
Rubidium
6a9517a4e6
Fix: do not use lengthof() for non C-style arrays
2024-04-09 23:46:14 +02:00
Peter Nelson
774ea5676f
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.
2024-04-09 23:46:14 +02:00
Peter Nelson
75a1bc7831
Fix #12233 : Mini order list overlaps vehicle group name. ( #12423 )
...
Move mini order list down one line to make room.
2024-04-09 23:46:14 +02:00
Peter Nelson
bd6acf405b
Fix #12114 : Viewport coords of crashed aircraft not updated when falling. ( #12424 )
...
This results in the aircraft glitching as the wrong viewport area is drawn.
2024-04-09 23:46:14 +02:00
Peter Nelson
eb730cb7f8
Fix #12395 : Ensure president name widget is tall enough. ( #12419 )
2024-04-09 23:46:14 +02:00
Peter Nelson
0ee151623c
Fix: Segfault when using -q without providing a . character. ( #12418 )
...
Use std::filesystem::path to find extension instead of strrchr.
2024-04-09 23:46:14 +02:00
Loïc Guilloux
ee2ee15a1e
Fix #12415 , 9c49a61
, df400ef: Aircraft::tile is valid only for front vehicle ( #12416 )
2024-04-09 23:46:14 +02:00
Peter Nelson
680c8c20f2
Fix a29766d: Wrong scrolling dropdown list position with RTL. ( #12412 )
2024-04-09 23:46:14 +02:00
glx22
cd9c9afcb6
Update: Backport language changes
2024-04-02 00:02:53 +02:00
Loïc Guilloux
273b571408
Fix: [Win32] Force font mapper to only use TrueType fonts ( #12406 )
2024-04-02 00:02:53 +02:00