Commit Graph

32839 Commits

Author SHA1 Message Date
Peter Nelson fcd33b25a7 Codechange: add GoalQuestionButton scoped enum and EnumBitSet (#15723) 2026-06-14 17:32:27 +01:00
Peter Nelson ff055aa1ce Codechange: make IniGroupType a scoped enum 2026-06-14 15:24:04 +01:00
Peter Nelson 1a2a527530 Codechange: make AdminCompanyRemoveReason a scoped enum 2026-06-14 15:23:45 +01:00
Peter Nelson d6c6ca2879 Codechange: make NewGRFSerializationType a scoped enum 2026-06-14 15:23:45 +01:00
Peter Nelson 3008ffa9d2 Codechange: make NetworkRecvStatus a scoped enum 2026-06-14 15:23:45 +01:00
Peter Nelson 2365f1e525 Codechange: make ServerAddressType a scoped enum 2026-06-14 15:23:45 +01:00
Peter Nelson fe989c3dc4 Codechange: make NetworkGameStatus a scoped enum 2026-06-14 15:23:45 +01:00
Peter Nelson 62d71bd43f Codechange: make SendPacketsState a scoped enum 2026-06-14 15:23:45 +01:00
Peter Nelson 412c692afe Codechange: make AdminUpdateType a scoped enum 2026-06-14 15:23:45 +01:00
Rubidium bd86fe69c0 Codechange: make KeyStateBits an EnumBitset with scoped enum 2026-06-14 15:03:59 +02:00
Peter Nelson 457275a87c Fix 0149e4a349: incorrect logic when excluding 90 degree turns (#15719) 2026-06-14 12:15:35 +01:00
Peter Nelson 9c71a0c925 Fix #15715, 0149e4a349: ships unable to move due to inverted test (#15716) 2026-06-14 10:21:49 +01:00
translators 1baea6b0fb Update: Translations from eints
swedish: 4 changes by joeax910
norwegian (bokmal): 6 changes by eriksorngard
english (us): 1 change by 2TallTyler
esperanto: 1 change by slashdevslashurandom
2026-06-14 06:07:29 +00:00
Rubidium 0af287511f Codechange: make CanalFeature a scoped enum 2026-06-13 23:40:48 +02:00
Peter Nelson eb789ed3da Codechange: make PickerFilterMode(s) a scoped enum and EnumBitSet (#15714) 2026-06-13 21:40:10 +00:00
Peter Nelson d4f03f3c61 Codechange: remove increment/decrement operators for many enums 2026-06-13 21:54:42 +01:00
Peter Nelson c3b0d71973 Codechange: use EnumRange over many enum loops 2026-06-13 21:54:42 +01:00
Peter Nelson c991564e12 Codechange: add EnumRange iterator to handle enum values 2026-06-13 21:54:42 +01:00
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