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
Paul Chote
0975102e92
Add Alpha support to sequences.
...
Alpha can specify a single value for the sequence
or values for each frame in the sequence.
AlphaFade: True can be specified to linearly fade
to transparent over the length of the animation.
2021-02-24 19:20:48 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
e990a83b7a
Cancel support power targeting if power cannot be activated.
2021-01-10 22:42:32 +01:00
Paul Chote
8edd9de278
Replace ITintableRenderable with IModifyableRenderable.
2021-01-06 00:06:51 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
abcdefg30
eda9966d27
Rename Stance to PlayerRelationship
2020-11-14 11:04:41 +00:00
abc013
672172d1f1
Add missing PlayNotification calls to SelectTarget.
2020-11-12 19:52:06 +00:00
Matthias Mailänder
b32346d65f
Add a range marker to the nuke targeter.
2020-11-02 10:13:29 +00:00
abcdefg30
0dac4520ad
Add a 'refundableValue' parameter to 'Produce'
2020-10-02 11:51:48 +02:00
Paul Chote
cd9bf53e1a
Use nameof() to reference image fields.
2020-09-12 17:52:46 +02:00
Paul Chote
7803686aec
Rewrite sequence linting / missing file handling.
...
- Distinguish between missing sequences and missing sprites
- Lint default sequences as well as maps
- Improved performance
- Correctly handle null images
2020-09-12 17:52:46 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
ad75e2be89
Remove redundant check from SupportPowerInstance.
2020-08-16 14:17:45 +02:00
Paul Chote
ef69a3de66
Use nameof() in PaletteReference.
2020-08-15 13:41:45 +02:00
abcdefg30
07d58337f1
Let order generators account for selection changes
2020-08-15 11:34:00 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
Pavel Penev
8c394a4cb5
Created FlashPaletteEffectWarhead and removed the hardcoded flashing from NukeLaunch
...
Not actually hardcoded, but there was a hard dependency in NukeLaunch on FlashPaletteEffect and explicit flashing checks.
2020-07-10 13:22:54 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
abcdefg30
87e33a75c6
Fix a crash when calling an airstrike at the map edge
2020-07-06 22:30:41 +02:00
Paul Chote
b856613194
Add ISingleInstanceInit interface.
...
Inits that are logically singletons (e.g. actor
location or owner) should implement this interface
to avoid runtime inconsistencies.
Duplicate instances are rejected at init-time,
allowing simpler queries when they are used.
2020-06-19 17:57:56 +02:00
Paul Chote
27602a4a97
Add WAngle-compatible airstrike/paratrooper APIs.
2020-06-19 17:28:01 +02:00
abcdefg30
9a3447d863
Fix airstrike and paratroopers power not removing cameras at the map edge
2020-06-19 16:04:54 +02:00
abcdefg30
fb27a25e52
Fix a crash with support powers and units without selection decorations
2020-06-06 13:46:27 +01:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
Matthias Mailänder
551ab2fc59
Cache the footprint LINQ for performance.
2020-05-12 20:53:05 -05:00
Zimmermann Gyula
54bd0eb99d
Use footprints in GrantExternalConditionPower.
2020-05-12 20:53:05 -05:00
Zimmermann Gyula
485faac294
Implement SupportPower.CellsMatching.
2020-05-12 20:53:05 -05:00
Matthias Mailänder
38cdc93010
Default the optional effect sequence to null
2020-05-01 19:43:36 +03:00
Matthias Mailänder
52d0490f95
Supersede INotifyNuke
2020-04-30 01:37:05 -05:00
Matthias Mailänder
b3b0aa75ae
Add new interfaces for support powers.
2020-04-30 01:37:05 -05:00