1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00
Commit Graph

25010 Commits

Author SHA1 Message Date
Peter Nelson
fb79508968 Fix: Update language files for changes to English strings. 2025-12-25 09:33:49 +00:00
Peter Nelson
2406d22830 Fix f34c45c36d: Incorrect string colour in industry directory. 2025-12-25 09:33:49 +00:00
Peter Nelson
8a4d60b812 Fix #14973: Incorrect colour for some composed strings. 2025-12-25 09:33:49 +00:00
Peter Nelson
c7f6971729 Fix c213218b66: Don't highlight selected dropdown item if it has a click result.
This is used by toggles and buttons within the dropdown item, and using those should not cause the row to look selected.
2025-12-25 05:57:44 +00:00
Peter Nelson
48bc08dbfb Fix 39f30692fe: Badge filter toggles no longer worked. 2025-12-25 05:57:44 +00:00
Tyler Trahan
c2532fac3e Fix #14938: Don't allow cacti to die off (#14956) 2025-12-24 12:34:46 -05:00
Loïc Guilloux
0019f3831e Codechange: [Script] Reuse memory when changing values of ScriptList items (#14966) 2025-12-24 17:26:46 +00:00
Rubidium
900192e2cd Codefix: add missing tracing debug messages for Coordinator/Stun/Turn 2025-12-24 16:18:14 +01:00
Cyprian Klimaszewski
cb06ca69e8 Fix cb1c240: Client list is not invalidated after company take over. (#14955) 2025-12-24 13:01:15 +00:00
Jonathan G Rennison
9ac7623608 Fix #14951: Init and save/load TimerGameEconomy::days_since_last_month (#14962) 2025-12-24 13:00:09 +00:00
translators
2515fc802d Update: Translations from eints
swedish: 7 changes by robert-i
czech: 58 changes by LubosKolouch
greek: 38 changes by superuser-does
spanish: 20 changes by MontyMontana
2025-12-24 04:44:25 +00:00
Peter Nelson
98b0197d53 Change: [Script] Include Array contents in script memory allocation total 2025-12-23 20:52:24 +00:00
Peter Nelson
e8424c0ae2 Change: [Script] Include PriorityQueue contents in script memory allocation total 2025-12-23 20:52:24 +00:00
Peter Nelson
13ec1816dc Change: [Script] Include ScriptList contents in script memory allocation total 2025-12-23 20:52:24 +00:00
Peter Nelson
d7942c3fd0 Codechange: [Script] Add allocator that uses script memory allocation accounting 2025-12-23 20:52:24 +00:00
Jonathan G Rennison
33c967a558 Codechange: [Script] Add helpers for script memory allocation accounting 2025-12-23 20:52:24 +00:00
Max
c918a29e49 Fix #12937: Allow the computer to go to sleep while the game is paused 2025-12-23 21:47:25 +01:00
translators
07353973a1 Update: Translations from eints
korean: 7 changes by telk5093
greek: 60 changes by superuser-does
russian: 3 changes by Ln-Wolf
danish: 9 changes by bscargo
2025-12-23 04:45:20 +00:00
Loïc Guilloux
b36c78b2de Fix #14958, e96f35c: Don't use not yet initialised member (#14959) 2025-12-22 18:21:10 +00:00
Loïc Guilloux
b881d8ef5c Fix 9a47f53: Incorrect filter for ScriptList::KeepBetweenValue (#14957) 2025-12-22 14:09:50 +00:00
translators
bf2ff83c67 Update: Translations from eints
english (au): 9 changes by krysclarke
norwegian (bokmal): 9 changes by eriksorngard
chinese (traditional): 9 changes by KogentaSan
english (us): 7 changes by 2TallTyler
serbian: 43 changes by nkrs
german: 12 changes by Wuzzy2
irish: 33 changes by temuchie
turkish: 59 changes by jnmbk
portuguese (brazilian): 6 changes by pasantoro
2025-12-22 04:45:58 +00:00
glx22
dbecf010eb Fix #14949, 0717746: Add the new callbacks to the callback table 2025-12-21 16:24:24 +01:00
glx22
95b913bbb7 Codechange: Check command callbacks registration even in single player 2025-12-21 16:24:24 +01:00
Peter Nelson
0a88c084ad Codechange: Don't read font os_handle on MacOS. (#14936)
os_handle is never set, so there's no need to read it.
2025-12-21 15:08:55 +00:00
Peter Nelson
c6679bbcab Fix #14945: Hang when deleting implicit orders during vehicle loading. (#14946) 2025-12-21 15:08:13 +00:00
translators
75f1c36eff Update: Translations from eints
english (us): 2 changes by 2TallTyler
chinese (simplified): 9 changes by WenSimEHRP
korean: 2 changes by telk5093
greek: 9 changes by gh658804
russian: 6 changes by Ln-Wolf
finnish: 9 changes by hpiirai
french: 26 changes by glx22
portuguese: 24 changes by jcteotonio
portuguese (brazilian): 3 changes by pasantoro
polish: 9 changes by Rito13
2025-12-21 04:43:57 +00:00
glx22
ec5e7ed5e0 Change: [Script] ScripTiletList::[Add|Remove]Rectangle are now suspendable 2025-12-21 00:37:01 +01:00
glx22
36ccc5e005 Change: [Script] ScriptList::AddList is now suspendable 2025-12-21 00:37:01 +01:00
glx22
d15dd3a036 Change: [Script] ScriptList::[Remove|Keep][Top|Bottom] are now suspendable 2025-12-21 00:37:01 +01:00
glx22
ee789a1197 Change: [Script] ScriptList::[Remove|Keep][XXXValue|List] are now suspendable 2025-12-21 00:37:01 +01:00
Loïc Guilloux
fd7f6fcf91 Codechange: [Script] Specify underlying type for ScriptList::SorterType (#14942) 2025-12-20 17:01:39 +01:00
Rubidium
67d9daed47 Codechange: [Script] Make member functions that do not change state const 2025-12-20 16:36:35 +01:00
Peter Nelson
f34c45c36d Change: Automatically push/pop colours when formatting a sub-string. (#14006)
Reverts 226a44bf86.

This universally prevents the sub-string from changing colours in the outer string.
2025-12-19 20:17:58 +00:00
Peter Nelson
f1e831233a Codefix: Mark destructors override. (#14925)
Remove some empty destructors.
2025-12-19 18:14:29 +00:00
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
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