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
8edd9de278
Replace ITintableRenderable with IModifyableRenderable.
2021-01-06 00:06:51 +01:00
RoosterDragon
8d3cec5bea
When a render method has nothing to render, eagerly return.
...
By eagerly returning an empty enumerable in these cases, this avoids allocating an enumerable for the whole render method if nothing will be drawn.
2020-10-17 23:48:48 +02:00
Oliver Brakmann
60a7f53491
Fix target lines appearing not long enough on screen
...
Also changes the Delay attribute from ticks to milliseconds.
2020-07-16 00:28:05 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
1dc84f48de
Migrate traits to IRenderAnnotations.
2019-10-20 23:46:33 +02:00
tovl
a8b9562d74
Adjust waypoint linewidths.
2019-08-10 21:17:38 +01:00
Paul Chote
d0faaf29ff
Restore selection lines for TargetLinesType.Automatic spectators.
2019-08-10 16:03:59 +02:00
Paul Chote
95ca14d4a3
Replace DrawTargetLine checkbox with an Automatic/Manual/Disabled dropdown.
2019-08-10 16:03:59 +02:00
Paul Chote
2909445452
Display target lines when the Waypoint command bar mode is active.
2019-08-10 16:03:59 +02:00
Paul Chote
1543ccb749
Reverse target line draw order.
2019-08-07 14:03:40 +02:00
Paul Chote
96263d47c5
Restore target line display for allied players and spectators.
...
Change behaviour to require the force-display modifier to reduce
visual noise.
2019-08-06 17:52:43 +02:00
tovl
58bb7fcbc0
Rework minefield visualisation.
2019-08-05 02:53:09 +01:00
Turupawn
3240b1e9eb
Overhaul target line rendering:
...
- Targets are now defined by the activities
- Queued activities are shown
- Support custom attack colors
2019-08-05 02:53:09 +01:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
c627a59b54
Fix self parameter name in DrawLineToTarget.
2019-01-26 22:53:46 +00:00
Paul Chote
7d85c1e81f
Remove FrameEndTask from DrawLineToTarget.
...
This is no longer needed and causes ordering
issues when the unit becomes idle in the same
tick that SetTargetLine is called.
2019-01-26 22:53:46 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Ivaylo Draganov
31f2441709
Draw target lines for allied players and observers
2018-11-04 06:34:43 +01:00
abcdefg30
d46e47d16d
Fix target lines still being visible after an owner change
2018-11-01 02:09:36 +01:00
reaperrr
3e73357619
Remove IsIdle check from DrawLineToTarget.OnBecomingIdle
...
OnBecomingIdle is triggered when IsIdle becomes true, so this check is bogus.
2018-10-15 22:53:57 +02:00
Paul Chote
768265bbd2
Unify TargetFlash handling around Targets.
2018-05-30 18:06:59 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
reaperrr
04fb0f209d
Spatially partition some actor overlays
2017-12-23 17:56:11 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
11805bb567
Rename and tweak post-render interfaces.
2016-08-22 17:40:05 +01:00
reaperrr
e7517e7bfa
Moved DrawLineToTarget from Game to Mods.Common
2016-05-26 11:38:39 +02:00