1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 01:12:39 +01:00
Commit Graph

31999 Commits

Author SHA1 Message Date
Peter Nelson
39f30692fe Fix #14932: Increase internal badge index size to avoid overflowing BadgeIDs. (#14933) 2025-12-19 18:13:59 +00:00
translators
598d8fd65c Update: Translations from eints
chinese (traditional): 16 changes by KogentaSan
portuguese: 3 changes by jcteotonio
2025-12-19 04:43:16 +00:00
Loïc Guilloux
ca1c0007b6 Codechange: [Script] Replace map of sets with set of pairs for per value storage (#14930) 2025-12-18 22:34:47 +01:00
translators
53178d0549 Update: Translations from eints
vietnamese: 41 changes by KhoiCanDev
ukrainian: 3 changes by StepanIvasyn
spanish: 135 changes by MontyMontana
maori (new zealand): 27 changes by Kyle-McDangersword
2025-12-18 04:43:22 +00:00
Loïc Guilloux
5d702a96d6 Codefix 2b24444: Don't run regression tests in parallel (#14935) 2025-12-17 19:19:29 +01:00
Loïc Guilloux
9a47f53db0 Codechange: [Script] Reduce code duplication in ScriptList filtering (#14931) 2025-12-17 15:35:53 +01:00
mmtunligit
938c3de640 Fix a41738e: Picker item recolour depends on gamemode (#14929) 2025-12-17 08:44:04 +00:00
translators
9ad161b7e9 Update: Translations from eints
czech: 4 changes by LubosKolouch
korean: 3 changes by telk5093
ukrainian: 16 changes by StepanIvasyn
portuguese: 1 change by jcteotonio
2025-12-17 04:42:55 +00:00
translators
483f1f0afa Update: Translations from eints
czech: 3 changes by jacobczsk
hungarian: 2 changes by baliball
french: 10 changes by ben20471
portuguese: 2 changes by jcteotonio
2025-12-16 04:44:42 +00:00
Peter Nelson
ebdc82ad54 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-15 18:06:43 +00:00
Peter Nelson
b1c0198d3f Fix #14917: Crash when opening house picker with no houses available. (#14920) 2025-12-15 16:42:50 +00:00
Peter Nelson
447959b214 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-15 16:42:36 +00:00
Peter Nelson
f6eba87e47 Fix #14915: Crash due to divide-by-zero of industry probabilities. (#14918) 2025-12-15 16:42:10 +00:00
Rito12
859b56a066 Doc: Correct file descriptions to match coding style and doxygen. 2025-12-15 17:31:00 +01:00
translators
e1333abc3e Update: Translations from eints
chinese (traditional): 30 changes by KogentaSan
czech: 121 changes by jacobczsk
luxembourgish: 6 changes by phreeze83
russian: 11 changes by Ln-Wolf
turkish: 145 changes by jnmbk
dutch: 48 changes by Afoklala
portuguese: 21 changes by jcteotonio
2025-12-15 04:45:58 +00:00
Rubidium
4e69ef938b Codefix: missing GPL headers 2025-12-14 20:26:22 +01:00
Peter Nelson
3351975133 Codefix: Avoid shadowing month/year BaseGraphWindow member variables. (#14912) 2025-12-14 19:08:45 +00:00
Loïc Guilloux
7b69a0b7fa Fix ff08a22: script configs were cleared by AIPL and GSDT chunks from intro game (#14910) 2025-12-14 16:07:19 +00:00
Rubidium
5e2df6d028 Codefix: move error instead of copying it 2025-12-14 08:48:28 +01:00
Rubidium
36589abb33 Codefix: always initialise field 2025-12-14 08:48:28 +01:00
Rubidium
ed318b0154 Codefix: unused assignment 2025-12-14 08:48:28 +01:00
Rubidium
d3420e6e4c Codefix: prevent inefficient reserve behaviour
When reserving by size() + 2, in a loop you're not really helping.
2025-12-14 08:48:28 +01:00
Rubidium
a3393af26c Codefix: possible null pointer dereference 2025-12-14 08:48:16 +01:00
translators
0ec8842232 Update: Translations from eints
swedish: 2 changes by joeax910
norwegian (bokmal): 2 changes by eriksorngard
catalan: 6 changes by J0anJosep
danish: 2 changes by bscargo
portuguese: 89 changes by jcteotonio
2025-12-14 04:44:00 +00:00
translators
6851cb53e8 Update: Translations from eints 2025-12-13 11:10:41 +00:00
Rubidium
13ea783bd8 Fix #14677: desync due to using newgame time settings to validate savegame time settings 2025-12-13 11:54:02 +01:00
Peter Nelson
b03347f00c Revert: "Change: Support side-by-side fallback FontCaches instead of hierarchical. (#13303)"
This reverts commit 1829f7926d.
2025-12-13 09:09:21 +00:00
Peter Nelson
973514adc3 Revert: "Add: Automatically load fonts for missing glyphs. (#14856)"
This reverts commit c1d37d8699.
2025-12-13 09:09:21 +00:00
Peter Nelson
0778687ed5 Revert: "Fix #14892, 1829f7926d: Potential crash when logging fonts for survey. (#14896)"
This reverts commit 542dd1a597.
2025-12-13 09:09:21 +00:00
translators
1091fa6071 Update: Translations from eints
english (au): 2 changes by krysclarke
chinese (traditional): 2 changes by KogentaSan
english (us): 2 changes by 2TallTyler
chinese (simplified): 8 changes by WenSimEHRP
greek: 2 changes by gh658804
russian: 2 changes by Ln-Wolf
finnish: 6 changes by hpiirai
portuguese: 28 changes by jcteotonio
portuguese (brazilian): 2 changes by pasantoro
polish: 2 changes by pAter-exe
2025-12-13 04:40:52 +00:00
Peter Nelson
688958da8a 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-12 09:24:16 +00:00
translators
8a5c052933 Update: Translations from eints
norwegian (bokmal): 6 changes by eriksorngard
hungarian: 1 change by vargaviktor
hebrew: 48 changes by yair-bn
portuguese: 2 changes by jcteotonio
polish: 7 changes by Rito13, 4 changes by pAter-exe
2025-12-12 04:44:29 +00:00
glx22
392f743bcd Change: [Script] ScriptList::Valuate is now suspendable 2025-12-11 23:30:27 +01:00
glx22
81b4075095 Add: [Script] Framework to make selected native calls suspendable 2025-12-11 23:30:27 +01:00
Peter Nelson
ef4687895e Add: Setting to control minimum distance between towns. (#14893)
Backported from JGRPP.
2025-12-11 11:28:04 +00:00
translators
a2304154d4 Update: Translations from eints
english (au): 4 changes by krysclarke
swedish: 6 changes by joeax910
chinese (traditional): 1 change by KogentaSan
english (us): 1 change by 2TallTyler
greek: 1 change by gh658804
russian: 2 changes by Ln-Wolf
finnish: 1 change by hpiirai
turkish: 30 changes by jnmbk
danish: 38 changes by bscargo
portuguese: 10 changes by jcteotonio
portuguese (brazilian): 4 changes by pasantoro
polish: 1 change by pAter-exe
2025-12-11 04:44:09 +00:00
Loïc Guilloux
f32646743a Codechange: [CI] setup-vcpkg action is now in OpenTTD/actions (#14897) 2025-12-10 21:13:44 +01:00
Peter Nelson
542dd1a597 Fix #14892, 1829f7926d: Potential crash when logging fonts for survey. (#14896)
Check for empty fontcache slots before outputting font info in survey.
2025-12-10 17:56:43 +00:00
Kuhnovic
19b65cd3e7 Codechange: Added DIAGDIRECTIONS_ALL. (#14895) 2025-12-10 14:14:13 +01:00
Peter Nelson
1e6153e875 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-10 08:17:24 +00:00
translators
fef0d830b2 Update: Translations from eints
swedish: 5 changes by robert-i
chinese (traditional): 7 changes by KogentaSan
english (us): 3 changes by 2TallTyler
korean: 5 changes by telk5093
greek: 3 changes by gh658804
hungarian: 5 changes by vargaviktor
russian: 3 changes by Ln-Wolf
finnish: 3 changes by hpiirai
turkish: 147 changes by jnmbk
portuguese: 28 changes by jcteotonio
portuguese (brazilian): 6 changes by jcteotonio
polish: 10 changes by Rito13
2025-12-09 04:41:41 +00:00
Peter Nelson
9695de9e1c Fix #14889: [FluidSynth] Don't try to load a soundfont that doesn't exist. 2025-12-08 23:30:06 +00:00
Peter Nelson
2162983054 Codechange: Auto-reformat fluidsynth.cpp. 2025-12-08 23:30:06 +00:00
Kuhnovic
8e35553208 Feature: Configurable sign text colors in scenario editor. (#14743) 2025-12-08 17:52:19 +01:00
Peter Nelson
0d59ecf7de Codefix 6f52a977a8: GRFConfigFlag was given enum class naming without being enum class. (#14884) 2025-12-08 08:59:02 +00:00
translators
2c8a15cf36 Update: Translations from eints
english (au): 2 changes by krysclarke
english (us): 2 changes by 2TallTyler
greek: 2 changes by gh658804
russian: 2 changes by Ln-Wolf
finnish: 2 changes by hpiirai
catalan: 18 changes by J0anJosep
portuguese: 10 changes by jcteotonio
portuguese (brazilian): 2 changes by pasantoro
polish: 2 changes by pAter-exe
2025-12-08 04:44:16 +00:00
Loïc Guilloux
40be27503d Fix: [CI] Install NSIS for windows releases (#14885) 2025-12-07 23:50:14 +00:00
Michael Lutz
170c29b376 Codechange: We are heading to 16 (#14882) 2025-12-07 23:16:08 +01:00
Peter Nelson
9ea4d6b2df Doc: Update 15.0-rc1 changelog with last PR. (#14880) 2025-12-07 20:42:40 +00:00
Tyler Trahan
7f196c6652 Feature: House placer mode to replace existing houses (#14469) 2025-12-07 12:05:47 -05:00