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
frosch and frosch
48d09af039
Codechange: Simplify weird range check.
2025-05-03 23:21:09 +02:00
frosch and GitHub
9ac9798d7f
Codechange: Remove usages of stoi and stol. ( #14196 )
2025-05-03 17:46:30 +02:00
Rubidium and rubidium42
1f39d469ff
Codechange: pass the characters to trim to StrTrimView
2025-05-03 15:57:53 +02:00
Rubidium and rubidium42
e2db8277b8
Codefix: implement StrTrimInPlace without assigning a borrowed view of itself
2025-05-03 15:57:53 +02:00
Rubidium and rubidium42
855377191e
Codechange: replace some more char*s with std::string_view
2025-04-30 23:49:06 +02:00
frosch and frosch
fda93b6f35
Codechange: Add format_append as short-hand to format_to + back_inserter.
2025-04-29 20:26:23 +02:00
frosch and frosch
3973199879
Change: ParseInteger now checks for trailing junk chars.
2025-04-29 20:14:56 +02:00
Rubidium and rubidium42
af25eecc15
Codechange: use const for std::string_view where appropriate
2025-04-29 10:15:18 +02:00
Rubidium and rubidium42
9107c3f6c6
Codechange: add std::string_view variant of FileHandle::Open
2025-04-28 21:31:12 +02:00
Rubidium and rubidium42
49ef3eee13
Codechange: replace char* with std::string_view
2025-04-27 20:08:02 +02:00
Rubidium and rubidium42
365eed533d
Codechange: use std::string_view for console commands
2025-04-26 14:15:10 +02:00
Rubidium and rubidium42
08ce16018b
Codechange: make start-ai console command parsing work with std::string_view
2025-04-25 19:04:22 +02:00
Rubidium and rubidium42
ccbf7f4a46
Codechange: validate the given seed
2025-04-25 19:04:22 +02:00
Rubidium and rubidium42
86039a5b69
Codechange: make SetDebugString use C++-style strings and function types
2025-04-25 19:04:22 +02:00
Rubidium and rubidium42
498a0f1c1b
Codechange: use C++ strings over C-strings
2025-04-25 19:04:22 +02:00
Rubidium and rubidium42
2087bca87d
Codechange: replace atoi with ParseInteger in console commands
2025-04-24 18:10:01 +02:00
Rubidium and rubidium42
ddc0d6ead3
Codechange: use string comparision for ConExec's second parameter
2025-04-24 18:10:01 +02:00