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

24675 Commits

Author SHA1 Message Date
Cornelius Diekmann
dd426bb8c7 Codefix f6555cf: fix comment track vs. tile (#14571) 2025-09-02 13:55:08 +02:00
Loïc Guilloux
7a6e04561d Fix #14278, ccd586a7: [Script] Don't set members inside operator new() (#14568) 2025-09-02 12:58:31 +02:00
translators
fce2748bb7 Update: Translations from eints
portuguese: 5 changes by jcteotonio
2025-09-02 04:39:43 +00:00
Peter Nelson
960b840291 Fix 6d6e64b1f0: Road stop properties 0x13/0x14 were not skipped properly. (#14567)
These properties where changed to be variable length for consistency, but ignoring them treated them as fixed length.
2025-09-01 18:52:55 +01:00
Peter Nelson
73045f9b0e Fix #13922: Ensure music track no widget is wide enough for track no. (#14566) 2025-09-01 08:44:33 +00:00
translators
4c77026167 Update: Translations from eints
galician: 2 changes by pvillaverde
vietnamese: 24 changes by MagicalDrizzle
french: 1 change by ottdfevr
2025-09-01 04:42:09 +00:00
Peter Nelson
ff5e067341 Fix 7b60e5ccad: Badge filters were only applied to trains. (#14565) 2025-08-31 23:04:48 +01:00
Peter Nelson
a23970af32 Fix f30f808b50: Bridge over bridge head could be built one level too low. (#14564) 2025-08-31 19:15:49 +01:00
Peter Nelson
febf8b0d57 Fix #14561: Vehicle effects missing for vehicle on bridge. (#14563) 2025-08-31 18:27:46 +01:00
Loïc Guilloux
4b9afbe35b Codefix: [Script] Mention ScriptError::ERR_STATION_TOO_SPREAD_OUT in API doc (#14562) 2025-08-31 15:18:51 +00:00
Loïc Guilloux
80666a0d51 Add: [Script] ScriptError::ERR_BRIDGE_TOO_LOW (#14560) 2025-08-31 14:04:02 +00:00
Rubidium
7c0f69a8fe Codefix: typos in comments and strings 2025-08-31 10:30:37 +02:00
Rubidium
4fb749886a Codefix: typos in variable/constant/function names 2025-08-31 10:30:37 +02:00
Rubidium
da8422a656 Codefix: typos in string names 2025-08-31 10:30:37 +02:00
translators
37b72f9dcf Update: Translations from eints
galician: 21 changes by pvillaverde
french: 9 changes by ottdfevr
2025-08-31 04:38:04 +00:00
Loïc Guilloux
fac55d0278 Fix #14506, aac3a5b6: Restore prefilling of _stations_nearby_list (#14551) 2025-08-30 21:11:09 +02:00
Peter Nelson
b867939f37 Fix #14553: Parameter configuration of pre-action 14 NewGRFs did not work. (#14554) 2025-08-30 19:47:37 +01:00
translators
011fca6e21 Update: Translations from eints
danish: 59 changes by bscargo
2025-08-30 04:37:31 +00:00
Jonathan G Rennison
32d93e1c67 Cleanup: Misspellings of "dropdown" in order_gui.cpp 2025-08-29 21:40:35 +02:00
translators
5c285f3e0c Update: Translations from eints
italian: 12 changes by da-cal
maori (new zealand): 85 changes by Kyle-McDangersword
2025-08-29 04:38:53 +00:00
Richard Wheeler
c6c72404e1 Change: Set endgame background to match original graphics borders 2025-08-28 21:22:31 +01:00
Kuhnovic
10e81af663 Codechange: Deduplicate YAPF estimate calculation. (#14527) 2025-08-28 21:09:00 +02:00
Peter Nelson
e6323e6760 Fix: File/directory titles not updated if language is changed. (#14542) 2025-08-28 17:42:00 +01:00
Peter Nelson
2978cfa5c9 Fix fbd71a9d72: Missing space after old file type identifier. (#14541) 2025-08-27 18:06:49 +01:00
translators
41ecb25238 Update: Translations from eints
maori (new zealand): 2 changes by translators
2025-08-27 04:39:11 +00:00
Kyle McDangersword
2907dff157 Add #14536: Maori (New Zealand) language 2025-08-26 20:52:25 +02:00
Peter Nelson
68af94cf3e Fix 7344dfe651: Hang when clicking on a link in a text file. (#14539)
When text is not wrapped, a line's `wrapped_width` is 0, causing the Layouter to get stuck in an infinite loop.
2025-08-26 18:28:16 +01:00
Loïc Guilloux
995f30bff0 Codefix bd1a3fe0: Incorrect handling of squirrel stack (#14538) 2025-08-26 16:00:01 +02:00
translators
d3d25a39a0 Update: Translations from eints
norwegian (bokmal): 5 changes by eriksorngard
2025-08-26 04:40:50 +00:00
Jonathan G Rennison
c4912c94e4 Fix: Incorrect use of GetDescription in town/industry load handler (#14526)
GetLoadDescription should be used instead such that skipping incoming
table fields works as expected
2025-08-25 15:16:04 +01:00
Peter Nelson
6eb5c166dc Fix: Account for both text and icon size in station waiting cargo display. (#14535) 2025-08-25 15:15:10 +01:00
translators
5996aa4a57 Update: Translations from eints
chinese (traditional): 4 changes by KogentaSan
english (us): 5 changes by 2TallTyler
chinese (simplified): 5 changes by WenSimEHRP
2025-08-25 04:42:04 +00:00
Jonathan G Rennison
294006b1c8 Fix: Incorrect Company::freegroups handling on company merger (#14534) 2025-08-24 12:26:34 +00:00
Jonathan G Rennison
98ffd3cdb1 Fix: Off-by-one when drawing diagonal lines (#14523) 2025-08-24 13:24:17 +01:00
translators
98090fe948 Update: Translations from eints
swedish: 5 changes by robert-i
korean: 5 changes by telk5093
hungarian: 9 changes by vargaviktor
catalan: 5 changes by J0anJosep
2025-08-24 04:42:03 +00:00
translators
0d736d7555 Update: Translations from eints
greek: 7 changes by gh658804
finnish: 6 changes by hpiirai
dutch: 9 changes by Afoklala
2025-08-23 04:39:05 +00:00
Peter Nelson
54f328beeb Codechange: Remove output pointer from GetTileArea(). (#14530)
This simplifies things and removes undocumented type `ETileArea`
2025-08-22 21:27:31 +01:00
translators
2aaf0c0211 Update: Translations from eints
english (au): 5 changes by krysclarke
chinese (traditional): 5 changes by KogentaSan
russian: 5 changes by Ln-Wolf
finnish: 8 changes by hpiirai
portuguese: 7 changes by jcteotonio
portuguese (brazilian): 6 changes by pasantoro
polish: 5 changes by pAter-exe
2025-08-22 04:40:24 +00:00
translators
b3beff9781 Update: Translations from eints
swedish: 2 changes by joeax910
chinese (traditional): 2 changes by KogentaSan
english (us): 4 changes by 2TallTyler
chinese (simplified): 2 changes by WenSimEHRP
finnish: 2 changes by hpiirai
2025-08-21 04:40:46 +00:00
Peter Nelson
9a294ab2ed Feature: Allow stations and roadstops under bridges.
Bridges above stations will have pillars excluded if they conflict with the station layout.

Partly based on the system implemented in JGRPP.

Co-authored-by: <su@angel-island.zone>
2025-08-20 21:40:41 +01:00
Peter Nelson
6d6e64b1f0 Add: [NewGRF] Bridge pillar exclusion information for stations and roadstops.
NewGRF stations and roadstops can now specify bridge pillar and minimum height information for their tiles.
2025-08-20 21:40:41 +01:00
Peter Nelson
f30f808b50 Codechange: Implement tile proc handler to test for building bridge over tile. 2025-08-20 21:40:41 +01:00
translators
77503776b6 Update: Translations from eints
english (au): 2 changes by krysclarke
norwegian (bokmal): 7 changes by eriksorngard
chinese (traditional): 2 changes by KogentaSan
korean: 7 changes by telk5093
russian: 2 changes by Ln-Wolf
catalan: 24 changes by J0anJosep
portuguese (brazilian): 2 changes by pasantoro
polish: 2 changes by pAter-exe
2025-08-20 04:40:05 +00:00
Peter Nelson
1cb0cbcb6c Codechange: Standardise how AllocateSpecToStation/RoadStop are called. (#14525)
Replace use of negative value with std::optional and update doxygen.
2025-08-19 18:52:36 +01:00
translators
5eeede82c5 Update: Translations from eints
swedish: 4 changes by robert-i
english (us): 2 changes by 2TallTyler
greek: 2 changes by gh658804
2025-08-19 04:39:40 +00:00
Peter Nelson
3a5eaf367a Feature: Option to disable activate-on-release behaviour of toolbar dropdown buttons. 2025-08-18 19:48:22 +01:00
Peter Nelson
ea9bee2a3e Fix: Close dropdown menu when user clicks on a differenet window.
This did not happen if the clicked window is flagged as unfocusable (i.e. the main toolbar.)
2025-08-18 19:48:22 +01:00
translators
1850ad1aa2 Update: Translations from eints
chinese (traditional): 2 changes by KogentaSan
russian: 2 changes by Ln-Wolf
2025-08-18 04:46:26 +00:00
Jonathan G Rennison
add40a2de2 Fix #10222: Off by one drawing even-width horizontal/vertical lines 2025-08-17 20:41:49 +01:00
Jonathan G Rennison
80f72d3722 Fix: Off-by-one in Blitter::DrawLineGeneric 2025-08-17 20:41:22 +01:00