Peter Nelson
a32547e8fd
Fix 8c58fb1efd: Doubled beep sounds when clicking toolbar buttons.
...
* ShowDropDownList() now issues a beep, so individual toolbar buttons no longer need to do it.
* HandleButtonClick() may be called twice for some buttons, as it is called by automatically for PUSH buttons.
This caused some beeps to sound louder than others.
2025-12-08 03:24:19 +05:00
Peter Nelson
94979e1f08
Codechange: Demagicify main toolbar button type.
...
Use WWT_PUSHIMGBTN for non-menu buttons so they automatically raise, replacing the custom OnTimeout function.
2025-12-08 03:24:16 +05:00
Peter Nelson
9b07f24693
Fix #14631 , Fix 1cb0cbcb6c: Waypoint customs spec not allocated properly on initial construction. ( #14633 )
...
Split AllocateSpecToStation/RoadStop into Allocate and Assign functions, allowing command tests to occur separately.
2025-12-08 03:24:06 +05:00
translators
1a7db83649
Update: Translations from eints
...
vietnamese: 4 changes by KhoiCanDev
2025-12-08 03:24:05 +05:00
Peter Nelson
1b96f3c4af
Fix ed67aedabf: Wrong button type for town menu in scenario editor toolbar. ( #14641 )
...
The button was changed from an action to a menu, which should be WWT_IMGBTN instead of WWT_PUSHIMGBTN.
2025-12-08 03:24:02 +05:00
Tyler Trahan
5dfea46fd2
Doc: Update station rating comments and doxygen.
2025-12-08 03:23:57 +05:00
Tyler Trahan
86e0f27689
Codechange: Early continue for cargos not moved by this station
2025-12-08 03:23:51 +05:00
Kuhnovic
48e54caa37
Change: Add lock penalty to ship pathfinder. ( #14603 )
2025-12-08 03:23:49 +05:00
Kuhnovic
7e8a198cd5
Codechange: Use YAPF for river builder pathfinder. ( #14606 )
2025-12-08 03:23:37 +05:00
translators
9fee37fd1d
Update: Translations from eints
...
korean: 8 changes by telk5093
dutch: 4 changes by Afoklala
portuguese: 10 changes by jcteotonio
2025-12-08 03:23:37 +05:00
Peter Nelson
36dce002dd
Change: [Script] Decouple RAILTYPE_INVALID from internal presentation. ( #14630 )
...
RAILTYPE_INVALID is now -1, which matches ROADTYPE_INVALID.
2025-12-08 03:23:30 +05:00
translators
461ba26554
Update: Translations from eints
...
english (au): 4 changes by krysclarke
portuguese: 13 changes by jcteotonio
2025-12-08 03:23:30 +05:00
Peter Nelson
87d0473e67
Change: Determine automatic interface scale by window size. ( #14627 )
...
Replace OS-dependent interface scaling with scaling dependent on the window size.
This works on all platforms and should provide a more comfortable experience for new players. Manual interface scale setting works as before.
2025-12-08 03:23:17 +05:00
translators
0270ead4a4
Update: Translations from eints
...
french: 5 changes by ottdfevr
portuguese: 31 changes by jcteotonio
2025-12-08 03:23:17 +05:00
Jonathan G Rennison
bbd8ea4abe
Fix: Variant cycle detection in FinaliseEngineArray ( #14629 )
2025-12-08 03:23:13 +05:00
Kuhnovic
385547642a
Fix #14620 : Use full file path when deleting files. ( #14623 )
2025-12-08 03:22:03 +05:00
Peter Nelson
8929803b7d
Change: Apply interface scale to window snap distance. ( #14625 )
2025-12-08 03:21:59 +05:00
translators
ab12680baf
Update: Translations from eints
...
swedish: 2 changes by robert-i
norwegian (bokmal): 4 changes by eriksorngard
chinese (traditional): 5 changes by KogentaSan
english (us): 5 changes by 2TallTyler
greek: 2 changes by gh658804
russian: 2 changes by Ln-Wolf
finnish: 2 changes by hpiirai
danish: 2 changes by bscargo
portuguese: 6 changes by jcteotonio
portuguese (brazilian): 9 changes by pasantoro
polish: 12 changes by pAter-exe
2025-12-08 03:21:59 +05:00
translators
ffcf5c1c11
Update: Translations from eints
...
swedish: 2 changes by robert-i
greek: 2 changes by gh658804
russian: 3 changes by Ln-Wolf
finnish: 2 changes by hpiirai
danish: 3 changes by New-Authentication
portuguese: 44 changes by jcteotonio
portuguese (brazilian): 2 changes by pasantoro
polish: 2 changes by pAter-exe
2025-12-08 03:21:59 +05:00
Tyler Trahan
90ad445802
Fix #14588 : Show error when unable to clone partly-cleared crashed train ( #14591 )
2025-12-08 03:21:57 +05:00
Kuhnovic
9ee5c8dd87
Change: Removed disable_node_optimization YAPF setting ( #14578 )
2025-12-08 03:20:19 +05:00
Kuhnovic
5dbcbb1be4
Fix 4eaeccd: FioRemove should return false if the file does not exist. ( #14619 )
2025-12-08 03:20:17 +05:00
Peter Nelson
ad172d7a66
Fix #14572 : Incorrect playlist entry was removed if there are duplicates. ( #14583 )
2025-12-08 03:20:15 +05:00
Peter Nelson
75ec1d2ecb
Fix 313c6c45aa: [Script] Return rail types as list instead of bitmask. ( #14617 )
...
This is more idiomatic for scripts, and avoids exposing internal representation.
2025-12-08 03:20:09 +05:00
Kuhnovic
9837e38e40
Change: Ask for confirmation before deleting a savegame / scenario / heightmap. ( #14621 )
2025-12-08 03:19:08 +05:00
Peter Nelson
302266c0b9
Cleanup 3ac1a2f1e4: Don't load/save a train's railtypes property. ( #14618 )
...
A train's railtypes property is always reset by Train::ConsistChanged on load, so storing is not necessary.
2025-12-08 03:19:04 +05:00
translators
e690762a46
Update: Translations from eints
...
portuguese: 1 change by jcteotonio
2025-12-08 03:19:04 +05:00
Michael Lutz
d2d7184492
Add: Show all railtypes in the build vehicle and engine preview dialogs.
2025-12-08 03:18:10 +05:00
Michael Lutz
ceee8016a5
Add: [Script] Function to get all rail types of an rail engine.
2025-12-08 03:17:44 +05:00
Michael Lutz
51310ef531
Add: [NewGRF] Train property to set multiple track types for an engine.
2025-12-08 03:17:42 +05:00
Michael Lutz
b16ba117cc
Codechange: Store the rail type of rail engines as a RailTypes bitmask.
2025-12-08 03:17:35 +05:00
Michael Lutz
fdc36e65fd
Codechange: Use an enum for vehicle acceleration model.
2025-12-08 03:10:54 +05:00
translators
01b00b1754
Update: Translations from eints
...
catalan: 2 changes by J0anJosep
latvian: 53 changes by lexuslatvia
portuguese: 36 changes by jcteotonio
2025-12-08 03:10:54 +05:00
translators
3cad4ad718
Update: Translations from eints
...
norwegian (bokmal): 2 changes by eriksorngard
vietnamese: 14 changes by KhoiCanDev
russian: 1 change by Ln-Wolf
dutch: 1 change by Afoklala
2025-12-08 03:10:54 +05:00
Peter Nelson
5c5fc2759a
Codechange: Remove two vector typedefs which are only used once. ( #14612 )
2025-12-08 03:09:57 +05:00
Peter Nelson
71d110b5de
Codechange: Prefer EnumBitSet's All() method over bitwise comparisons. ( #14611 )
...
This makes the intent of the operation clearer.
2025-12-08 03:09:55 +05:00
Peter Nelson
9631165898
Fix 9a294ab2ed: Bridge height check for waypoints didn't include axis in layout. ( #14609 )
...
It's unlikely that X and Y axis waypoints have different heights, but not impossible.
2025-12-08 03:09:52 +05:00
translators
88759e090f
Update: Translations from eints
...
english (au): 1 change by krysclarke
swedish: 1 change by robert-i
chinese (traditional): 1 change by KogentaSan
chinese (simplified): 2 changes by WenSimEHRP
korean: 1 change by telk5093
greek: 1 change by gh658804
finnish: 1 change by hpiirai
portuguese: 9 changes by jcteotonio
portuguese (brazilian): 1 change by pasantoro
polish: 1 change by Rito13
2025-12-08 03:09:52 +05:00
Peter Nelson
a17bc2a3c2
Codechange: Range-check rail/road/tram maps by size instead of constant. ( #14602 )
...
* Compare against the size of the array instead of the constant used to define the array.
* `type_map` alias now uses auto to avoid defining the type each time.
* `_cur_gps.grffile->railtype_map` is now aliased to `type_map` to simplify and standardise.
2025-12-08 03:09:49 +05:00
translators
721f619eda
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
korean: 1 change by telk5093
hungarian: 1 change by vargaviktor
danish: 2 changes by New-Authentication
dutch: 1 change by nicobresseleers
portuguese: 12 changes by jcteotonio
2025-12-08 03:09:49 +05:00
Peter Nelson
89dbb0e1a8
Change: Allow bridges over locks. ( #14595 )
...
The bridge must be at least 2 levels higher than the lock.
2025-12-08 03:08:28 +05:00
translators
c927ca3db5
Update: Translations from eints
...
english (au): 1 change by krysclarke
swedish: 1 change by robert-i
chinese (traditional): 1 change by KogentaSan
vietnamese: 1 change by KhoiCanDev
greek: 1 change by gh658804
russian: 1 change by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 76 changes by jcteotonio
portuguese (brazilian): 1 change by pasantoro
polish: 4 changes by pAter-exe
2025-12-08 03:08:28 +05:00
translators
c3328ad6d0
Update: Translations from eints
...
italian: 64 changes by Boh132Boh
portuguese: 172 changes by jcteotonio
2025-12-08 03:08:28 +05:00
Peter Nelson
dbca97f32b
Change: Allow bridges over docks. ( #14594 )
2025-12-08 03:07:18 +05:00
Peter Nelson
217b8ecf21
Fix: Don't add spacing in rail/road type dropdowns if no badges are present. ( #14598 )
2025-12-08 03:07:15 +05:00
translators
4dfc92aedc
Update: Translations from eints
...
portuguese: 44 changes by jcteotonio
portuguese (brazilian): 6 changes by jcteotonio
2025-12-08 03:07:15 +05:00
Peter Nelson
9bc3273e09
Codechange: Split table data out of rail.cpp ( #14597 )
2025-12-08 03:07:13 +05:00
Peter Nelson
15df474c7b
Fix c02ef3e456: [AI] Incorrect infrastructure cost for road/tram tiles. ( #14596 )
...
Infrastructure total count should be split between road and tram pieces.
2025-12-08 03:07:11 +05:00
translators
95b26278dc
Update: Translations from eints
...
portuguese: 25 changes by jcteotonio
2025-12-08 03:07:11 +05:00
translators
2feccd8ec0
Update: Translations from eints
...
chinese (traditional): 1 change by KogentaSan
danish: 28 changes by New-Authentication
portuguese: 30 changes by jcteotonio
2025-12-08 03:07:11 +05:00