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
Paul Chote
bc286b78bf
Add AnyBuildingAt method to BuildingInfluence.
2021-04-10 14:28:31 +02:00
teinarss
8b0a3ea680
Remove our own impl of ReadOnlyList and update usages
2021-04-03 11:33:31 +02:00
teinarss
e12ff2c59d
Remove our own ReadOnlyDictionary and update usages
2021-04-03 11:33:31 +02:00
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
Matthias Mailänder
bbbed49f82
Add a lint check for cursor definitions.
2021-03-20 17:37:16 +01:00
Matthias Mailänder
cefb2e7cc6
Remove unused trait lookup.
2021-03-20 17:37:16 +01:00
Paul Chote
5832ec76d4
Render integrated muzzle flashes as their own tint-ignoring animations.
2021-03-20 17:15:56 +01:00
Paul Chote
0e270bec56
Restrict Chronoshiftable trait to Mobile and Husk actors.
2021-03-20 17:04:42 +01:00
Paul Chote
fcc3008b00
Implement proper TS Tiberium and Vein logic.
2021-03-20 16:45:41 +01:00
Paul Chote
80e92849da
Replace ResourceType with strings in interfaces/public methods.
2021-03-20 16:45:41 +01:00
Paul Chote
dcd8eccee4
Replace ResourceLayer references with IResourceLayer in traits/warheads.
2021-03-20 16:45:41 +01:00
Paul Chote
1dc26a9b8e
Pass resource type and count to IAcceptResources instead of the value.
2021-03-20 16:45:41 +01:00
reaperrr
2473b8763b
Rename methods/activities with Visual in them
...
While they may be only 'visual' in terms of influence/cell grid,
they all do update CenterPosition, which is essentially the
actual world position of the actor.
'Visual' would imply that it only affects the position where the
actor is drawn, which is inaccurate.
Furthermore, using the term 'Visual' here would make
naming future methods/properties related to visual interpolation
unnecessarily complicated, because that's where we might
need a real 'Visual(Only)Position'.
2021-03-08 11:19:11 +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
f661d1ba48
Remove OLDLST campaign overrides.
2021-02-14 18:13:21 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
62433ecb8b
Prevent AttackPopupTurreted.TickIdle from running while disabled.
2021-01-30 13:16:58 +01:00
Paul Chote
82a9809192
Remove RenderSprites.Scale.
2021-01-21 18:22:11 +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
Paul Chote
71b13c7b5d
Disable AttackPopupTurreted state changes when paused.
2021-01-03 12:46:47 +01:00
Paul Chote
6e7ad9df25
Remove vestigial translation plumbing.
...
This was never completed to the level required to
be properly used ingame.
2020-12-25 16:18:28 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
Paul Chote
a8d3d5c79a
Fix Neutral crushing checks.
2020-12-08 20:17:11 +01:00
Paul Chote
7a7cd21578
Fix TD SAM Site facings being reset when damaged while closed.
2020-12-07 01:44:04 +01:00
tovl
84eb3c54ef
Expose targetline colors to yaml.
...
All targetlines can now be set to a custom color in yaml or set to be invisible.
All automated behaviours including scripted activities now have no visible target lines.
2020-11-14 12:04:19 +00: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
abcdefg30
a366e37014
Fix angles in the Descriptions of TDGunboat
2020-11-10 20:32:08 +01:00
teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
Pavel Penev
4135045ca4
Added valid TerrainTypes to the Minelayer trait
...
Also added a configurable deploy cursor and fixed Minelayer target cell validation checks, which should make for a much better experiencing when dragging over an area with blocking terrain, shroud, fog, etc.
2020-10-24 12:20:15 +02:00
Matthias Mailänder
14fc0254c6
Make all range circles fully configurable.
2020-10-18 15:08:17 +01:00
RoosterDragon
2adee1e374
Use HasMovementType to avoid Enum.HasFlag allocations.
2020-10-17 23:48:48 +02:00
Matthias Mailänder
0d64fa549b
Fix the command bar selecting dead units
...
and crashing while doing a trait lookup on them.
2020-10-14 19:58:24 +02:00
abcdefg30
0dac4520ad
Add a 'refundableValue' parameter to 'Produce'
2020-10-02 11:51:48 +02:00
Matthias Mailänder
0e39cc7829
Tooltip is a conditional trait.
...
Fix Analyzer warning: V3146 Possible null dereference.
2020-09-26 22:59:39 +01:00
Paul Chote
b72a58b917
Add missing ActorReferences to yaml dictionaries.
2020-09-15 09:27:50 +02:00
Paul Chote
7f7bce50dc
Add dictionary support for ActorReference.
2020-09-15 09:27:50 +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
Paul Chote
b8e60ca8ec
Fix SequenceReference definitions.
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
ef69a3de66
Use nameof() in PaletteReference.
2020-08-15 13:41:45 +02:00
abcdefg30
0aa5e07252
Send the 'minefieldStart' along with a 'PlaceMinefield' order
2020-08-15 11:34:00 +01:00