Commit Graph

26000 Commits

Author SHA1 Message Date
Peter Nelson
e448864ca4 Fix #14932: Increase internal badge index size to avoid overflowing BadgeIDs. (#14933) 2025-12-21 02:03:50 +05:00
mmtunligit
adebcbec5b Fix a41738e: Picker item recolour depends on gamemode (#14929) 2025-12-21 02:03:50 +05:00
Peter Nelson
8aade54f66 Fix #14921: Crash during station autorefit if station doesn't accept current cargo type. (#14924)
Add convenience helpers to correctly retrieve goods entry cargo available/totals.

Avoids having to check if cargo data is available before accessing it, which was missing for autorefit.
2025-12-21 02:03:50 +05:00
Peter Nelson
914c6a3421 Fix #14917: Crash when opening house picker with no houses available. (#14920) 2025-12-21 02:03:50 +05:00
Peter Nelson
160807c788 Fix #14916: Duration of error message window could be too short. (#14919)
The timer for automatically closing the error message was started when creating the window, instead of when first displaying the window.
2025-12-21 02:03:50 +05:00
Peter Nelson
19bd512cef Fix #14915: Crash due to divide-by-zero of industry probabilities. (#14918) 2025-12-21 02:03:50 +05:00
Loïc Guilloux
c681ad21fb Fix ff08a22: script configs were cleared by AIPL and GSDT chunks from intro game (#14910) 2025-12-21 02:03:50 +05:00
Rubidium
a482863544 Codefix: possible null pointer dereference 2025-12-21 02:03:50 +05:00
Rubidium
b9069ca358 Doc: not much is going to change in the 15.0 script APIs 2025-12-21 02:03:50 +05:00
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