1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-18 18:02:37 +01:00
Commit Graph

32109 Commits

Author SHA1 Message Date
SamuXarick
6a06a76b5d Add: Several more regression tests for ScriptList (#14772)
* Add 3ebedec: [Script] Test implicit conversion from bool to integer in lists

* Codefix 333249c: Don't print the inverse of IsEnd in regression

It is more natural to print the value as is.

* Add: [Script] Several more ScriptList regression tests

* Add: [Script] ScriptList regression tests for KeepBelowValue, KeepAboveValue, KeepValue
2026-01-10 18:02:20 +01:00
Tyler Trahan
7ccfd0a658 Feature: Add worldgen setting for average height (#14989) 2026-01-10 16:53:27 +00:00
Cyprian Klimaszewski
666073fc7b Doc: Improve documentation for .mm files. (#15009) 2026-01-10 16:13:46 +00:00
translators
14e0917ae4 Update: Translations from eints
english (au): 9 changes by krysclarke
chinese (traditional): 28 changes by KogentaSan
english (us): 9 changes by 2TallTyler
korean: 8 changes by telk5093
greek: 9 changes by gh658804
russian: 7 changes by Ln-Wolf
finnish: 9 changes by hpiirai
portuguese: 9 changes by jcteotonio
portuguese (brazilian): 7 changes by pasantoro, 2 changes by jcteotonio
2026-01-10 04:46:44 +00:00
Peter Nelson
4131a36e5a Change: Show only selected badge in badge filter dropdown buttons. (#14855)
This avoids complicating languages and translations trying to compose a string from multiple parts.

Also makes these dropdown buttons more consistent with other dropdown buttons.
2026-01-09 23:03:33 +00:00
Peter Nelson
0794287b30 Fix #15067: Mark NewGRF settings as modified after moving by drag & drop. (#15068) 2026-01-09 23:02:54 +00:00
Michael Lutz
bd9ced2ec2 Codechange: Support scoped enums as type for settings. (#15065) 2026-01-09 19:55:19 +01:00
translators
241b5fcdfe Update: Translations from eints
danish: 1 change by bscargo
portuguese: 3 changes by jcteotonio
2026-01-09 04:48:28 +00:00
Cyprian Klimaszewski
d405e4cb09 Codechange: Use proper widget type and update widgets properly (#14870)
For vehicle window.
2026-01-08 22:31:00 +00:00
Cyprian Klimaszewski
52d6a579e5 Codefix: Use special values of CompanyID instead of CTMN "enum" (#14886) 2026-01-08 22:26:24 +00:00
Cyprian Klimaszewski
fadeeb6da1 Fix 0b99a0b: Incorrect error message for aqueducts reaching northern map borders (#14974) 2026-01-08 22:14:58 +00:00
SamuXarick
bee3bc0ce5 Fix: [Script] Retarget iterators on list swap (#14805)
Fix script list sorter to correctly retarget iterator when swapping lists.
Each sorter implementation now updates its internal iterator to remain valid after attaching to a new list, avoiding undefined behaviour.
2026-01-08 22:06:57 +00:00
Tyler Trahan
80f19546d2 Change: River springs must be surrounded by hills (#14845) 2026-01-08 20:58:33 +00:00
Tyler Trahan
b41e23270d Codefix: Clean up object area placement (#15062) 2026-01-08 20:51:03 +00:00
Tyler Trahan
09a8b1cf5c Feature: Allow placing an area of 1x1 houses (#14708) 2026-01-08 20:43:50 +00:00
Tyler Trahan
e97213e7e2 Change: Vehicles loading at stations don't lose reliability (#14841) 2026-01-08 15:34:50 -05:00
Tyler Trahan
9c6100c32a Change: Transmitter object only spawns after original base year (#14786) 2026-01-08 15:21:45 -05:00
Rubidium
55f05846a5 Cleanup: remove unneeded warning disabling macros 2026-01-08 17:52:12 +01:00
Tyler Trahan
a6915cd5a3 Fix: Standardize wording of GRF/NewGRF (#15059) 2026-01-08 05:48:23 -05:00
translators
8ba1860eaa Update: Translations from eints
korean: 1 change by telk5093
turkish: 2 changes by jnmbk
2026-01-08 04:48:32 +00:00
Rubidium
463e1131da Cleanup: remove unneeded define 2026-01-07 22:00:42 +01:00
Rubidium
317dc71c6a Codechange: cleanup old defines for unsupported versions of MacOS 2026-01-07 21:34:15 +01:00
Charles Pigott
97a4e1b59e Fix: [Fluidsynth] Don't try to load the default soundfont if it's not set or doesn't exist 2026-01-07 19:18:49 +00:00
Charles Pigott
98799c9b9c Add: [Fluidsynth] Read settings from config files if available 2026-01-07 19:18:49 +00:00
Rubidium
f291e3c68e Codechange: reduce required padding of some structs 2026-01-07 18:26:29 +01:00
translators
88a467db19 Update: Translations from eints
swedish: 1 change by robert-i
ukrainian: 14 changes by StepanIvasyn
portuguese: 15 changes by jcteotonio
2026-01-07 04:48:44 +00:00
Peter Nelson
58abbf9e67 Fix #15046: Crash on loading game due to invalid group parents. (#15049)
A bug when deleting groups could leave the group hierarchy in an invalid state.
2026-01-06 18:39:43 +00:00
translators
d2b1253583 Update: Translations from eints
english (au): 1 change by krysclarke
chinese (traditional): 3 changes by KogentaSan
english (us): 1 change by 2TallTyler
vietnamese: 1 change by KhoiCanDev
greek: 1 change by gh658804
hungarian: 5 changes by vargaviktor
russian: 1 change by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 4 changes by jcteotonio
portuguese (brazilian): 1 change by pasantoro
polish: 1 change by Rito13
maori (new zealand): 2 changes by Kyle-McDangersword
2026-01-06 04:48:38 +00:00
SamuXarick
9406e8b36c Codefix: Mostly aligment, and missing closing tags in landscape.html
- Enclose "Presence and direction of bridge above" within <li> </li>
- Several missing closing </li> tags
- A few missing closing </td></tr> tags
- Consistent lower case <br> tags
- A big table misalignment by one space in "m5 bits 7..4: Water tile type:" with an incorrect closing </li> tag at the end
2026-01-05 21:38:56 +01:00
Rito12
dc663d7b0a Feature: Allow to build buoys at (0x0). 2026-01-05 21:26:47 +01:00
Miguel Horta
9e7cb99dc2 Codefix: Use active_tab instead of hardcoded value 2026-01-05 21:25:43 +01:00
Jonathan G Rennison
fed2149846 Fix: disable_elrails handling with engines that use both RAIL and ELRL (#15045) 2026-01-05 21:23:05 +01:00
J
710c78a0bb Add: Make smallmap clear to water instead of black if infinite water enabled. (#15041) 2026-01-05 19:12:31 +00:00
translators
50e890eeb5 Update: Translations from eints
greek: 1 change by superuser-does
ukrainian: 33 changes by StepanIvasyn
turkish: 3 changes by jnmbk
portuguese: 12 changes by jcteotonio
portuguese (brazilian): 1 change by jcteotonio
maori (new zealand): 30 changes by Kyle-McDangersword
2026-01-05 04:52:02 +00:00
Peter Nelson
f0105607dc Fix #15039: Name and version can disappear from content list. (#15040)
If the small font is set larger than the normal font, both name and version text disappeared.

Take account of the height of the small font when setting the resize height.
2026-01-04 17:54:59 +00:00
Rubidium
7935253ee4 Codefix: initialise all fields of FileScanner 2026-01-03 20:44:38 +01:00
sorbat
46a05315b0 Codefix: [CMake] Make lsb_release a fallback option for platform detection (#15012) 2026-01-03 18:51:30 +00:00
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