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
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
c87409ed1a
Remove legacy bounds code.
2017-12-11 19:45:07 +01:00
Paul Chote
ff5b4b15b3
Introduce IDecorationBounds to replace Actor.SelectionOverlayBounds.
2017-12-11 19:45:07 +01:00
Paul Chote
6f5d035e79
Introduce IMouseBounds and split/rework mouse rectangles.
...
The render bounds for an actor now include the area covered
by bibs, shadows, and any other widgets. In many cases this
area is much larger than we really want to consider for
tooltips and mouse selection.
An optional Margin is added to Selectable to support cases
like infantry, where we want the mouse area of the actor
to be larger than the drawn selection box.
2017-12-11 19:45:07 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Matthias Mailänder
50e5e9df24
check voice actor references
2015-06-20 12:09:58 +02:00
reaperrr
f5771571c1
Fix Selectable style nits and description
...
Silence Travis
2015-06-19 12:26:19 +02:00
reaperrr
875d8bac06
Move debug target path rendering to SelectionDecorations
2015-06-17 20:14:00 +02:00
reaperrr
c23ee1be2e
Remove Selectable boolean from Selectable trait
...
Add work-around for ta/td bridge huts since they need actor Bounds to
be targetable by C4/engineer repair.
2015-06-17 20:13:59 +02:00
reaperrr
a3bd007ac7
Moved SelectionDecorations to Mods.Common
...
And added more settings.
Moved SelectionBoxRenderable to Mods.Common, too.
2015-06-17 20:13:52 +02:00
reaperrr
d6fb05ce68
Introduced VisualBounds on SelectionDecorations
...
To allow visual selection boxes to be independent from Selectable.Bounds.
2015-06-17 20:13:51 +02:00
Matija Hustić
e965a0d3f0
Touched up selection functionality.
2015-06-08 15:03:09 +01:00
reaperrr
0d05fdefbb
Extract actor voice set into Voiced trait
2015-05-22 01:51:51 +02:00
Taryn Hill
4ed53c5952
Simplify return statements.
...
Remove redundant ‘this’.
Remove unused using directives.
Simplify LINQ chains.
Add some trait property descriptions.
Add readonly where viable.
Add fullstops to some yaml descriptions.
2015-04-01 12:33:17 -05:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
Paul Chote
da6ecbf92e
Change IPostRenderSelection and IPlaceBuildingDecoration to return renderables.
2014-07-25 21:14:39 +12:00
Paul Chote
1beff77c6a
Split selectable rendering into *Renderables.
2014-07-25 21:14:39 +12:00
Curtis Shmyr
cc8284740c
Fixed team health colors and spy disguise interaction
2014-03-16 19:37:45 -06:00
Curtis Shmyr
d30f60809b
Added 2 settings for unit health bars: always show unit health, and team health bar colors
2013-11-24 12:12:52 -07:00
Paul Chote
84bb78060f
Don't zoom UI lines when pixel doubling.
2013-10-15 11:19:16 +13:00
Paul Chote
44dd801f16
Extract shared constants in Draw*Bar and DrawSelectionBox.
2013-10-15 10:45:51 +13:00
Paul Chote
483120ea20
Extract DrawTargetMarker to WorldRenderer.
2013-10-15 10:45:51 +13:00
Paul Chote
ad44610e5a
Replace dynamic Actor.Bounds with the (unchanging) relative rect.
2013-09-27 15:39:57 +12:00
Paul Chote
bc5c11e44f
Check ITargetable when deciding target validity. Fixes #3659 .
2013-08-22 19:29:05 +12:00
Paul Chote
01de84e9fc
Ensure valid targets in Selectable.
2013-07-08 23:40:21 +12:00
Paul Chote
7f25573cfa
Convert Selectable to world coords.
2013-07-08 21:52:26 +12:00
Paul Chote
e545865599
Add Selectable field to Selectable.
...
There are a bunch of bogus assumptions about
targetable actors being selectable. These aren't
easily fixed, so this add a Selectable field that
can be diabled for things we want to target, but
not select.
2013-04-15 08:06:52 +12:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
ce8267992a
remove self parameter from IPostRenderSelection.RenderAfterWorld
2011-10-23 12:23:15 +13:00
Chris Forbes
b9ac25e044
split sprite-based and line-based things in Selectable into two traits
2011-10-23 12:13:11 +13:00
Chris Forbes
4168e54715
tidy in Selectable
2011-10-23 11:50:53 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
6c129eed3c
Split pip artwork into their own files and kill the hardcoded size/offset junk. Add a blue pip to support C&C blue tib. Fixes #836 .
2011-07-25 22:23:20 +12:00
Paul Chote
926b396605
Fix bogus naming of Shaders/Renderers. Split LineRenderer into world and chrome variants.
2011-07-25 22:23:16 +12:00
Chris Forbes
5aaca5bb32
drop ISelectionColorModifier; unused
2011-07-19 21:14:12 +12:00
Chris Forbes
2259a0e7a5
remove duplication of DrawSelectionBox
2011-07-14 20:29:11 +12:00
Chris Forbes
ccc245ded4
reintroduce Cached<T>; use for Actor.Bounds, Actor.ExtendedBounds, which replace Actor.GetBounds(bool)
2011-05-22 20:38:48 +12:00
alzeih
0a67c68c45
GetTargetQueue -> GetTargets + Exts
2011-04-16 12:57:55 +12:00
alzeih
255bac6aff
QueuedActivity's Insert is broken
2011-04-16 12:50:13 +12:00
Paul Chote
61db3b3965
Kill HPFraction
2011-04-12 08:42:13 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Chris Forbes
606873a09e
fix warnings in Selectable.cs
2011-03-12 22:33:29 +13:00
Chris Forbes
298baac061
add rollovers for health/production
2011-03-05 13:19:13 +13:00