Commit Graph

32771 Commits

Author SHA1 Message Date
Peter Nelson 02792d8332 Codechange: add doxygen comments for all EnumBitSet definitions (#15713) 2026-06-13 19:48:55 +00:00
Peter Nelson 3aee9889c2 Doc: synchronise changelog from 15.3 release (#15712) 2026-06-13 17:56:50 +01:00
Peter Nelson ed1817897a Codechange: make ErrorCode a scoped enum and document it (#15711) 2026-06-13 14:18:26 +01:00
translators 23ed6cd3c4 Update: Translations from eints
english (au): 1 change by krysclarke
czech: 34 changes by vladoschreiner
greek: 1 change by gh658804
russian: 1 change by Ln-Wolf
portuguese: 1 change by jcteotonio
portuguese (brazilian): 1 change by pasantoro
2026-06-13 06:01:06 +00:00
Rubidium 234b022d75 Codechange: split decoding of language off to a separate AddGRFString 2026-06-13 06:42:26 +02:00
Peter Nelson 8335479c07 Codechange: make AdminStatus a scoped enum 2026-06-12 22:18:32 +01:00
Peter Nelson f022017461 Codechange: make NetworkCoordinatorErrorType a scoped enum 2026-06-12 22:18:32 +01:00
Peter Nelson 146d499d0b Codechange: make ConnectionType a scoped enum 2026-06-12 22:18:32 +01:00
Peter Nelson 8453494170 Fix: ignore blocked waypoint tiles (#15620) 2026-06-12 22:11:21 +01:00
Cyprian Klimaszewski 6e9a5cee2a Codechange: Use IsValidCorner more. (#15697) 2026-06-12 22:09:29 +01:00
Rubidium 6da4aa8648 Codechange: make MouseClick scoped 2026-06-12 23:03:16 +02:00
Rubidium bba260e300 Codechange: make PreventHideDirection scoped 2026-06-12 22:52:34 +02:00
Rubidium 85ca2c20cd Codechange: make ViewportAutoscrolling scoped 2026-06-12 22:44:01 +02:00
Rubidium a268f99f3f Codechange: make CanalFeatureFlag a scoped enum and use EnumBitSet for flags 2026-06-12 20:16:06 +02:00
glx22 f4cad11b40 Change: [CMake] Use FindICU module provided by CMake 2026-06-12 16:51:59 +02:00
glx22 d92cd26a1f Codefix 9356748: Missing dependency to build OpenSSL 2026-06-12 16:51:59 +02:00
translators acbbea4238 Update: Translations from eints
vietnamese: 8 changes by KhoiCanDev
hungarian: 7 changes by vargaviktor
2026-06-12 06:04:50 +00:00
Rubidium f5ee6a5ec3 Codechange: use reference over pointer for RemoveFirstTrack(dir) 2026-06-11 21:24:10 +02:00
Peter Nelson 0149e4a349 Codechange: make Trackdir a scoped enum and TrackdirBits an EnumBitSet (#15696) 2026-06-11 14:40:15 +01:00
Matt C 09a475f30a Codechange: Calculate most used rail type using company infrastructure records (#15598) 2026-06-11 08:56:03 -04:00
Péter Siklós 61a8c9fd55 Fix: Typo in Hungarian town name suffix ("kak" -> "lak") (#15421) 2026-06-11 08:55:09 -04:00
Tad Hardesty eb54cbcd97 Add: Allow precisely erasing rocks in scenario editor (#15463) 2026-06-11 08:53:08 -04:00
translators 1766f17609 Update: Translations from eints
swedish: 4 changes by joeax910
korean: 5 changes by telk5093
2026-06-11 06:07:25 +00:00
Peter Nelson 4e6a5ca362 Codechange: make GoalType a scoped enum 2026-06-10 23:51:54 +01:00
Peter Nelson 3e880e8cd4 Codechange: make GoalQuestionType a scoped enum
Ensure ScriptGoal::QuestionType values match GoalQuestionType.
2026-06-10 23:51:54 +01:00
Rubidium 0021d5d6bd Fix: error message language incorrectly decoded.
Both the GRF version <7 and >=7 are supported, but the decoding assumes the
latter version. This means that for decoding custom errors a GRF version <7
with German will be using the Spanish plural/cases.
2026-06-10 23:38:31 +02:00
glx22 30fe17a49c Codefix: narrowing conversion warning for MSVC x86 2026-06-10 22:43:15 +02:00
glx22 9356748003 Update: vcpkg baseline 2026-06-10 22:43:15 +02:00
Rubidium 33d9b82c0c Fix: town name language incorrectly decoded
Both the GRF version < 7 and >= 7 are supported, but the debug message assumes
the latter. Also, use the same 'default' language for decoding the string as
is done for the part name later in the function.
2026-06-10 18:22:18 +02:00
Rubidium 4b3d621569 Codechange: directly use _current_language->newgrflangid instead of maintaining a separate variable for two functions 2026-06-10 18:21:58 +02:00
translators 31f8d76754 Update: Translations from eints
esperanto: 5 changes by slashdevslashurandom
polish: 5 changes by Rito13
2026-06-10 06:01:27 +00:00
Peter Nelson 2effec96e8 Codechange: simplify drawing of smallmap legends (#15690)
Replace convoluted cascasing switches with helper function.
2026-06-09 18:16:52 +00:00
translators dbb8096a52 Update: Translations from eints
english (us): 5 changes by 2TallTyler
2026-06-09 05:54:15 +00:00
Rubidium 8ac4112aba Codechange: introduce enums for TrainSignalSide and RoadVehicleDrivingSide 2026-06-09 05:39:15 +02:00
Peter Nelson c9cf141813 Codechange: make Track a scoped enum and TrackBits an EnumBitSet (#15684)
Helper methods to convert Track to TrackBits are removed as they are no longer necessary.
2026-06-08 23:05:51 +01:00
Peter Nelson 7e2bcaf792 Codechange: avoid magic numbers and generic types when drawing autorail (#15689) 2026-06-08 22:22:15 +01:00
Peter Nelson 0ff5f81319 Codechange: make SigSegState a scoped enum (#15687) 2026-06-08 20:05:47 +01:00
translators 0eb9a47a96 Update: Translations from eints
english (au): 15 changes by krysclarke
czech: 69 changes by adamek0202
greek: 5 changes by gh658804
russian: 5 changes by Ln-Wolf
finnish: 5 changes by hpiirai
portuguese: 5 changes by jcteotonio
portuguese (brazilian): 5 changes by pasantoro
2026-06-08 06:08:41 +00:00
Peter Nelson 8d0a0b5e16 Fix #15606: undefined behaviour may cause buttons to be invisible (#15686)
Set widget aspect ratio based on unscaled sizes, as scaled sizes are no longer available.
2026-06-07 06:23:48 +00:00
translators ba582b88ed Update: Translations from eints 2026-06-07 06:02:31 +00:00
Cyprian Klimaszewski 9d233c441d Codechange: Use CornerIndexArray instead of C-style arrays. (#15685) 2026-06-06 21:55:11 +01:00
Peter Nelson fa02d7aecb Codechange: make LinkType a scoped enum (#15683) 2026-06-06 21:54:37 +01:00
Jonathan G Rennison 552ad919a8 Fix #15679: Train reversing when partially in a depot (#15680)
Defer UpdateStatusAfterSwap until after all swaps done.
Replace previous fix in #15662.
2026-06-06 18:53:28 +01:00
Peter Nelson b5ae563df1 Codechange: make IConsoleMode a scoped enum (#15682) 2026-06-06 18:52:31 +01:00
Peter Nelson 14be71cb5f Codechange: make SignalState a scoped enum 2026-06-06 18:52:10 +01:00
Peter Nelson 231d946624 Codechange: make SignalType a scoped enum 2026-06-06 18:52:10 +01:00
Peter Nelson e97e182630 Codechange: make SignalVariant a scoped enum 2026-06-06 18:52:10 +01:00
Peter Nelson ebb77e592c Codechange: use EnumIndexArray for signal sprite and string tables 2026-06-06 18:52:10 +01:00
Cyprian Klimaszewski 549f357a19 Codechange: Make Foundation a scoped enum. (#15676) 2026-06-06 18:51:53 +01:00
Peter Nelson e41d4a0243 Codefix: clean up confusion between Track and Trackdir (#15678) 2026-06-06 14:28:49 +01:00