Commit Graph

32114 Commits

Author SHA1 Message Date
Cyprian Klimaszewski 9e9b51369e Cmake options to customise doxygen warnings. (#15071)
* Add: Cmake otion to hide line numbers in doxygen warnings.
* Add: Cmake options to specify output file for doxygen warnings.

Adds 3 options each one for each docs target, because doxygen deletes
content of the specified file before it begins to write into it.
2026-01-11 09:58:20 +00:00
Peter Nelson dc15cd30e8 Codefix: prevent inefficient reserve behaviour (#15081)
Same as d3420e6e4c but for Town instead of Industry graph.
2026-01-11 09:56:17 +00:00
translators d925595ad1 Update: Translations from eints
polish: 8 changes by pAter-exe
2026-01-11 04:50:26 +00:00
Peter Nelson cc28e19052 Fix #15079: Incorrect dates shown on town cargo history graph. (#15080) 2026-01-11 00:03:56 +00:00
Tyler Trahan 18f2f7eb2d Codechange: Use enum class for setting values (#15074) 2026-01-10 22:40:48 +00:00
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