Commit Graph

32074 Commits

Author SHA1 Message Date
Peter Nelson
cdcdac9c95 Codechange: Remove unnecessary 'core' includes. (#14867) 2025-12-08 05:22:34 +05:00
translators
9548a7ef26 Update: Translations from eints
chinese (traditional): 22 changes by KogentaSan
2025-12-08 05:22:34 +05:00
Richard Wheeler
7d1447d159 Change: Package OpenGFX2 for Windows Store and GOG 2025-12-08 05:22:34 +05:00
Rubidium
8ea4217453 Doc: update contact information for Free Software Foundation 2025-12-08 05:22:34 +05:00
Peter Nelson
e3e0f88e7a Codechange: Make order load/unload flags value types. (#14861)
Order Load and Unload flags have complex logic to ensure that invalid combinations aren't used. In fact, apart from FullLoad and FullLoadAny, all mixed combinations are invalid.

Simplify logic by removing the use of bit values and treat each option as a value.
2025-12-08 05:20:47 +05:00
Cyprian Klimaszewski
bca73de42e Fix #14756: Invalidate nested focus before widget container is cleared. (#14809) 2025-12-08 05:18:59 +05:00
Cyprian Klimaszewski
a0bb8211c2 Fix #14723: Set force proceed to TFP_SIGNAL if next tile has signals. (#14724) 2025-12-08 05:18:55 +05:00
Peter Nelson
e858b2d7b0 Codechange: Use enum class and EnumBitSet for various order flags. (#14783) 2025-12-08 05:17:08 +05:00
Peter Nelson
40b58429e6 Add: Automatically load fonts for missing glyphs. (#14856) 2025-12-08 05:16:01 +05:00
Rubidium
67cc6ba61b Fix: always try to create at least one town 2025-12-08 05:15:56 +05:00
Rubidium
42c497a5d4 Fix #14802: close NewGRF inspection window when overbuilding with default station/waypoint 2025-12-08 05:15:50 +05:00
Rubidium
d12091e823 Codefix: some coding style improvements 2025-12-08 05:15:47 +05:00
Peter Nelson
94b470c92a Change: Support side-by-side fallback FontCaches instead of hierarchical. (#13303)
The text layouter system can now support using different fonts for different glyphs, including mixing scalable and sprite glyphs.
2025-12-08 05:14:22 +05:00
Rubidium
3650dd8e3c Fix #14839, e4cf6ca0ba: do not set stacked widget height, which might not be shown 2025-12-08 05:14:19 +05:00
Peter Nelson
41633ac59a Fix: Drop down scrolling broken for mixed-height items. (#14840) 2025-12-08 05:14:17 +05:00
translators
0660ef234c Update: Translations from eints
chinese (simplified): 22 changes by WenSimEHRP
2025-12-08 05:14:17 +05:00
translators
1cb2591a57 Update: Translations from eints
portuguese: 2 changes by jcteotonio
2025-12-08 05:14:17 +05:00
Tyler Trahan
f0d92b93d3 Change: Eliminate small seas instead of ending rivers there (#14797) 2025-12-08 05:14:15 +05:00
Peter Nelson
a9e20ca95f Fix 25f1c97bea: Incorrect background colour in badge configuration list. (#14850)
Provide correct widget colour instead of assuming COLOUR_GREY.
2025-12-08 05:14:08 +05:00
Peter Nelson
150dcb191f Fix #14844: Use company colour remap for badges in picker window. (#14849)
(Except for houses, which are not company-owned.)
2025-12-08 05:14:05 +05:00
Jonathan G Rennison
ca80ef8016 Codefix: Leading newlines in Squirrel error/callstack prints (#14851) 2025-12-08 05:14:04 +05:00
translators
95dba3c590 Update: Translations from eints
portuguese: 8 changes by jcteotonio
2025-12-08 05:14:04 +05:00
dependabot[bot]
f2c80df128 Upgrade: Bump the actions group across 1 directory with 5 updates (#14731)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 05:14:04 +05:00
Tyler Trahan
0479bda33f Change: Avoid building farm fields in wetlands (#14846) 2025-12-08 05:13:59 +05:00
Tyler Trahan
2664a33199 Fix #9071: Don't consider tram tracks when growing towns (#14833) 2025-12-08 05:13:53 +05:00
mmtunligit
530ca15cf6 Codechange: Use SetDisplayedPlane instead of UpdateWidgetSize to hide various buttons (#14831) 2025-12-08 05:13:19 +05:00
translators
2b970ff285 Update: Translations from eints
luxembourgish: 23 changes by phreeze83
2025-12-08 05:13:19 +05:00
Peter Nelson
b7f6dc7a09 Change: Explicitly reserve sprite group types >= 0x80. (#14836)
The NewGRF spec does not mention that sprite group `type` and the `num-ent1` fields are the same.

Reserve all unrecognised special types in case they are wanted at some point.
2025-12-08 05:13:16 +05:00
translators
c94322b654 Update: Translations from eints
norwegian (bokmal): 17 changes by eriksorngard
portuguese: 17 changes by jcteotonio
2025-12-08 05:13:16 +05:00
Jonathan G Rennison
7f08ead366 Codechange: [Script] Use std::optional for script list next iteration item (#14753)
Avoids false positive updates in Remove when iterating the final item
and leftover values being returned when IsEnd is true
2025-12-08 05:13:14 +05:00
Peter Nelson
676c4d6be6 Codechange: Replace drop down list's default bools with DropDownOptions. (#14837)
Improves maintainability and avoids positional ambiguity.
2025-12-08 05:11:30 +05:00
Peter Nelson
0303cc0d4f Fix #8062: (Try to) ensure enough room for profit in vehicle group window.
Width of group info panel previously relied entirely on the size of other widgets.
2025-12-08 05:11:27 +05:00
Peter Nelson
b985a0a067 Codechange: Precalculate group column rects.
Simplifies drawing group list which no longer needs to calculate horizontal positions for each row.
2025-12-08 05:11:24 +05:00
Peter Nelson
10c35189fb Codechange: Extract functions to get group name and profit sprite.
Improves readability and allows long if-else conditions to be replaced with early returns.
2025-12-08 05:11:20 +05:00
translators
1d54a3a3b7 Update: Translations from eints
galician: 17 changes by pvillaverde
german: 47 changes by Wuzzy2
2025-12-08 05:11:20 +05:00
translators
df34be4e69 Update: Translations from eints
korean: 17 changes by telk5093
hungarian: 18 changes by vargaviktor
portuguese: 9 changes by jcteotonio
2025-12-08 05:11:20 +05:00
Peter Nelson
39a7686caf Codefix: Add missing consts in group handling. (#14834) 2025-12-08 05:11:17 +05:00
translators
76807038e8 Update: Translations from eints
english (au): 9 changes by krysclarke
swedish: 17 changes by robert-i
english (us): 17 changes by 2TallTyler
greek: 9 changes by gh658804
russian: 9 changes by Ln-Wolf
finnish: 9 changes by hpiirai
portuguese (brazilian): 9 changes by pasantoro
polish: 9 changes by pAter-exe
2025-12-08 05:11:17 +05:00
Tyler Trahan
524af9a016 Fix 509cbed: Don't give up erroneously when building lakes (#14832) 2025-12-08 05:11:15 +05:00
TheDude-gh
3b795a0830 Add: [Script] ScriptTile::IsHouseTile 2025-12-08 05:11:03 +05:00
translators
3f6147f8fa Update: Translations from eints
english (au): 8 changes by krysclarke
greek: 8 changes by gh658804
russian: 8 changes by Ln-Wolf
finnish: 8 changes by hpiirai
portuguese: 8 changes by jcteotonio
portuguese (brazilian): 8 changes by pasantoro
polish: 10 changes by pAter-exe
2025-12-08 05:11:03 +05:00
Peter Nelson
9b04fe4447 Change: Make picker label/text colours consistent. (#14829)
Use {GOLD} instead of {ORANGE} in house picker window, to match other picker windows.
2025-12-08 05:11:00 +05:00
mmtunligit
71817008bf Codechange 7a0814c: Use SetDisplayedPlane instead of UpdateWidgetSize (#14823) 2025-12-08 05:10:36 +05:00
mmtunligit
b84b0b4c89 Codefix: Add comments to SetViewport functions (#14822) 2025-12-08 05:10:32 +05:00
Tyler Trahan
0349b8fe99 Change: Ensure generated towns have enough room (#14803) 2025-12-08 05:10:26 +05:00
translators
0c56f1bc48 Update: Translations from eints
portuguese: 4 changes by jcteotonio
2025-12-08 05:10:26 +05:00
Cyprian Klimaszewski
00880a11ce Fix 98700eee43, Fix #14815: Properly handle picker window invalidation. (#14816) 2025-12-08 05:10:24 +05:00
Peter Nelson
056f0c94cf Add: [NewGRF] Allow badges to be excluded from badge name list. (#14818)
This allows badges to have names that can be filtered, but avoid cluttering the purchase text.
2025-12-08 05:08:49 +05:00
Rubidium
8a5f23043a Codechange: silence CodeQL complaints about long switches 2025-12-08 05:08:49 +05:00
Rubidium
8134f11852 Codefix: comparison of narrow type with wide type in loop condition 2025-12-08 05:08:44 +05:00