Rubidium and rubidium42
f0a1b507fe
Codechange: make ClientID a scoped enumeration
2026-06-26 06:26:52 +02:00
Peter Nelson and GitHub
495bc37dc3
Codechange: extract function to look up fontsize by name ( #15760 )
2026-06-21 12:50:44 +00:00
Peter Nelson and Peter Nelson
c3b0d71973
Codechange: use EnumRange over many enum loops
2026-06-13 21:54:42 +01:00
Rubidium and rubidium42
8bac7bd519
Codechange: make SwitchMode a scoped enum
2026-05-31 07:22:11 +02:00
Rubidium and rubidium42
2ff631caa2
Codechange: make GameMode a scoped enum
2026-05-30 23:20:20 +02:00
Peter Nelson and Peter Nelson
06b0b59c92
Codechange: use EnumIndexArray for ContentInfo::State-indexed arrays
2026-05-26 17:12:50 +01:00
Peter Nelson and Peter Nelson
fa1a5b998e
Codechange: use EnumIndexArray for ContentType-indexed arrays
2026-05-26 17:12:50 +01:00
Peter Nelson and GitHub
4519b5db69
Codechange: make ConsoleHookResult a scoped enum ( #15623 )
2026-05-25 07:19:59 +01:00
Rubidium and rubidium42
bcda4a72ee
Codechange: make WindowClass a scoped enum
2026-05-20 21:39:04 +02:00
Rubidium and rubidium42
c59d64c132
Codechange: separate TextColour enumeration and flags
2026-05-18 08:37:42 +02:00
Peter Nelson and GitHub
30fbc0aab8
Codechange: make SaveLoadResult a scoped enum ( #15584 )
2026-05-04 22:58:43 +01:00
Peter Nelson and Peter Nelson
77403627a8
Codechange: make VehicleType a scoped enum
2026-04-26 07:00:13 +01:00
Rubidium and rubidium42
3b5d46e0bb
Codechange: make Colours a scoped enum
2026-04-19 20:53:52 +02:00
Peter Nelson and 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 and 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
Rubidium and rubidium42
7434052eb6
Codechange: make FontSize a scoped enum
2026-04-12 18:10:34 +02:00
Peter Nelson and GitHub
f5061df387
Codechange: make ContentType a scoped enum ( #15458 )
2026-04-12 13:41:07 +01:00
Peter Nelson and Peter Nelson
5aae8e2d64
Codechange: make Subdirectory a scoped enum
2026-04-05 21:46:07 +01:00
Peter Nelson and Peter Nelson
93a6aa77c6
Codechange: make SaveLoadOperation a scoped enum
2026-04-05 21:46:07 +01:00
Peter Nelson and Peter Nelson
04f7adb7b7
Codechange: make DetailedFileType a scoped enum
2026-04-05 21:46:07 +01:00
Peter Nelson and Peter Nelson
74b0b080e7
Codechange: make AbstractFileType a scoped enum
2026-04-05 21:46:07 +01:00
Rubidium and rubidium42
ea5e87651f
Codechange: make NetworkAction a scoped enum
2026-04-04 16:08:51 +02:00
Rubidium and rubidium42
95fbc7abf5
Codechange: use scope enum and rename DestType to NetworkChatDestinationType
2026-04-03 21:40:24 +02:00
Rubidium and rubidium42
efed900b09
Codechange: make ConNetworkAuthorizedKeyAction a scoped enum
2026-03-02 16:20:19 +01:00
Cyprian Klimaszewski and rubidium42
2ac0811ff9
Codechange: Make documentation comments for some functions recognised by doxygen.
2026-02-21 15:05:13 +01:00
Peter Nelson and Peter Nelson
1c095ba464
Codechange: use enum class for CompanyAllowListCtrlAction
2026-02-16 20:08:05 +00:00
Peter Nelson and Peter Nelson
d09b91cd92
Codechange: use enum class for CompanyCtrlAction
2026-02-16 20:08:05 +00:00
Peter Nelson and Peter Nelson
a5d028e892
Codechange: use enum class for CompanyRemoveReason
2026-02-16 20:08:05 +00:00
Rubidium and rubidium42
5c28e41f6a
Codechange: doxygen-document console commands
2026-02-14 20:49:20 +01:00
Rubidium and rubidium42
4ba0208437
Codechange: document some script functions
2026-02-08 18:27:26 +01:00
Rubidium and rubidium42
03c24810b1
Codechange: use scoped enums for timer enumerations, rename one enum
2026-01-29 12:42:27 +01:00
Rubidium and rubidium42
4adf494ebc
Codechange: enum-class-ify Commands
2026-01-28 23:32:51 +01:00
Rubidium and rubidium42
f291e3c68e
Codechange: reduce required padding of some structs
2026-01-07 18:26:29 +01:00
Peter Nelson and Peter Nelson
b03347f00c
Revert: "Change: Support side-by-side fallback FontCaches instead of hierarchical. ( #13303 )"
...
This reverts commit 1829f7926d .
2025-12-13 09:09:21 +00:00
Peter Nelson and Peter Nelson
973514adc3
Revert: "Add: Automatically load fonts for missing glyphs. ( #14856 )"
...
This reverts commit c1d37d8699 .
2025-12-13 09:09:21 +00:00
Cyprian Klimaszewski and GitHub
99f04f27de
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-07 11:25:08 +00:00
Peter Nelson and GitHub
c1d37d8699
Add: Automatically load fonts for missing glyphs. ( #14856 )
2025-12-06 12:22:25 +00:00
Peter Nelson and GitHub
1829f7926d
Change: Support side-by-side fallback FontCaches instead of hierarchical. ( #13303 )
...
The text layouter system can now support using different fonts for different glyphs, including mixing scalable and sprite glyphs.
2025-12-06 10:47:12 +00:00
Muxy Du Goulp and rubidium42
05c40a6e55
Fix #14777 : authorized_key: Correctly target key type for add/remove
...
The logic in ConNetworkAuthorizedKey for the `authorized_key` command was inverted.
The check `if (StrEqualsIgnoreCase(type, name)) continue;` caused the action (add/remove) to be incorrectly executed on the first key type encountered that *did not* match the requested type, rather than the intended one. This resulted in keys specified for 'admin' being added to 'rcon', for example.
This commit inverts the condition to ensure the action is performed only when the requested type matches the iterated key name.
2025-11-15 22:08:58 +01:00
Peter Nelson and GitHub
8e055156e3
Codefix: Make sure safeguards.h is the last included non-table header. ( #14687 )
2025-10-11 10:22:50 +01:00
Peter Nelson and GitHub
97674ac2a2
Fix f6c5da4cad: dump_info should not reverse non-ASCII label. ( #14697 )
...
Cargo/rail/road types labels are already in appropriate endian-ness.
2025-10-03 22:28:28 +01:00
Peter Nelson and GitHub
e6323e6760
Fix: File/directory titles not updated if language is changed. ( #14542 )
2025-08-28 17:42:00 +01:00
Peter Nelson and Peter Nelson
140f2b291a
Codechange: Use ProviderManager interface to register FontCache factories.
...
This removes use of #ifdefs to select the appropriate loader, and also replaces FontCache self-registration.
2025-08-07 19:38:00 +01:00
Peter Nelson and GitHub
0dc40877fd
Codechange: Initialise/reset font cache with FontSizes bitset. ( #14448 )
...
Instead of choosing either "Normal/Small/Large" or "Monospace", use an EnumBitSet to allow any combination.
2025-07-18 18:23:28 +01:00
Adam Zmuda and GitHub
9238f508eb
Fix #14081 : Check if removed item is a savegame ( #14371 )
2025-06-18 10:05:18 +02:00
Peter Nelson and GitHub
77d6f6c69f
Codechange: Make ContentType::State an enum class. ( #14279 )
2025-05-19 17:11:28 +01:00
frosch and frosch
b20b6da937
Codechange: The compiler ensures static variables are initialised only once, no need to track that manually.
2025-05-06 18:29:41 +02:00
frosch and frosch
0d5b3ebd7f
Codechange: Declare all IntervalTimers const, which can be const.
2025-05-06 18:29:41 +02:00
frosch and frosch
61cec33be2
Codechange: Add 'const' to static variables, which are only initialised once.
2025-05-06 18:29:41 +02:00
frosch and frosch
8571af9833
Codechange: Turn ZoomLevel into enum class.
2025-05-03 23:21:09 +02:00