Commit Graph

32569 Commits

Author SHA1 Message Date
Jonathan G Rennison bbe5dbf230 Cleanup: Correct various spelling errors 2026-04-27 21:05:08 +02:00
Peter Nelson 4a7cbf29f0 Codechange: prefer AutoRestoreBackup over Backup/Restore (#15480) 2026-04-27 08:02:41 +01:00
Peter Nelson a4d142eddb Codechange: prefer bit set methods over operators (#15537)
Missing conversion of some RoadBits calls.
2026-04-27 07:08:33 +01:00
translators def17a75b2 Update: Translations from eints
chinese (traditional): 8 changes by KogentaSan
luxembourgish: 2 changes by phreeze83
2026-04-27 05:37:05 +00:00
Rubidium 38dd2e59eb Codechange: remove aligning parameters in SquirrelExport 2026-04-26 15:18:40 +02:00
Peter Nelson 77403627a8 Codechange: make VehicleType a scoped enum 2026-04-26 07:00:13 +01:00
Peter Nelson b90aefbf49 Codechange: allow passing a scoped enum to InvalidateWindowData 2026-04-26 07:00:13 +01:00
Peter Nelson 8b5c4ae96b Codechange: add helpers to get engine sorter names/functions
Avoids exposing raw C-style arrays.
2026-04-26 07:00:13 +01:00
Peter Nelson 174ff5d914 Codechange: add helpers to get original engine count/offset
Avoids exposing raw C-style arrays.
2026-04-26 07:00:13 +01:00
translators 32d61a8938 Update: Translations from eints
turkish: 14 changes by BeratSJ
2026-04-26 05:27:56 +00:00
Rubidium 66df1188c4 Codechange: let _dirkeys use an enum and EnumBitSet 2026-04-25 18:47:54 +02:00
Rubidium 99c8a637b4 Codechange: make WindowPosition a scoped enum 2026-04-25 17:15:18 +02:00
Richard Wheeler a2e99c9cfa Fix: Fix viewport snap back on stop following vehicle (#15520)
Fixes #15520
2026-04-25 14:30:12 +01:00
Tyler Trahan f62eeada65 Fix: Use tile of leading vehicle when calculating too-short station loading penalty (#15530) 2026-04-24 17:19:58 -04:00
Rubidium 53799cc39a Codechange: make Support8bpp a scoped enum 2026-04-24 22:35:31 +02:00
Cyprian Klimaszewski 4a69cafe9a Codechange: Deduplicate test for "block signal on trackdir" into a function. (#15526)
Co-authored-by: Michael Lutz <michi@icosahedron.de>
2026-04-24 18:52:17 +01:00
Owen Rudge a0ce1f94ed Add: Support automatic detection of data from Atari's Transport Tycoon Deluxe re-release 2026-04-24 09:31:19 +01:00
Peter Nelson 44c63bc400 Codefix 1d10e8ee6: explicitly delete unwanted indexers (#15522)
Prevents typed-indexers being used via implicit conversion.
2026-04-23 08:32:25 +01:00
translators 146499ab99 Update: Translations from eints
swedish: 12 changes by joeax910
2026-04-23 05:20:39 +00:00
translators c14de5faa5 Update: Translations from eints
swedish: 9 changes by joeax910
polish: 4 changes by Rito13
2026-04-22 05:18:55 +00:00
Peter Nelson c45aa3c9b6 Codechange: use EnumBitSet for CargoTypes 2026-04-21 17:13:31 +01:00
Peter Nelson 962a550d1b Codechange: add parameterless Flip() method to BaseBitSet
This allows flipping all valid bits, similar to parameterless Set() and Reset().
2026-04-21 17:13:31 +01:00
translators c2fbc6fdeb Update: Translations from eints
swedish: 13 changes by joeax910
norwegian (bokmal): 9 changes by eriksorngard
hungarian: 6 changes by vargaviktor
polish: 2 changes by SzyZuu
2026-04-21 05:19:40 +00:00
Peter Nelson 8341beb345 Codechange: add functions to convert between GrfSpecFeature and VehicleType (#15517)
Removes various different casts.
2026-04-20 19:17:48 +01:00
translators a6db99765a Update: Translations from eints
swedish: 20 changes by joeax910
2026-04-20 05:29:08 +00:00
Cyprian Klimaszewski b46b660b0b Fix: Buttons for choosing engine in preview window show for single engine. 2026-04-19 22:32:42 +02:00
Rubidium 3b5d46e0bb Codechange: make Colours a scoped enum 2026-04-19 20:53:52 +02:00
Rubidium 6823a1bc9e Codechange: move fetching colour offset to a separate function 2026-04-19 20:53:52 +02:00
Jonathan G Rennison bd1bb3adc8 Fix: Force proceed behaviour when driving backwards (#15510) 2026-04-19 14:16:55 -04:00
Peter Nelson 2bf84ea78c Codechange: make GrfSpecFeature a scoped enum (#15487) 2026-04-19 19:04:27 +01:00
Peter Nelson 16b192d61f Fix #15511: vehicle passed to commands must be a company buildable type (#15512) 2026-04-19 17:03:39 +01:00
translators ea4964371d Update: Translations from eints
swedish: 4 changes by joeax910
korean: 6 changes by telk5093
russian: 1 change by Ln-Wolf
2026-04-19 05:19:36 +00:00
Rubidium 8bbad0dfaf Codechange: Object's colour is actually a recolour offset 2026-04-18 21:28:08 +02:00
Rubidium ba209c8745 Codechange: let GenerateCompanyColour use C++ constructs 2026-04-18 19:21:19 +02:00
translators b75390ba60 Update: Translations from eints
english (au): 1 change by krysclarke
chinese (traditional): 1 change by KogentaSan
english (us): 6 changes by 2TallTyler
russian: 2 changes by Ln-Wolf
finnish: 1 change by hpiirai
portuguese: 5 changes by jcteotonio
esperanto: 6 changes by slashdevslashurandom
portuguese (brazilian): 1 change by pasantoro
polish: 1 change by Rito13
2026-04-18 05:16:32 +00:00
Matt C e4bc01d172 Change: Most used rail type takes ownership into account (#15489) 2026-04-17 18:29:39 -04:00
Jonathan G Rennison 3437a58d5e Fix: Condition for whether to change driving direction or flip on train reverse (#15499) 2026-04-17 18:28:17 -04:00
Rubidium 7f1d17df46 Codechange: use EnumBitSet for used_colours 2026-04-17 22:34:17 +02:00
Rubidium 9a87f184c4 Codechange: move calculating livery recolour offset to Livery 2026-04-17 22:05:25 +02:00
Peter Nelson e24f92ce82 Fix d15f0597: prevent setting DrivingBackwards condition on non-trains (#15493)
The existing code only prevented this in the GUI.
2026-04-17 18:30:36 +01:00
Loïc Guilloux b7c51a9332 Fix #15497: [Script] ScriptController::Break not pausing in TestMode (#15498) 2026-04-17 16:36:16 +02:00
translators 678dfe658a Update: Translations from eints
english (au): 8 changes by krysclarke
chinese (traditional): 7 changes by KogentaSan
russian: 5 changes by Ln-Wolf
finnish: 5 changes by hpiirai
portuguese: 5 changes by jcteotonio
portuguese (brazilian): 5 changes by pasantoro
polish: 3 changes by Rito13
2026-04-17 05:20:14 +00:00
Peter Nelson 8568f1f7bc Codechange: rename and make RailSpriteType a scoped enum
RailTypeSpriteGroup is now renamed to RailSpriteType
2026-04-16 21:01:17 +01:00
Peter Nelson 5cef1ca68a Codechange: rename and make RoadSpriteType a scoped enum
RoadTypeSpriteGroup is now renamed to RoadSpriteType
2026-04-16 21:01:17 +01:00
Peter Nelson d15f105974 Add: conditional order to test if a train is driving backwards (#15484) 2026-04-16 21:00:49 +01:00
Jonathan G Rennison fd855aa61d Fix: Coordinate transformation for JSON town placement when anticlockwise 2026-04-16 16:48:44 +02:00
translators e09cca949f Update: Translations from eints
swedish: 36 changes by joeax910
english (us): 3 changes by 2TallTyler
chinese (simplified): 58 changes by WenSimEHRP
hungarian: 3 changes by vargaviktor
polish: 3 changes by pAter-exe
2026-04-16 05:22:10 +00:00
Rubidium fe5171a6c5 Codechange: make PaletteType a scoped enum 2026-04-15 23:48:31 +02:00
Tyler Trahan 98805561f8 Add: Setting to disallow train magic flip, and reverse at reduced speed (#15391) 2026-04-15 16:24:26 -04:00
translators 3f4984ebaa Update: Translations from eints
swedish: 27 changes by joeax910
chinese (traditional): 5 changes by KogentaSan
luxembourgish: 42 changes by phreeze83
korean: 3 changes by telk5093
greek: 3 changes by gh658804
russian: 3 changes by Ln-Wolf
finnish: 4 changes by hpiirai
portuguese: 5 changes by jcteotonio
esperanto: 3 changes by slashdevslashurandom
portuguese (brazilian): 3 changes by pasantoro
2026-04-15 05:18:39 +00:00