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

32072 Commits

Author SHA1 Message Date
Rubidium
13cf05c941 Codechange: remove unused parameter and unneeded heap allocation 2026-01-03 18:34:37 +01:00
Rubidium
e9e7e4af51 Codechange: remove need for new (address) PoolItem(...) 2026-01-03 17:33:18 +01:00
Rubidium
2e6f8fe191 Codefix: use constructor to set index of PoolItems over 'magic'/UB 2026-01-03 16:04:32 +01:00
Rubidium
ee9e8ab9b2 Codechange: replace 'new (index) PoolItem(...' with 'PoolItem::CreateAtIndex(index, ...' 2026-01-03 16:04:32 +01:00
Rubidium
2fcd4e189a Codechange: replace 'new PoolItem(...' with 'PoolItem::Create(...' 2026-01-03 16:04:32 +01:00
Tyler Trahan
bc842811fc Fix #15026: Remove incorrect info from base sounds tooltip (#15029) 2026-01-03 14:11:15 +00:00
Cyprian Klimaszewski
e39932c245 Doc: Update landscape_grid.html to match the source (#15022) 2026-01-03 10:34:11 +00:00
Peter Nelson
ebbb7cf3e9 Codechange: Pass company ID to SubtractMoneyFromCompany. (#15018)
This avoids needing to backup and restore `_current_company` just for SubtractMoneyFromCompany to use it.
2026-01-03 09:33:37 +00:00
Rubidium
1464d5fd06 Codechange: [Script] Simplify constructors and add constness 2026-01-03 07:51:57 +01:00
Rubidium
091035b533 Codechange: [Script] Move identical code from sub class to super class 2026-01-03 07:51:57 +01:00
Loïc Guilloux
7d32bf24d5 Codefix: some incorrect doxygen comments (#15019) 2026-01-02 21:53:34 +00:00
Loïc Guilloux
fdf75775d9 Fix: [Script] Improve reporting of invalid GetAPIVersion return (#15015) 2026-01-02 17:28:15 +01:00
dependabot[bot]
9add77a790 Upgrade: Bump the actions group with 4 updates (#15011)
Bumps the actions group with 4 updates: [actions/cache](https://github.com/actions/cache), [actions/download-artifact](https://github.com/actions/download-artifact), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [Apple-Actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs).


Updates `actions/cache` from 4 to 5
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

Updates `Apple-Actions/import-codesign-certs` from 5 to 6
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: Apple-Actions/import-codesign-certs
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 01:01:14 +01:00
Peter Nelson
27c5f9a5cd Fix #14982: Can't place buoys under bridges. (#15007)
Bridges can be built over buoys but not the other way around.
2026-01-01 16:31:08 +00:00
Rito12
f57c2cc56e Fix: Company query popups do not update in multiplayer. 2026-01-01 16:53:26 +01:00
Jonathan G Rennison
0ec507d4c5 Fix b4ac5e22: Incorrect TileIndex used in TownCanBePlacedHere (#15002) 2026-01-01 13:31:37 +00:00
Charles Pigott
1bac36a8c3 Fix: Small ufos would loop over vehicles in depots forever (#15008)
* Codechange: Rename variables to be more meaningful

* Fix: Small ufos would loop over vehicles in depots forever
2026-01-01 13:24:36 +00:00
Cyprian Klimaszewski
29a26b7f93 Codefix: Earlier return from window functions which use window number (#14960) 2025-12-31 22:33:38 +00:00
Charles Pigott
3a41738d9f Fix #15004: Crash when dropdown is open when end game screen appears (#15006) 2025-12-31 22:24:31 +00:00
translators
2a6798cc43 Update: Translations from eints
ukrainian: 12 changes by StepanIvasyn
2025-12-31 04:45:32 +00:00
translators
0d9844a815 Update: Translations from eints
ukrainian: 17 changes by StepanIvasyn
portuguese: 1 change by jcteotonio
2025-12-30 04:45:28 +00:00
translators
e5f58ab7c9 Update: Translations from eints
vietnamese: 2 changes by myquartz
greek: 2 changes by superuser-does
ukrainian: 7 changes by StepanIvasyn
portuguese: 10 changes by jcteotonio
2025-12-29 04:47:12 +00:00
translators
a0f80e1935 Update: Translations from eints
welsh: 67 changes by Ansbaradigeidfran
czech: 47 changes by LubosKolouch
greek: 9 changes by superuser-does
serbian: 47 changes by nkrs
ukrainian: 16 changes by StepanIvasyn
2025-12-28 04:46:56 +00:00
Peter Nelson
4776837675 Change: Allow rocks on desert tiles. (#14979) 2025-12-27 20:08:00 +00:00
Nusio_coding
dd2cf93164 Fix #14610: Do not treat aircraft with only depot orders as having valid orders (#14961) 2025-12-27 14:00:57 -05:00
Tyler Trahan
851310108f Fix #14992, 046b0c6: Respect non-stop order setting when adding waypoint orders (#14993) 2025-12-27 13:59:46 -05:00
Tyler Trahan
eaa066990e Fix: Use correct 'minutes per year' setting for old savegames (#14995) 2025-12-27 13:59:28 -05:00
Loïc Guilloux
42cffe0e16 Fix: potential division by 0 when drawing a line (#14994) 2025-12-27 14:50:32 +00:00
translators
a900f5656c Update: Translations from eints
swedish: 2 changes by robert-i
vietnamese: 9 changes by KhoiCanDev
greek: 226 changes by superuser-does
catalan: 9 changes by J0anJosep
esperanto: 1 change by legoscia
2025-12-27 04:42:54 +00:00
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