1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-30 23:54:35 +01:00
Commit Graph

32201 Commits

Author SHA1 Message Date
translators
1dd3d65574 Update: Translations from eints
swedish: 2 changes by robert-i
chinese (traditional): 23 changes by KogentaSan
chinese (simplified): 26 changes by WenSimEHRP
hungarian: 2 changes by vargaviktor
russian: 6 changes by Ln-Wolf
portuguese: 1 change by jcteotonio
2026-01-30 05:00:37 +00:00
Rito12
664b507fe2 Change: Add support for next/previous/first/last road/tram type hotkeys. 2026-01-30 00:00:53 +01:00
Konstantin Gribov
6cac80a158 Change: Add support for next/previous/first/last railtype hotkeys.
This patch adds support for next/prev railtype hotkeys which select
previous next, first or last  available railtype.
If user selected any widget in railway build toolbox it will be
preserved.

Such behaviour is useful for players who use PURR, Useless Tracks,
U&ReRMM and similar NewGRFs for quick selection.

I use PURR with semantic tracks coloring (e.g. white purr for waiting
bays, red purr for prio zones etc).

Current patch binds this feature to `[`, `]`, `CTRL+[` and `CTRL+]`.

Initialy by Konstantin Gribov <grossws@gmail.com>.
2026-01-30 00:00:53 +01:00
Rito12
7b5bfe2ac6 Codechange: Create API for special hotkeys used to select items from list. 2026-01-30 00:00:53 +01:00
Cyprian Klimaszewski
d17f662490 Codechange: Allow to set cursor directly. 2026-01-30 00:00:53 +01:00
Rito12
2de2c5d31d Cleanup: Expose last built types in the toolbar gui header. 2026-01-30 00:00:53 +01:00
Rito12
a706ac7dc9 Codechange: Add sorter for doxygen warnings. 2026-01-29 23:58:39 +01:00
Rubidium
a42ba2493e Codefix: too many or too few documented parameters 2026-01-29 23:38:32 +01:00
Rubidium
79588cbfe3 Codefix: CommandProc does not exist, so remove any references 2026-01-29 23:38:32 +01:00
Rubidium
7d70d70e0e Codefix: remove unused parameter 2026-01-29 23:38:32 +01:00
Rubidium
954ac16c8c Codefix: remove implicit LaTeX dependency 2026-01-29 21:40:06 +01:00
Rubidium
920fc5657b Codechange: move 'out' parameters of GetVehicleFromDepotWndPt to the returned value 2026-01-29 20:03:54 +01:00
Jonathan G Rennison
f49924e749 Fix: Station view window fold/unfold not refreshing scrollbar 2026-01-29 19:14:17 +01:00
Rubidium
03c24810b1 Codechange: use scoped enums for timer enumerations, rename one enum 2026-01-29 12:42:27 +01:00
Richard Wheeler
7092162a97 Change: Removing river tiles reduce local authority rating 2026-01-29 07:44:27 +00:00
translators
2bb01bd0e4 Update: Translations from eints
english (au): 8 changes by krysclarke
greek: 8 changes by gh658804
russian: 2 changes by Ln-Wolf
finnish: 7 changes by hpiirai
danish: 7 changes by bscargo
portuguese: 27 changes by jcteotonio
esperanto: 8 changes by slashdevslashurandom
portuguese (brazilian): 8 changes by pasantoro
polish: 9 changes by pAter-exe
2026-01-29 04:58:48 +00:00
Peter Nelson
526ee6434d Codefix: add doxygen for DefaultSaveLoadHandler (#15186) 2026-01-28 22:42:04 +00:00
Rubidium
4adf494ebc Codechange: enum-class-ify Commands 2026-01-28 23:32:51 +01:00
Peter Nelson
014bf7e750 Fix bd57aee3a9: Town supplied history incorrectly clamped to uint16_t (#15183) 2026-01-28 21:13:56 +00:00
translators
bec75bc22a Update: Translations from eints
chinese (traditional): 18 changes by KogentaSan
english (us): 18 changes by 2TallTyler
maori (new zealand): 49 changes by Kyle-McDangersword
danish: 18 changes by bscargo
2026-01-28 04:49:12 +00:00
Richard Wheeler
140ca5d3e6 Fix: Use consistent description for invalid orders 2026-01-27 22:57:36 +00:00
Peter Nelson
802a31cdb0 Change #13915: Share one window for engine preview pop ups. (#14703)
If more than one engine preview occurs at the same time, previous/next buttons allow the player to switch between engines.
2026-01-27 22:29:29 +00:00
Loïc Guilloux
fb8d4e880e Change: [Script] Reformat callstack output (#15171) 2026-01-27 22:30:04 +01:00
Peter Nelson
3937d7ed6f Fix #15085: don't perform GUI scale changes before video driver is fully initialised (#15175) 2026-01-27 21:07:18 +00:00
Cyprian Klimaszewski
89ddc87c16 Codefix 97f3e5b: Restore defensive programming for _tile_type_procs. (#15165) 2026-01-27 20:41:45 +00:00
Rubidium
98f27ed83c Fix #15166: foundations missing adjacent to NewGRF objects without foundation 2026-01-27 20:23:26 +01:00
translators
70404850e2 Update: Translations from eints
english (au): 18 changes by krysclarke
greek: 23 changes by gh658804
hungarian: 25 changes by vargaviktor
russian: 18 changes by Ln-Wolf
finnish: 18 changes by hpiirai
esperanto: 18 changes by slashdevslashurandom
portuguese (brazilian): 18 changes by pasantoro
polish: 18 changes by pAter-exe
2026-01-27 04:50:06 +00:00
Jonathan G Rennison
44612d5b59 Fix: Articulated road vehicle following with immediately sequential u-turns (#15170) 2026-01-26 18:46:55 +00:00
Peter Nelson
24a4f3b1a6 Fix e0c2ad1: [Script] Give GetPrimary/SecondaryLiveryColour preconditions (#15169)
These calls ignored existing API conventions and did not document them.
2026-01-26 18:45:22 +00:00
translators
402ab7cf5f Update: Translations from eints
swedish: 7 changes by robert-i
greek: 6 changes by superuser-does
portuguese: 1 change by jcteotonio
2026-01-26 04:51:30 +00:00
mmtunligit
2bcbea2694 Feature: User-defined collections of saved items in the picker window (#14813) 2026-01-25 12:38:01 -05:00
translators
e661db0396 Update: Translations from eints
maori (new zealand): 7 changes by Kyle-McDangersword
esperanto: 43 changes by slashdevslashurandom
2026-01-25 04:51:08 +00:00
Peter Nelson
6addf5c704 Fix #15088: When building a new train, the refit button state may be incorrect. (#15162)
Invalidate vehicle view window when the vehicle chain is changed.

Co-authored-by: Abigail <abigailthomsonhicks@gmail.com>
2026-01-24 19:12:22 +00:00
Loïc Guilloux
6e356eb267 Fix #15160: Use savegame landscape to display company names in SaveLoad window (#15161) 2026-01-24 19:53:30 +01:00
Peter Nelson
a8d0241c0b Fix #15116: install fallback cargo translation table for old cargo sets (#15150)
Old combined cargo/industry sets may set up cargo types with labels and expect them to be usable without a translation table.

Install a fallback table if the NewGRF does not install one to give them a better chance of working.
2026-01-24 14:42:58 +00:00
Peter Nelson
1716d36ebb Fix: Allow infinite water to be selected when loading heightmap (#15146) 2026-01-24 14:42:36 +00:00
Cyprian Klimaszewski
97f3e5b70f Codechange: Make TileType enum an enum class. 2026-01-24 08:34:05 +01:00
Cyprian Klimaszewski
7d34e09f94 Codefix b0542c8: Remove tree counter from docs. 2026-01-24 06:52:59 +01:00
Rubidium
84863e73a9 Fix 666073fc7b: cocoa video driver did not register 2026-01-24 06:50:36 +01:00
Rubidium
0519f82a37 Fix 317dc71c6a: MacOS version detection was broken, and return a tuple instead of three out-params 2026-01-24 06:50:36 +01:00
Rubidium
6b3eaba308 Codechange: remove unneeded MacOSVersionIsAtLeast calls 2026-01-24 06:50:36 +01:00
translators
009905e39e Update: Translations from eints
vietnamese: 11 changes by myquartz
catalan: 7 changes by J0anJosep
esperanto: 791 changes by slashdevslashurandom
2026-01-24 04:46:04 +00:00
Peter Nelson
2d6fe7d9c6 Codefix: incorrect indentation for GetCargoTranslationTable (#15156) 2026-01-23 22:37:16 +00:00
Loïc Guilloux
ab68e3616d Fix #15153, beb213f9: Wrong tile used to get bridge reservation overlay (#15154) 2026-01-23 16:36:37 +01:00
Peter Nelson
df7bf03cc8 Fix 568b70e: Fjordia SlCompanyLiveries::Load crash (#15148)
Co-authored-by: qirlib <qirlib@gmail.com>
2026-01-22 22:59:20 +00:00
Cyprian Klimaszewski
9545d255ce Codefix: <var> is taken as HTML tag by doxygen. 2026-01-22 23:43:25 +01:00
Cyprian Klimaszewski
d18cf47c10 Codefix f4b0ac2: Documentation for non existing parameters is copied to function overrides. 2026-01-22 23:43:25 +01:00
Cyprian Klimaszewski
639cf2aa76 Codefix 9e9b513: Line numbers do not hide in WARN_LINE_FORMAT. 2026-01-22 23:43:25 +01:00
translators
0f0f19092b Update: Translations from eints
danish: 7 changes by bscargo
2026-01-22 04:49:47 +00:00
translators
0c0f55302d Update: Translations from eints
chinese (traditional): 12 changes by KogentaSan
2026-01-21 04:49:23 +00:00