Commit Graph

32902 Commits

Author SHA1 Message Date
translators 367eb42e76 Update: Translations from eints
portuguese: 21 changes by jcteotonio
2025-12-08 20:30:59 +05:00
SamuXarick f161a3eb65 Codechange: HighScore sorting to use std::vector (#14779)
Replaces the fixed-size array for company sorting with a std::vector and updates sorting to use std::ranges::sort. This removes the need for manual count management.
2025-12-08 20:30:57 +05:00
Muxy Du Goulp e8a9b867dd Fix #14777: authorized_key: Correctly target key type for add/remove
The logic in ConNetworkAuthorizedKey for the `authorized_key` command was inverted.
The check `if (StrEqualsIgnoreCase(type, name)) continue;` caused the action (add/remove) to be incorrectly executed on the first key type encountered that *did not* match the requested type, rather than the intended one. This resulted in keys specified for 'admin' being added to 'rcon', for example.

This commit inverts the condition to ensure the action is performed only when the requested type matches the iterated key name.
2025-12-08 20:30:53 +05:00
Peter Nelson ca744dd7f9 Codechange: Use enum class for command-related enums. (#14775) 2025-12-08 20:29:01 +05:00
Loïc Guilloux 523635d65e Codechange: Detect crashes during regression (#14774) 2025-12-08 20:29:00 +05:00
translators 659c60f807 Update: Translations from eints
polish: 4 changes by pAter-exe
2025-12-08 20:29:00 +05:00
translators 5376956926 Update: Translations from eints
norwegian (bokmal): 4 changes by eriksorngard
2025-12-08 20:29:00 +05:00
mmtunligit 7da5a1d4e5 Change: Clamp terraform toolbar to main toolbar (#14725) 2025-12-08 20:27:11 +05:00
Rito12 f6bb898df2 Fix #14701: Company colour remap for sprites in badge filter dropdowns. (#14732) 2025-12-08 20:27:03 +05:00
translators 7575c0beb0 Update: Translations from eints
korean: 4 changes by telk5093
2025-12-08 20:27:03 +05:00
Rito12 3f85b45d20 Codefix 394adb6: Make newgrf_badge_gui.cpp file docs compatible with the file name. (#14770) 2025-12-08 20:26:55 +05:00
translators 08532ee3c4 Update: Translations from eints
galician: 17 changes by pvillaverde
polish: 4 changes by Rito13
2025-12-08 20:26:55 +05:00
translators 8f140d3363 Update: Translations from eints
english (au): 4 changes by krysclarke
english (us): 4 changes by 2TallTyler
greek: 4 changes by gh658804
hungarian: 4 changes by vargaviktor
russian: 4 changes by Ln-Wolf
finnish: 4 changes by hpiirai
portuguese: 4 changes by jcteotonio
portuguese (brazilian): 4 changes by pasantoro
2025-12-08 20:26:55 +05:00
Peter Nelson d3e5a950ab Fix 394adb654e: Incorrect spacing for badges in dropdown lists. (#14768) 2025-12-08 20:26:53 +05:00
Peter Nelson b45e13f213 Fix c2d4098afa: Unconfigured badge classes should be visible in column 0 by default. (#14766) 2025-12-08 20:26:48 +05:00
translators 9ef7bc99d4 Update: Translations from eints
luxembourgish: 54 changes by phreeze83
2025-12-08 20:26:48 +05:00
Peter Nelson 8c1afe52f8 Change: Use proper tooltip strings for freeform edge toggles. (#14765) 2025-12-08 20:25:31 +05:00
Loïc Guilloux 8eeaab65a9 Codefix 6d495d1: [Actions] vcpkg caching for codeql requires some permissions (#14767) 2025-12-08 20:25:30 +05:00
Rito12 714413143b Codefix 8f14894: Correct the comment for GetClassBadge function. (#14759) 2025-12-08 20:25:28 +05:00
Peter Nelson a724519426 Fix #14763: Crash if NewGRF currency separator is not valid. (#14764)
Ensure separator is a valid string.
2025-12-08 20:25:25 +05:00
translators 427c456fbc Update: Translations from eints
luxembourgish: 54 changes by phreeze83
2025-12-08 20:25:25 +05:00
translators 5b5738a209 Update: Translations from eints
korean: 11 changes by telk5093
french: 14 changes by glx22
2025-12-08 20:25:25 +05:00
Jonathan G Rennison a5a0c9920e Fix: BaseBitSet bit iteration for values which don't fit in 32 bits (#14757) 2025-12-08 20:23:30 +05:00
Peter Nelson 0113154885 Codechange: Use std-find instead of for-loops in strgen. (#14754) 2025-12-08 20:23:26 +05:00
translators 0971661232 Update: Translations from eints
hungarian: 12 changes by vargaviktor
2025-12-08 20:23:26 +05:00
Peter Nelson db9beb8614 Fix fd32d1447e: Test for empty shares became inverted. (#14751) 2025-12-08 20:23:24 +05:00
Rito12 4623aa81f6 Codechange: Use helper function for company recolour offset (#14740) 2025-12-08 20:22:08 +05:00
Peter Nelson c83537a484 Codefix: Clear m8 when making tiles.
m8 should be cleared when tiles do not use it.
2025-12-08 20:21:03 +05:00
Peter Nelson 7715b9e83e Codefix: Clear m6 more thoroughly when making tiles.
m6 bits 6-7 were previously used to be for bridge above state, but should now be cleared.
2025-12-08 20:20:03 +05:00
Peter Nelson c2d92433c6 Codechange: Use std::initializer_list for NWidgetPart data. (#14749)
Avoids using C/C++ arrays.
2025-12-08 20:20:01 +05:00
Peter Nelson 49dd74ea89 Codechange: Use enum/EnumBitSet for livery in use flags. (#14746)
Replaces magic numbers.
2025-12-08 20:02:19 +05:00
translators 16acd8844b Update: Translations from eints
dutch: 11 changes by Afoklala
2025-12-08 20:02:19 +05:00
Rito12 f05177bd68 Remove: Rail type cost from replace vehicle window. (#14748) 2025-12-08 20:02:13 +05:00
SamuXarick 0282d58b7c Codefix: Add missing 'this->' in ScriptList (#14747) 2025-12-08 20:02:11 +05:00
Peter Nelson 3fbb0a636e Codechange: Make driver probe behave the same as loading by name. (#14736)
Inconsistent initialisation order when setting active driver and starting the driver.
2025-12-08 20:02:09 +05:00
SamuXarick 240864586a Doc 313c6c4: [Script] GetAllRailTypes and GetRailType are from ScriptEngine (#14745) 2025-12-08 20:02:08 +05:00
SamuXarick 1b82431545 Add: [Script] Auto-convert ObjectType bool to integer when setting values for items in lists via [] (#14308) 2025-12-08 20:02:06 +05:00
translators 34e96a5e90 Update: Translations from eints
english (us): 11 changes by 2TallTyler
2025-12-08 20:02:06 +05:00
Peter Nelson 96f4c16bd9 Codechange: Simplify YAPF debug helpers a little. (#14741)
Remove template magic to get C-array size.
2025-12-08 20:02:02 +05:00
translators bdb0d9510f Update: Translations from eints
chinese (traditional): 4 changes by KogentaSan
chinese (simplified): 11 changes by WenSimEHRP
catalan: 11 changes by J0anJosep
2025-12-08 20:02:02 +05:00
Tyler Trahan 5800870c3f Fix #14737: Don't scale custom town and industry counts by land area (#14738) 2025-12-08 20:01:57 +05:00
translators 526b8708fc Update: Translations from eints
norwegian (bokmal): 12 changes by eriksorngard
portuguese: 1 change by jcteotonio
polish: 2 changes by pAter-exe, 2 changes by Rito13
2025-12-08 20:01:57 +05:00
translators f0e82fa297 Update: Translations from eints
english (au): 11 changes by krysclarke
swedish: 11 changes by robert-i
chinese (traditional): 11 changes by KogentaSan
greek: 11 changes by gh658804
russian: 13 changes by Ln-Wolf
finnish: 15 changes by hpiirai
portuguese: 44 changes by jcteotonio
portuguese (brazilian): 11 changes by pasantoro, 1 change by jcteotonio
polish: 10 changes by Rito13, 1 change by pAter-exe
2025-12-08 20:01:56 +05:00
translators 3e849ca095 Update: Translations from eints
galician: 1 change by pvillaverde
2025-12-08 20:01:56 +05:00
Peter Nelson 2608ff2bac Change: Scale towns/industries by amount of land tiles. (#10063) 2025-12-08 20:00:07 +05:00
Rito12 3a7260c2d6 Add: Show height difference in bridge is too low error message. (#14614) 2025-12-08 19:58:55 +05:00
Rito12 91498a326b Add: Game units for height. (#14615) 2025-12-08 19:57:38 +05:00
Jonathan G Rennison d0ce29fb28 Fix: Do not pre-fill industry production history for unused production slots (#14730) 2025-12-08 19:57:33 +05:00
Oliver Bechstein-Rumble 14b8e9abae Fix #14240: Remember previous GUI scale when toggling auto-detect (#14380) 2025-12-08 19:57:29 +05:00
Peter Nelson e19a779460 Fix: Don't set set town index for depot tiles. (#14729) 2025-12-08 19:57:25 +05:00