Matthias Mailänder
bbbed49f82
Add a lint check for cursor definitions.
2021-03-20 17:37:16 +01: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
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
abc013
672172d1f1
Add missing PlayNotification calls to SelectTarget.
2020-11-12 19:52:06 +00: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
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
abcdefg30
fb27a25e52
Fix a crash with support powers and units without selection decorations
2020-06-06 13:46:27 +01:00
Ivaylo Draganov
b8a9f41892
Add missing trait descriptions for cursors and unify the language
2020-05-31 00:12:04 +02:00
Matthias Mailänder
551ab2fc59
Cache the footprint LINQ for performance.
2020-05-12 20:53:05 -05:00
Zimmermann Gyula
57f9a49b66
Use footprints in ChronoshiftPower.
2020-05-12 20:53:05 -05:00
Paul Chote
ac200f6173
Rework decoration renderable traits:
...
- Removed implicit pip definitions and IPips interface.
New decoration traits have been added to render them.
Pip types are no longer hardcoded in OpenRA.Game.
- Decoration rendering is now managed by SelectionDecorations(Base),
which allows us to remove assumptions about the selection box
geometry from the decoration traits.
- RenderNameTag has been replaced by WithNameTagDecoration, which is
an otherwise normal decoration trait.
- Unify the configuration and reduce duplication between traits.
- Removed hardcoded references to specific selection box renderables.
- Remove legacy cruft.
2020-03-24 00:07:10 -05:00
Mustafa Alperen Seki
6ab0ace9e1
Add PlayLaunchSounds() to SupportPowers which are missing it.
2020-02-09 13:34:46 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
34f4c9bdaa
Prevent chronoshifting an empty selection
2019-11-02 11:29:28 +01:00
Paul Chote
1599eac66c
Rename SelectionBoxRenderable to SelectionBoxAnnotationRenderable.
2019-10-20 23:46:33 +02:00
Paul Chote
7d1ce0c83b
Add annotation support to IOrderGenerator.
2019-10-20 23:46:33 +02:00
Paul Chote
3b2b093e0e
Use original RA and TD footprint artwork.
2019-05-31 15:44:09 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
teinarss
1dd90a1d7b
Pushed down the MouseInput handling to the OrderGenerators and made a base class for handling the basic logic
2019-04-04 20:10:34 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
6dcd23e874
Remove Order.TargetLocation from support powers.
2019-03-04 18:08:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Paul Chote
6f864b055d
Remove IPreventsTeleport interface.
...
MadTank is changed to use conditions instead.
This has a side-benefit of disabling the move
cursor while deployed.
2018-08-15 21:17:27 +01:00
Paul Chote
e6d552eee7
Make Chronoshiftable conditional.
2018-08-15 21:17:27 +01:00
RoosterDragon
d2f2029caf
Add FirstNonEmptyBounds method for IDecorationBounds interface.
...
This provides a more efficient way of determining the bounds by avoiding LINQ. A helper that works directly on arrays prevents allocation of an enumerator when the collection is know to be an array.
2018-03-18 22:06:12 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
reaperrr
b70e4de5ee
Refactor support powers to use ticks instead of seconds for all delays - code changes
...
Also renamed ChargeTime to ChargeInterval.
2017-12-28 10:04:43 +00:00
Paul Chote
ff5b4b15b3
Introduce IDecorationBounds to replace Actor.SelectionOverlayBounds.
2017-12-11 19:45:07 +01:00
Andrii Yukhymchak
f4dbf55510
Chrono into map edge fix
2017-11-12 18:23:17 +00:00
Paul Chote
1376ad674e
Remove Player.CanViewActor and .CanTargetActor.
2017-11-03 09:56:00 +01:00
Paul Chote
d967c564a2
Remove TargetActor and TargetLocation from order issuing.
2017-10-15 19:07:46 +02:00
reaperrr
0c3a786d10
Merge Mods.RA into Mods.Cnc
2017-02-12 01:33:22 +01:00