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

32043 Commits

Author SHA1 Message Date
Peter Nelson
5c96a2c19a Codechange: Improve performance of perlin noise function. (#14991)
Avoid pow() and reduce computations.
2025-12-26 22:01:23 +00:00
Peter Nelson
b2fd405e55 Fix: Update language files for changes to English strings. 2025-12-26 16:15:25 +00:00
Peter Nelson
dc115cc785 Fix f34c45c36d: Incorrect colour in cargo list in fund industry window. 2025-12-26 16:15:25 +00:00
Peter Nelson
fb15730fc7 Fix 8a8ebabb9d: Don't draw bridge deck rail sprites for default bridges. (#14985)
Bridge deck sprites for default rail/road types should only be drawn for custom bridges.
2025-12-26 15:33:09 +00:00
Jonathan G Rennison
8f598b442a Fix b956af63: Incorrect TileIndex used in FindNearestGoodCoastalTownSpot (#14988) 2025-12-26 14:06:21 +00:00
Jonathan G Rennison
5683ddb99a Fix #12465: Click/tooltip alignment of industry chain cargo lines (#14963) 2025-12-26 10:20:15 +00:00
translators
02449652e4 Update: Translations from eints
czech: 37 changes by LubosKolouch
hebrew: 34 changes by maximunited
maori (new zealand): 10 changes by Kyle-McDangersword
2025-12-26 04:43:28 +00:00
Peter Nelson
d80ed069b5 Fix 2d7d085e8e: "(Invalid parameter)" in error message when trying to remove another player's object. (#14981)
Formatted error string was thrown away.
2025-12-25 17:21:43 +00:00
Peter Nelson
a6d66343ac Fix #14978: Don't clear water tiles after removing buoys. (#14980)
Buoys have no owner and can be cleared by anyone, but the underlying tile (e.g. canal) should not be cleared if has a different owner.
2025-12-25 14:30:39 +00:00
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
Rito12
ed687c6e10 Codechange: Make doxygen warn about lack of documentation for function parameters. 2025-12-23 21:47:35 +01: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
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