Gustas
0f5b78442b
Extract unit names and descriptions
2023-11-25 16:28:19 +01:00
RoosterDragon
e6914f707a
Introduce FirstOrDefault extensions method for Array.Find and List.Find.
...
This allows the LINQ spelling to be used, but benefits from the performance improvement of the specific methods for these classes that provide the same result.
2023-11-19 19:28:57 +02:00
RoosterDragon
acca837142
Fix RCS1246
2023-11-19 19:28:57 +02:00
RoosterDragon
330ca92045
Fix RCS1077
2023-11-19 19:28:57 +02:00
RoosterDragon
360f24f609
Fix IDE0055
...
This rule no longer appears to be buggy, so enforce it. Some of the automated fixes are adjusted in order to improve the result. #pragma directives have no option to control indentation, so remove them where possible.
2023-11-16 08:45:10 +02:00
RoosterDragon
b97d1a4c6c
Fix IDE0090
2023-11-15 19:13:17 +02:00
RoosterDragon
498c6e3d8b
Fix RCS1205
2023-11-10 10:38:41 +02:00
Paul Chote
fe6de396f2
Replace MenuPaletteEffect with a post-processing shader.
2023-10-22 19:34:05 +03:00
Gustas
d5c940ba4c
Close the ingame menu upon voting
2023-09-27 10:41:13 +03:00
Gustas
144e716cdf
Add vote kick
2023-09-27 10:41:13 +03:00
Gustas
085a4c421b
Add back to editor button
2023-09-09 13:46:35 +02:00
Gustas
4fc4fb2fb3
Add Play button to map editor
2023-09-09 13:46:35 +02:00
Gustas
0e5ed6a30c
Extract ExitMapEditor in IngameMenuLogic
2023-09-09 13:46:35 +02:00
dnqbob
19c8c36030
Replace Cash + Resources with GetCashAndResources()
2023-09-07 16:40:57 +03:00
RoosterDragon
93a97d5d6f
Fix CA1851, assume_method_enumerates_parameters = true
2023-08-20 20:41:27 +02:00
RoosterDragon
3275875ae5
Fix CA1851
2023-08-20 20:41:27 +02:00
Matthias Mailänder
c609c4af14
Extract text feedback messages.
2023-08-19 20:46:04 +03:00
Matthias Mailänder
1899eed839
Add localisation support to transient lines.
2023-08-19 20:46:04 +03:00
Gustas
3ab421cbe3
Allow queueing up scatter and move Nudge to an activity
2023-08-08 16:10:53 +02:00
RoosterDragon
285443f10f
Fix CA1310, CA1311
2023-08-07 21:38:09 +02:00
RoosterDragon
d83e579dfe
Fix CA1305
2023-08-07 21:38:09 +02:00
abcdefg30
49c837e7d0
Fix \r\n-style line endings not being properly handled for script errors
2023-06-26 19:36:47 +02:00
RoosterDragon
231bf01f18
Fix CA1854
2023-06-20 17:57:40 +02:00
RoosterDragon
0958197df2
Fix CA1052
2023-06-20 17:57:40 +02:00
RoosterDragon
f4af5c1764
Fix CA1852
2023-06-06 11:51:47 +03:00
Matthias Mailänder
445b736885
Replace sandbox wrapper scripts.
2023-05-20 13:19:48 +02:00
abcdefg30
d9d8c23c63
Enable the restart button when we encounter a script error
2023-05-19 17:02:06 +02:00
Matthias Mailänder
6e6bf1ca81
Translate labels with parameters.
2023-05-09 20:14:52 +03:00
Matthias Mailänder
65c0cf1065
Deprecate string format shorthand.
2023-05-05 19:03:09 +02:00
Matthias Mailänder
68eec52cef
Add TranslationProvider
2023-04-22 19:23:41 +02:00
RoosterDragon
1b1b9dc29b
Fix CA2215
2023-04-17 00:05:12 +02:00
RoosterDragon
a167f9680f
Fix SA1316
2023-04-08 16:51:51 +03:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
RoosterDragon
164abfdae1
Fix IDE0083
2023-04-08 16:51:51 +03:00
RoosterDragon
bd2b3d9793
Fix IDE0074
2023-04-08 16:51:51 +03:00
RoosterDragon
83561d639d
Update LangVersion to C# 9.
...
mono was the bottleneck restricting our ability to use a newer C# version. mono 6.12 is currently available. Although poorly documented on their website, this supports C# 9. https://www.mono-project.com/docs/about-mono/versioning/#mono-source-versioning indicates mono 6.12 uses Roslyn 3.9.0. https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md#versioning indicates Roslyn 3.9.0 supports C# 9.
This unlocks C# 8 and C# 9 features previously unavailable to us.
- https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-80
- https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history#c-version-9
A newer version of StyleCop is required to avoid rules tripping up on the new syntax. Currently only prerelease versions are available but their use is encouraged https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3420#issuecomment-994899135
Fix style rule violations on existing rules where the newer language version makes some existing casts redundant or allows use of the null coalescing assignment operator.
2023-04-05 15:27:41 +03:00
Gustas
bf00577d33
Allow kicking dead players
2023-03-27 20:15:17 +02:00
Gustas
c4bd9fb7aa
Add quit button to connection lost panel
2023-03-27 20:02:54 +02:00
RoosterDragon
bcfa0c9ae9
Review StyleCop rules.
...
- Enforce SA1604 ElementDocumentationShouldHaveSummary.
- Enforce SA1629 DocumentationTextShouldEndWithAPeriod.
- Turn off some rules covered by IDExxxx rules.
- Remaining rules are treated as part of OpenRA style.
2023-03-18 12:46:10 +02:00
RoosterDragon
52fd564eac
Fix some whitespace formatting issues: stray tabs or spaces.
...
Wrap some long lines on affected code.
2023-03-02 20:02:45 +02:00
RoosterDragon
8ee6957e6a
Fix IDE0048
2023-03-01 21:56:28 +02:00
RoosterDragon
555aac3f64
Fix IDE0042
2023-02-28 21:21:40 +02:00
RoosterDragon
d4135d608e
Fix IDE0039
2023-02-27 10:09:11 +01:00
Gustas
8d0fe52dd8
Remove unnecessary parentheses
2023-02-27 08:36:47 +02:00
Gustas
78677fd8ab
Fix replays continuing after desync
2023-02-18 15:53:17 +01:00
michaeldgg2
6f87c565ac
AddFactionSuffixLogic: add suffix to ProductionTabsWidget.Decorations
2023-01-27 12:30:38 +02:00
michaeldgg2
ca7e7c2304
ProductionTabsWidget: allow specifying different panels for left/right scroll button and tab buttons.
2023-01-27 12:30:38 +02:00
Matthias Mailänder
7cdc8c4ec5
Add a quick save button to the map editor.
2023-01-23 14:13:19 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Paul Chote
25935bbe99
Implement state prediction for debug menu checkboxes.
2022-12-23 16:33:21 +02:00