Michael Lutz
ceee8016a5
Add: [Script] Function to get all rail types of an rail engine.
2025-12-08 03:17:44 +05:00
Michael Lutz
51310ef531
Add: [NewGRF] Train property to set multiple track types for an engine.
2025-12-08 03:17:42 +05:00
Michael Lutz
b16ba117cc
Codechange: Store the rail type of rail engines as a RailTypes bitmask.
2025-12-08 03:17:35 +05:00
Michael Lutz
fdc36e65fd
Codechange: Use an enum for vehicle acceleration model.
2025-12-08 03:10:54 +05:00
translators
01b00b1754
Update: Translations from eints
...
catalan: 2 changes by J0anJosep
latvian: 53 changes by lexuslatvia
portuguese: 36 changes by jcteotonio
2025-12-08 03:10:54 +05:00
translators
3cad4ad718
Update: Translations from eints
...
norwegian (bokmal): 2 changes by eriksorngard
vietnamese: 14 changes by KhoiCanDev
russian: 1 change by Ln-Wolf
dutch: 1 change by Afoklala
2025-12-08 03:10:54 +05:00
Peter Nelson
5c5fc2759a
Codechange: Remove two vector typedefs which are only used once. ( #14612 )
2025-12-08 03:09:57 +05:00
Peter Nelson
71d110b5de
Codechange: Prefer EnumBitSet's All() method over bitwise comparisons. ( #14611 )
...
This makes the intent of the operation clearer.
2025-12-08 03:09:55 +05:00
Peter Nelson
9631165898
Fix 9a294ab2ed: Bridge height check for waypoints didn't include axis in layout. ( #14609 )
...
It's unlikely that X and Y axis waypoints have different heights, but not impossible.
2025-12-08 03:09:52 +05:00
translators
88759e090f
Update: Translations from eints
...
english (au): 1 change by krysclarke
swedish: 1 change by robert-i
chinese (traditional): 1 change by KogentaSan
chinese (simplified): 2 changes by WenSimEHRP
korean: 1 change by telk5093
greek: 1 change by gh658804
finnish: 1 change by hpiirai
portuguese: 9 changes by jcteotonio
portuguese (brazilian): 1 change by pasantoro
polish: 1 change by Rito13
2025-12-08 03:09:52 +05:00
Peter Nelson
a17bc2a3c2
Codechange: Range-check rail/road/tram maps by size instead of constant. ( #14602 )
...
* Compare against the size of the array instead of the constant used to define the array.
* `type_map` alias now uses auto to avoid defining the type each time.
* `_cur_gps.grffile->railtype_map` is now aliased to `type_map` to simplify and standardise.
2025-12-08 03:09:49 +05:00
translators
721f619eda
Update: Translations from eints
...
english (us): 1 change by 2TallTyler
korean: 1 change by telk5093
hungarian: 1 change by vargaviktor
danish: 2 changes by New-Authentication
dutch: 1 change by nicobresseleers
portuguese: 12 changes by jcteotonio
2025-12-08 03:09:49 +05:00
Peter Nelson
89dbb0e1a8
Change: Allow bridges over locks. ( #14595 )
...
The bridge must be at least 2 levels higher than the lock.
2025-12-08 03:08:28 +05:00
translators
c927ca3db5
Update: Translations from eints
...
english (au): 1 change by krysclarke
swedish: 1 change by robert-i
chinese (traditional): 1 change by KogentaSan
vietnamese: 1 change by KhoiCanDev
greek: 1 change by gh658804
russian: 1 change by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 76 changes by jcteotonio
portuguese (brazilian): 1 change by pasantoro
polish: 4 changes by pAter-exe
2025-12-08 03:08:28 +05:00
translators
c3328ad6d0
Update: Translations from eints
...
italian: 64 changes by Boh132Boh
portuguese: 172 changes by jcteotonio
2025-12-08 03:08:28 +05:00
Peter Nelson
dbca97f32b
Change: Allow bridges over docks. ( #14594 )
2025-12-08 03:07:18 +05:00
Peter Nelson
217b8ecf21
Fix: Don't add spacing in rail/road type dropdowns if no badges are present. ( #14598 )
2025-12-08 03:07:15 +05:00
translators
4dfc92aedc
Update: Translations from eints
...
portuguese: 44 changes by jcteotonio
portuguese (brazilian): 6 changes by jcteotonio
2025-12-08 03:07:15 +05:00
Peter Nelson
9bc3273e09
Codechange: Split table data out of rail.cpp ( #14597 )
2025-12-08 03:07:13 +05:00
Peter Nelson
15df474c7b
Fix c02ef3e456: [AI] Incorrect infrastructure cost for road/tram tiles. ( #14596 )
...
Infrastructure total count should be split between road and tram pieces.
2025-12-08 03:07:11 +05:00
translators
95b26278dc
Update: Translations from eints
...
portuguese: 25 changes by jcteotonio
2025-12-08 03:07:11 +05:00
translators
2feccd8ec0
Update: Translations from eints
...
chinese (traditional): 1 change by KogentaSan
danish: 28 changes by New-Authentication
portuguese: 30 changes by jcteotonio
2025-12-08 03:07:11 +05:00
Peter Nelson
3312ed6670
Codechange: Give better names to water tile layouts. ( #14592 )
2025-12-08 03:07:09 +05:00
Peter Nelson
f542343589
Codefix: Use of nullptr instead of std::nullopt. ( #14590 )
2025-12-08 03:07:08 +05:00
translators
c7e904fcf2
Update: Translations from eints
...
danish: 10 changes by New-Authentication
french: 1 change by ottdfevr
2025-12-08 03:07:08 +05:00
Peter Nelson
4bab50a23e
Fix #14586 , Fix 069ff846e4: Empty station tile layouts incorrectly substituted with default layouts. ( #14587 )
...
It is no longer possible for a layout to be missing, so the nullptr check should have been removed.
2025-12-08 03:07:03 +05:00
Peter Nelson
6b8ace1758
Fix #14584 : Crash due to drawing non-existent orders of new vehicle. ( #14585 )
...
When the vehicle list window is grouped by orders, no check was made that vehicle's order list existed.
2025-12-08 03:06:58 +05:00
Peter Nelson
bf847afe2a
Codechange: Remove MusicSystem::displayed_playlist. ( #14582 )
...
It is not actually used for display, and is basically a copy of the standard playlist with duplicated maintenance.
2025-12-08 03:06:57 +05:00
Peter Nelson
44e3645a0e
Fix: Wrong row may be selected in music playlists. ( #14581 )
...
Include frame offset when clicking on music playlist to ensure the correct row is selected.
2025-12-08 03:06:55 +05:00
Peter Nelson
4808069aa1
Codechange: Shuffle MusicSongInfo members to reduce alignment padding. ( #14580 )
2025-12-08 03:06:48 +05:00
Kuhnovic
accf29027d
Codechange: Remove redundant data members from YAPF ship node. ( #14577 )
2025-12-08 03:06:45 +05:00
translators
cdad52421d
Update: Translations from eints
...
danish: 8 changes by New-Authentication
2025-12-08 03:06:45 +05:00
Peter Nelson
dc6ea7d8b1
Codechange: Use span instead of raw pointer for animated cursors. ( #14575 )
...
This allows the terminator entry to be removed.
2025-12-08 03:05:18 +05:00
Peter Nelson
5c41262e99
Fix #14569 : Ensure music playlist window is large enough. ( #14570 )
...
Take number of tracks allowed in custom playlist into account, instead of just the number of tracks loaded.
2025-12-08 03:05:16 +05:00
Cornelius Diekmann
d998144f65
Codefix f6555cf: fix comment track vs. tile ( #14571 )
2025-12-08 03:04:34 +05:00
Loïc Guilloux
adc3d06bbb
Fix #14278 , ccd586a7: [Script] Don't set members inside operator new() ( #14568 )
2025-12-08 03:04:32 +05:00
translators
2d6f141f4e
Update: Translations from eints
...
portuguese: 5 changes by jcteotonio
2025-12-08 03:04:32 +05:00
Peter Nelson
46d0264291
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-12-08 03:04:30 +05:00
Peter Nelson
db43f98542
Fix #13922 : Ensure music track no widget is wide enough for track no. ( #14566 )
2025-12-08 03:04:28 +05:00
translators
af4bdf097d
Update: Translations from eints
...
galician: 2 changes by pvillaverde
vietnamese: 24 changes by MagicalDrizzle
french: 1 change by ottdfevr
2025-12-08 03:04:28 +05:00
dP
f44fd09cc1
Add timer dependency
2025-12-08 03:04:21 +05:00
Peter Nelson
c22536f464
Fix 7b60e5ccad: Badge filters were only applied to trains. ( #14565 )
2025-12-08 03:01:25 +05:00
dP
50b20c3830
Backport some fixes from cmclient
2025-12-08 02:50:36 +05:00
dP
288cbff966
Remove unused .github files
2025-10-19 03:25:50 +05:00
dP
94b4db3a72
Move event functions out of cm_main.hpp
2025-10-02 22:52:25 +05:00
dP
cd58b06be2
Reduce the number of includes in cm_event.hpp to hopefully speed up compilation
2025-10-01 02:13:01 +05:00
dP
3e9a5c052d
Fix include paths in rev.cpp.in
2025-09-29 18:39:40 +05:00
dP
d785467c28
Fix .version
2025-09-04 14:00:34 +05:00
dP
00f356d0ff
Fix compilation errors
2025-09-02 00:13:45 +05:00
dP
4fec64525a
Merge branch 'openttd'
2025-09-01 23:28:07 +05:00