Commit Graph

25991 Commits

Author SHA1 Message Date
dP
7d202f944a Fix joininig deleted stations with improved join 2025-12-21 01:05:05 +05:00
dP
2aaf60b38d Fix potential infinite loop when unpacking zstd (from jgrpp) 2025-12-18 04:14:11 +05:00
dP
e37e11c3cd Fix hanging when opening road stop tool 2025-12-18 04:13:29 +05:00
dP
d520775ece Send cmclient info in join packet instead of identify 2025-12-15 17:11:50 +05:00
dP
2d0cd347f8 Update rev.cpp to 15.0-RC2 2025-12-14 00:22:29 +05:00
Peter Nelson
848ff71b5f Update: Backport language changes 2025-12-14 00:22:27 +05:00
Rubidium
e6ebac3558 Fix #14677: desync due to using newgame time settings to validate savegame time settings 2025-12-14 00:22:20 +05:00
Peter Nelson
2c528229cb Revert: "Change: Support side-by-side fallback FontCaches instead of hierarchical. (#13303)"
This reverts commit 1829f7926d.
2025-12-14 00:20:37 +05:00
Peter Nelson
766ab3804d Revert: "Add: Automatically load fonts for missing glyphs. (#14856)"
This reverts commit c1d37d8699.
2025-12-14 00:19:22 +05:00
Peter Nelson
2e792543ce Fix: Graph label allocated size could be too small. (#14901)
Set initial size based on what could be displayed, instead of what is displayed right now.
2025-12-14 00:19:19 +05:00
Peter Nelson
c8a4815f9c Fix #14891, a8650c6b06: Minimum sprite zoomlevel could break in some cases. (#14894)
Caused by sprite control flags not being reset when scanning available sprites.
2025-12-14 00:19:16 +05:00
Peter Nelson
9c09394a3c Fix #14889: [FluidSynth] Don't try to load a soundfont that doesn't exist. 2025-12-14 00:19:15 +05:00
Peter Nelson
090e1415ab Codechange: Auto-reformat fluidsynth.cpp. 2025-12-14 00:17:04 +05:00
dP
767cf5e86b Merge remote-tracking branch 'upstream/master' 2025-12-11 22:03:23 +05:00
dP
300f4945bf Update rev.cpp.in to 15.0-RC1 2025-12-11 22:02:58 +05:00
Peter Nelson
6e0d1935e9 Update: Backport language changes 2025-12-09 02:52:48 +05:00
Peter Nelson
95bda7f891 Update: Backport language changes 2025-12-09 02:45:09 +05:00
Tyler Trahan
2ea9f058f5 Feature: House placer mode to replace existing houses (#14469) 2025-12-08 23:19:02 +05:00
Charles Pigott
f883ea3521 Fix #14863: [Script] Improve documentation for GetAPIVersion (#14877) 2025-12-08 22:30:48 +05:00
Cyprian Klimaszewski
013587262d Fix 92e895a: don't force proceed crashed trains 2025-12-08 22:30:43 +05:00
frosch
c0f12b1946 Codechange: Use attribute syntax for debug_inline, so clang-format understands it. 2025-12-08 22:28:32 +05:00
Peter Nelson
a3db9e7e80 Fix #14871, 80e58e751a: Possible crash when building NewGRF station under bridge. (#14872)
Triggered by reading random tile data before the tile is actually created.
2025-12-08 22:28:27 +05:00
Cyprian Klimaszewski
add6521abd Doc: Update information for receiving a copy of GPL. (#14869) 2025-12-08 22:26:18 +05:00
Peter Nelson
2557cf2098 Codechange: Remove unnecessary 'core' includes. (#14867) 2025-12-08 22:24:32 +05:00
translators
5e24b12044 Update: Translations from eints
chinese (traditional): 22 changes by KogentaSan
2025-12-08 22:24:32 +05:00
Peter Nelson
eab0f70eb5 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 22:24:28 +05:00
Cyprian Klimaszewski
a8f0d5a3ad Fix #14756: Invalidate nested focus before widget container is cleared. (#14809) 2025-12-08 22:09:21 +05:00
Cyprian Klimaszewski
8978e029cf Fix #14723: Set force proceed to TFP_SIGNAL if next tile has signals. (#14724) 2025-12-08 22:09:18 +05:00
Peter Nelson
ab20a16ed2 Codechange: Use enum class and EnumBitSet for various order flags. (#14783) 2025-12-08 22:09:16 +05:00
Peter Nelson
c26a9827b8 Add: Automatically load fonts for missing glyphs. (#14856) 2025-12-08 21:36:55 +05:00
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