Commit Graph

31994 Commits

Author SHA1 Message Date
Peter Nelson 2f2d6a419f 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 16:41:11 +00:00
Jonathan G Rennison 7e30849c1e Fix b956af63: Incorrect TileIndex used in FindNearestGoodCoastalTownSpot (#14988) 2025-12-26 16:41:11 +00:00
Jonathan G Rennison 09240d8c22 Fix #12465: Click/tooltip alignment of industry chain cargo lines (#14963) 2025-12-26 16:41:11 +00:00
Peter Nelson 4b5b20a167 Fix 2d7d085e8e: "(Invalid parameter)" in error message when trying to remove another player's object. (#14981)
Formatted error string was thrown away.
2025-12-26 16:41:11 +00:00
Peter Nelson ac3ce09dd2 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-26 16:41:11 +00:00
Peter Nelson 448f322bd6 Fix: Update language files for changes to English strings. 2025-12-26 16:41:11 +00:00
Peter Nelson 7348c89fb3 Fix f34c45c36d: Incorrect string colour in industry directory. 2025-12-26 16:41:11 +00:00
Peter Nelson 81cb7fcd53 Fix #14973: Incorrect colour for some composed strings. 2025-12-26 16:41:11 +00:00
Peter Nelson 0755317f4d 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-26 16:41:11 +00:00
Peter Nelson f4dd4e455d Update: Backport language changes 2025-12-24 19:22:11 +00:00
Tyler Trahan 95ec0d2244 Fix #14938: Don't allow cacti to die off (#14956) 2025-12-24 19:22:11 +00:00
Rubidium 5434715724 Codefix: add missing tracing debug messages for Coordinator/Stun/Turn 2025-12-24 19:22:11 +00:00
Cyprian Klimaszewski ecd95d332c Fix cb1c240: Client list is not invalidated after company take over. (#14955) 2025-12-24 19:22:11 +00:00
Jonathan G Rennison 5854536b89 Fix #14951: Init and save/load TimerGameEconomy::days_since_last_month (#14962) 2025-12-24 19:22:11 +00:00
Loïc Guilloux 0858148c94 Fix #14958, e96f35c: Don't use not yet initialised member (#14959) 2025-12-24 19:22:11 +00:00
glx22 92ef1697ec Fix #14949, 0717746: Add the new callbacks to the callback table 2025-12-24 19:22:11 +00:00
glx22 a7961b41cb Codechange: Check command callbacks registration even in single player 2025-12-24 19:22:11 +00:00
Peter Nelson e7ba18bfd9 Fix #14945: Hang when deleting implicit orders during vehicle loading. (#14946) 2025-12-24 19:22:11 +00:00
Tyler Trahan 6338c487b8 Update: Changelog for 15.0-RC3 (#14940) 15.0-RC3 2025-12-20 14:10:15 -05:00
Peter Nelson 4c0a91aac2 Update: Backport language changes 2025-12-20 19:07:50 +00:00
Peter Nelson d04225a2fb 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-20 19:07:50 +00:00
Peter Nelson 65902d4abe Fix #14932: Increase internal badge index size to avoid overflowing BadgeIDs. (#14933) 2025-12-20 19:07:50 +00:00
mmtunligit 27fbcb3cc5 Fix a41738e: Picker item recolour depends on gamemode (#14929) 2025-12-20 19:07:50 +00:00
Peter Nelson 8c6531f297 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-20 19:07:50 +00:00
Peter Nelson 88a52b60f8 Fix #14917: Crash when opening house picker with no houses available. (#14920) 2025-12-20 19:07:50 +00:00
Peter Nelson aa4b5ca747 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-20 19:07:50 +00:00
Peter Nelson 5ce9c6cadd Fix #14915: Crash due to divide-by-zero of industry probabilities. (#14918) 2025-12-20 19:07:50 +00:00
Loïc Guilloux 2027912e8f Fix ff08a22: script configs were cleared by AIPL and GSDT chunks from intro game (#14910) 2025-12-20 19:07:50 +00:00
Rubidium dd835262ed Codefix: possible null pointer dereference 2025-12-20 19:07:50 +00:00
Rubidium 24364c3fbc Doc: not much is going to change in the 15.0 script APIs 2025-12-14 17:57:36 +01:00
Peter Nelson ca42564da8 Update: Changelog for 15.0-RC2 15.0-RC2 2025-12-13 18:13:31 +00:00
Peter Nelson 9062d25456 Update: Backport language changes 2025-12-13 11:54:27 +00:00
Rubidium 4213c62edd Fix #14677: desync due to using newgame time settings to validate savegame time settings 2025-12-13 11:54:27 +00:00
Peter Nelson a97587b3fe Revert: "Change: Support side-by-side fallback FontCaches instead of hierarchical. (#13303)"
This reverts commit 1829f7926d.
2025-12-13 11:54:27 +00:00
Peter Nelson 8ac9762a84 Revert: "Add: Automatically load fonts for missing glyphs. (#14856)"
This reverts commit c1d37d8699.
2025-12-13 11:54:27 +00:00
Peter Nelson 4ad85e0fe6 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-13 11:54:27 +00:00
Loïc Guilloux ab1ae7ec1a Codechange: [CI] setup-vcpkg action is now in OpenTTD/actions (#14897) 2025-12-13 11:54:27 +00:00
Peter Nelson 84c3ac6852 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-13 11:54:27 +00:00
Peter Nelson a6994a9550 Fix #14889: [FluidSynth] Don't try to load a soundfont that doesn't exist. 2025-12-13 11:54:27 +00:00
Peter Nelson f22f9d8b18 Codechange: Auto-reformat fluidsynth.cpp. 2025-12-13 11:54:27 +00:00
Peter Nelson 4b701e053f Update: Backport language changes 15.0-RC1 2025-12-08 18:06:36 +00:00
Loïc Guilloux b575769a7f Fix: [CI] Install NSIS for windows releases (#14885) 2025-12-08 18:06:36 +00:00
Rubidium 04f1a114dd Change #14155: Erato's the winner of the title game competition 2025-12-07 22:40:14 +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
Charles Pigott 0bf3de7658 Fix #14863: [Script] Improve documentation for GetAPIVersion (#14877) 2025-12-07 16:55:41 +00:00
Charles Pigott 0ef15fa991 Update: Improve wording of 15.0-RC1 changelog entries (#14876) 2025-12-07 16:55:28 +00:00
Rubidium ced54c3008 Update: Changelog for 15.0-RC1 2025-12-07 14:22:25 +01:00
Cyprian Klimaszewski bbf582ff3a Fix 92e895a: don't force proceed crashed trains 2025-12-07 13:19:50 +00:00
frosch 4339bf3dc7 Codechange: Use attribute syntax for debug_inline, so clang-format understands it. 2025-12-07 13:10:40 +00:00