3c769dc854
feat: Add font tab
2024-06-06 16:32:36 +01:00
de01720d3b
fix: Tie dropdown items to button size
2024-06-06 16:21:59 +01:00
6b39ec32ce
fix: Show console output
2024-06-05 22:47:04 +01:00
2597580a14
change: Revert viewport sizing logic
2024-06-05 21:45:55 +01:00
b8ebed1034
feat: Add button ratio slider
2024-06-04 20:30:45 +01:00
7e4cf1d012
Merge tag '14.1' into 14
2024-05-11 15:45:39 +01:00
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
e5f848d9ff
fix: let smallmap be moved with lmb
...
Fixes issue #6
2024-04-29 23:51:15 +01:00
12ef19719d
fix: revert boggus merge in sdl_v
...
it fixes ctrl and shift buttons not working
Fixes issue #5
2024-04-29 23:50:52 +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
117de7a18e
Update ottdrev
2024-04-13 14:36:21 +01:00
f1137e9216
Merge remote-tracking branch 'upstream/release/14' into 14
2024-04-13 14:13:26 +01: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
3c7bd78362
fix: Open urls in Android
2024-04-12 01:46:33 +01:00
f9e9e147fd
fix: genworld_gui got too wide, dial back a bit
2024-04-12 00:58:19 +01:00
ab094e8e6f
fix: Allow titlebars to be disabled
...
Yes, yet again
2024-04-12 00:55:31 +01:00