Paul Chote
b29b685058
Rename Fluent-related code to be more precise.
2024-10-04 15:11:27 +03:00
Gustas
29c4aebe19
Add missing descriptions to AirstrikePower and ParatroopersPower
2024-09-19 17:53:43 +02:00
RoosterDragon
34a68cd2ca
Avoid keeping ActorInitializers in memory.
...
The SupportPowerManager and WithSpriteBody trait captured the ActorInitializer in lambda expressions, which keeps it alive as long as the trait. The lambdas didn't need to capture the ActorInitializer, so rejig them to allow the ActorInitializer to be reclaimed after the traits have been created. As the TypeDictionary in the ActorInitializer can be quite large, this helps reduce memory usage.
2024-06-16 13:19:07 +03:00
Matthias Mailänder
69d9bbb400
Unhardcode support power blocked cursor.
2024-05-19 14:43:59 +03:00
Matthias Mailänder
fc4ebf332d
Deduplicate directional support powers.
2024-05-19 14:43:59 +03:00
Gustas
cf21c8e906
Fix support power name not really being optional
2024-04-10 23:52:43 +02:00
Matthias Mailänder
188f0e2451
Extract strings from support power name and description.
2024-04-03 11:38:08 +03:00
Gustas
6026d088c8
Use HashSets instead of .Distinct
...
And don't cast to array / list where unnecessary
2024-01-30 22:06:58 -06: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
c8efc5fdd7
Fix CA1854
2023-11-16 09:29:17 +02:00
abcdefg30
61c3c252ea
Remove an unnecessary variable assignment
...
The info is already set with the same name in the constructor
2023-10-30 23:37:52 +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
RoosterDragon
231bf01f18
Fix CA1854
2023-06-20 17:57:40 +02:00
RoosterDragon
f336a956cf
Fix CA1012
2023-06-20 17:57:40 +02:00
RoosterDragon
f4af5c1764
Fix CA1852
2023-06-06 11:51:47 +03:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
RoosterDragon
98c4eaca83
Fix IDE0032
2023-03-14 13:41:25 +02:00
Paul Chote
7cd4272350
Access sequences from Map.
2023-03-10 20:11:33 +02:00
RoosterDragon
939f715e3c
Fix IDE0053
2023-03-07 13:18:13 +02:00
RoosterDragon
d4135d608e
Fix IDE0039
2023-02-27 10:09:11 +01:00
RoosterDragon
4f6095c3d4
Fix IDE0054
2023-02-24 22:00:25 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
abcdefg30
e54b88a6cb
Remove dead code inside SupportPower.cs
2022-11-16 20:45:33 +02:00
Paul Chote
bbe068f6cb
Move IOrderGenerator to OpenRA.Orders namespace.
2022-06-12 11:57:38 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Eduardo Cáceres
7eb64ea6fc
Use read-only autoimplemented property when possible
2022-05-18 11:42:36 -05:00
Eduardo Cáceres
79f321cb44
.Any(), .Count() -> .Count or .Length
2022-05-18 11:42:36 -05:00
Ivaylo Draganov
24b9482cc1
Add support for transient text notifications matching speech notifications
2022-04-30 12:39:29 +01:00
Mustafa Alperen Seki
60b123c641
Split NukePower MissileImage from MissileWeapon.
2022-04-12 21:52:29 +02:00
Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Matthias Mailänder
4b4b0125a2
Make UnitsInRange accessible to mod code.
2022-01-30 11:56:43 +01:00
Matthias Mailänder
240c96b781
Expose sprite sequence to linting and documentation.
2022-01-30 11:56:43 +01:00
penev92
bf332b6619
Fixed fields missing the readonly modifier
2022-01-22 18:47:06 +00:00
Matthias Mailänder
ff20c1c59d
Avoid unnecessary variable assignment.
2021-12-06 13:19:28 +01:00
Matthias Mailänder
2c5f1f343f
Code style.
2021-12-06 13:19:28 +01:00
Matthias Mailänder
07815143f1
Fix CA1825 warnings on empty array initialisation.
2021-12-06 13:19:28 +01:00
Matthias Mailänder
b3d290edd9
Rename support power field for consistency.
2021-12-05 14:56:01 +01:00
Matthias Mailänder
c9022bcb73
Add support for superweapon detected sounds.
2021-12-05 13:02:15 +01:00
Matthias Mailänder
b7bba5d55a
Restrict sonar pulse to unshrouded water.
2021-08-11 22:46:19 +02:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Matthias Mailänder
6876fe45e1
Use nameof for additional robustness in trait documentation.
2021-05-22 23:22:31 +01:00
Matthias Mailänder
52a4b5acd7
Fix documentation about GeneratesShroud to CreatesShroud rename.
2021-05-22 23:22:31 +01:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
reaperrr
e3fd54e147
Replace * 25 in internal tick defaults with actual total
...
While the idea behind it is understandable,
this was inconsistent with the bulk of other defaults.
2021-04-19 20:03:08 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
Matthias Mailänder
bbbed49f82
Add a lint check for cursor definitions.
2021-03-20 17:37:16 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00