Rubidium
eae2d6b62c
Fix: always try to create at least one town
2025-12-08 21:36:49 +05:00
Rubidium
c60378a0eb
Fix #14802 : close NewGRF inspection window when overbuilding with default station/waypoint
2025-12-08 21:36:43 +05:00
Rubidium
bd09b0a76e
Codefix: some coding style improvements
2025-12-08 21:36:39 +05:00
Peter Nelson
5be16a658a
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 21:34:56 +05:00
Rubidium
a616855649
Fix #14839 , e4cf6ca0ba: do not set stacked widget height, which might not be shown
2025-12-08 21:34:53 +05:00
Peter Nelson
490578ff8e
Fix: Drop down scrolling broken for mixed-height items. ( #14840 )
2025-12-08 21:34:51 +05:00
translators
5674dba4a5
Update: Translations from eints
...
chinese (simplified): 22 changes by WenSimEHRP
2025-12-08 21:34:51 +05:00
translators
4a94f05bd3
Update: Translations from eints
...
portuguese: 2 changes by jcteotonio
2025-12-08 21:34:51 +05:00
Tyler Trahan
516d63a36e
Change: Eliminate small seas instead of ending rivers there ( #14797 )
2025-12-08 21:34:48 +05:00
Peter Nelson
f0376fb46c
Fix 25f1c97bea: Incorrect background colour in badge configuration list. ( #14850 )
...
Provide correct widget colour instead of assuming COLOUR_GREY.
2025-12-08 21:34:41 +05:00
Peter Nelson
cba2d75332
Fix #14844 : Use company colour remap for badges in picker window. ( #14849 )
...
(Except for houses, which are not company-owned.)
2025-12-08 21:34:38 +05:00
Jonathan G Rennison
c2c2000aac
Codefix: Leading newlines in Squirrel error/callstack prints ( #14851 )
2025-12-08 21:34:36 +05:00
translators
90dd62e035
Update: Translations from eints
...
portuguese: 8 changes by jcteotonio
2025-12-08 21:34:36 +05:00
Tyler Trahan
b2000a361a
Change: Avoid building farm fields in wetlands ( #14846 )
2025-12-08 21:34:30 +05:00
Tyler Trahan
bd264145e5
Fix #9071 : Don't consider tram tracks when growing towns ( #14833 )
2025-12-08 21:34:24 +05:00
mmtunligit
3d28f90311
Codechange: Use SetDisplayedPlane instead of UpdateWidgetSize to hide various buttons ( #14831 )
2025-12-08 21:33:48 +05:00
translators
381beac5e3
Update: Translations from eints
...
luxembourgish: 23 changes by phreeze83
2025-12-08 21:33:48 +05:00
Peter Nelson
5180035a89
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 21:33:45 +05:00
translators
1125c59de7
Update: Translations from eints
...
norwegian (bokmal): 17 changes by eriksorngard
portuguese: 17 changes by jcteotonio
2025-12-08 21:33:45 +05:00
Jonathan G Rennison
0985242864
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 21:33:43 +05:00
Peter Nelson
117d33cf4f
Codechange: Replace drop down list's default bools with DropDownOptions. ( #14837 )
...
Improves maintainability and avoids positional ambiguity.
2025-12-08 21:32:02 +05:00
Peter Nelson
7daed8835f
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 21:31:59 +05:00
Peter Nelson
ccd5f00ead
Codechange: Precalculate group column rects.
...
Simplifies drawing group list which no longer needs to calculate horizontal positions for each row.
2025-12-08 21:31:56 +05:00
Peter Nelson
5d0c798a82
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 21:31:53 +05:00
translators
5d516c96c3
Update: Translations from eints
...
galician: 17 changes by pvillaverde
german: 47 changes by Wuzzy2
2025-12-08 21:31:53 +05:00
translators
04ca0ab609
Update: Translations from eints
...
korean: 17 changes by telk5093
hungarian: 18 changes by vargaviktor
portuguese: 9 changes by jcteotonio
2025-12-08 21:31:53 +05:00
Peter Nelson
2d7a22f7f3
Codefix: Add missing consts in group handling. ( #14834 )
2025-12-08 21:31:50 +05:00
translators
d0ba23dd15
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 21:31:50 +05:00
Tyler Trahan
d4197bc731
Fix 509cbed: Don't give up erroneously when building lakes ( #14832 )
2025-12-08 21:31:48 +05:00
TheDude-gh
429b6820a7
Add: [Script] ScriptTile::IsHouseTile
2025-12-08 21:31:38 +05:00
translators
5ce40e19a5
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 21:31:38 +05:00
Peter Nelson
e8134eb0e5
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 21:31:35 +05:00
mmtunligit
e07dda506f
Codechange 7a0814c: Use SetDisplayedPlane instead of UpdateWidgetSize ( #14823 )
2025-12-08 21:31:15 +05:00
mmtunligit
b625ff5f35
Codefix: Add comments to SetViewport functions ( #14822 )
2025-12-08 21:31:11 +05:00
Tyler Trahan
a67fec79e0
Change: Ensure generated towns have enough room ( #14803 )
2025-12-08 21:31:06 +05:00
translators
71af0d325d
Update: Translations from eints
...
portuguese: 4 changes by jcteotonio
2025-12-08 21:31:06 +05:00
Cyprian Klimaszewski
de2a34a1b6
Fix 98700eee43, Fix #14815 : Properly handle picker window invalidation. ( #14816 )
2025-12-08 21:31:04 +05:00
Peter Nelson
d7fb936ce8
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 21:29:42 +05:00
Rubidium
e1a27ac403
Codefix: comparison of narrow type with wide type in loop condition
2025-12-08 21:29:36 +05:00
Richard Wheeler
18649c800b
Fix: Bridge deck sprites were not toyland aware ( #14821 )
2025-12-08 21:29:33 +05:00
Jonathan G Rennison
d39f7d2458
Fix #14800 : Incorrect register processing in GetCustomStationRelocation ( #14801 )
...
ProcessRegisters must be called even if the sprite resolve result
is not valid.
A zero-length ResultSpriteGroup is valid because the output value
is an offset, not a sprite ID within the ResultSpriteGroup.
2025-12-08 21:11:17 +05:00
translators
c31e5830e7
Update: Translations from eints
...
portuguese: 11 changes by jcteotonio
2025-12-08 21:11:17 +05:00
Peter Nelson
4e595579fe
Codefix: Remove this-> from static call to CleaningPool. ( #14817 )
...
Don't call unnecessarily.
2025-12-08 21:11:13 +05:00
translators
d1b0b38a4a
Update: Translations from eints
...
catalan: 4 changes by J0anJosep
portuguese: 6 changes by jcteotonio
2025-12-08 21:11:13 +05:00
Peter Nelson
23137e9f0c
Change: Add debug messages for errors encountered reading sounds. ( #14810 )
2025-12-08 21:11:11 +05:00
Peter Nelson
38849484ca
Fix ed67aedabf: Saved default houses had incorrect class and index information. ( #14812 )
...
Saved default houses would not appear properly in the 'Saved' tab after restarting the game.
2025-12-08 21:11:07 +05:00
Peter Nelson
0b5cdbdfbe
Codefix 0455627d16: Don't make temporary copies of order when converting old orders. ( #14808 )
2025-12-08 21:11:05 +05:00
Peter Nelson
d4332051bd
Fix #14794 : Default railtype missing for some NewGRF rail vehicles. ( #14795 )
2025-12-08 21:09:45 +05:00
Peter Nelson
f0d0bf4447
Codechange: Use enum class for water-related enums. ( #14804 )
2025-12-08 21:09:43 +05:00
davidxn
05284ba193
Fix 741c431: Miscalculated cargo penalty for poor station rating ( #14712 )
2025-12-08 20:46:54 +05:00