Paul Chote
803b930405
Change IFacing.TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
0eb0041f90
Allow ActorInits to target a specific trait by matching the @ suffix.
2020-06-08 19:18:38 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
Matthias Mailänder
1d2d8ed107
Don't hard-code the transparent background color.
2020-05-16 22:28:52 +01:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
Paul Chote
2c4e6c4188
Remove special-case rollover rendering.
2020-03-24 00:07:10 -05:00
Paul Chote
88cdad4189
Add support for polygon selection shapes.
2020-03-24 00:07:10 -05:00
Paul Chote
4ba50a4379
Remove IEquatable from ActorBoundsPair.
2020-03-24 00:07:10 -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
Paul Chote
73a78eadb1
Move Interactable and Selectable to Mods.Common.
2020-03-24 00:07:10 -05:00
reaperrr
6220d7e62e
Introduce WarheadArgs
...
- Passes additional arguments to warheads on impact
- Uses that to reduce parameter count of DoImpact by 1
2020-01-21 19:31:34 +01:00
tovl
695d9a6cb1
Centralize shroud changes in one pass to improve performance.
2020-01-12 04:50:25 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
04bad1ae66
Add MinRange support to AffectsShroud.
2019-12-23 13:53:08 +01:00
abcdefg30
4717e98c48
Add a subCell parameter to IPositionableInfo.CanEnterCell
2019-11-21 14:13:17 +01:00
Paul Chote
0e4cb53ada
Pass contextual information to TargetOverridesSelection.
2019-10-30 14:53:23 +01:00
Paul Chote
edaa7918fc
Add IRenderAnnotations(WhenSelected) interfaces.
2019-10-20 23:46:33 +02:00
abcdefg30
56726a0533
Add an ICreationActivity interface
2019-10-06 14:42:50 +01:00
teinarss
9bfc324c04
Mark cells that have changed MovementType as dirty
2019-10-05 14:37:54 +02:00
tovl
4a609bbee8
Allow units to give way when path is blocked by oncoming unit.
2019-09-15 17:51:34 +01:00
RoosterDragon
31918e8712
Add UnionRectangles extension method.
2019-09-14 22:09:40 +02:00
Paul Chote
2c24a607bc
Fix Target.Positions returning null for invalid FrozenActors.
2019-08-15 20:13:04 +02:00
teinarss
277906c657
Fixes on blocking logic
2019-08-10 17:34:11 +02:00
teinarss
27077d6427
Added CellUpdated event to ActorMap
2019-07-26 15:54:22 +02:00
tovl
c5558e2145
Remove SequenceActivities.
2019-07-20 23:41:31 +02:00
tovl
b9c302a73a
Move ChildActivity handling into base Activity class.
2019-07-03 20:42:19 +02:00
Ivaylo Draganov
c1fc0c1b74
Allow selection priority to be modified using a hotkey
2019-06-29 20:46:12 +02:00
Paul Chote
ebd36891dc
Switch other struct types to default(T).
2019-06-08 13:19:57 +02:00
Evgeniy S
3a30b013a5
Move Selection into a Trait
2019-05-31 15:50:53 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Paul Chote
62b5d22e53
Add INotify(Activity)StanceChanged interfaces.
2019-05-21 15:52:55 +02:00
Paul Chote
1f3b30c2d2
Implement game save/load backend.
2019-04-20 14:54:48 +02:00
Mustafa Alperen Seki
9fef2c01ec
Add AppearsOnMapPreview
...
Allows preplaced actors to be rendered on map preview when saving the
map.
Also removes requirements for ResourceLayer in OpenRA.Game and moves it
to OpenRA.Mods.Common.
2019-04-04 19:37:19 +02:00
Oliver Brakmann
b4fd7331b2
Simplify Activity class
...
After the removal of the CompositeActivity class, all the supporting
code that made it work can be removed as well.
2019-03-30 14:38:23 +00:00
tovl
8191a6566b
Add missing self and optional pretick parameters to Queue, QueueChild and PrintActivity methods.
...
This means sequenceActivities needs to accept self as well.
2019-03-09 21:47:43 +00:00
Paul Chote
3e404f6ac2
Remove HSLColor.
2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Andre Mohren
42446ac9ba
Implemented trait defined Rollovers.
2019-02-22 21:15:33 +00:00
Paul Chote
5995915281
Fix Positions returned by FrozenActor targets.
...
Also removes redundant Targetables check from actors.
2019-02-03 20:21:51 +01:00
Paul Chote
d6d1f3a06d
Fix FrozenUnderFog / FrozenActor visibility consistency.
...
This fixes cases where both objects return visible / not
when queried at the wrong time during a tick.
2019-01-27 15:21:13 +01:00
Paul Chote
62102b9f77
Add support for Terrain targets with multiple positions.
2019-01-26 22:53:46 +00:00
Paul Chote
fbb1947624
Make Target fields readonly.
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
reaperrr
54c2894b4e
Split off last bot modules
...
And dissolve AI namespace.
There would have been so little left in Common.AI,
that keeping it made no sense anymore.
2018-12-31 10:56:01 +00:00
Paul Chote
224377f078
Track visibility modifiers on FrozenActors.
2018-12-17 22:19:26 +01:00
Paul Chote
8eeb6d68e7
Tweak FrozenActorLayer queries:
...
- FrozenActorsInRegion now filters for valid and (optionally) visible FAs
- Add new FrozenActorsInCircle to mirror World.FindActorsInCircle.
The first change means that SupportPowerDecision now correctly ignores
FrozenActors that the AI has not discovered.
2018-12-17 22:19:26 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
reaperrr
67cba65800
Fix bot module plumbing
...
Fixes the issues pointed out after the original harvester module was merged.
Also merges the update rules as discussed on IRC.
2018-11-24 11:05:37 +00:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00