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
Paul Chote
a06cfb4004
Move TerrainRenderer to a mod-defined trait.
2018-10-13 18:16:56 +02:00
Andre Mohren
450dc70375
Refactored cursors.yaml to use palettes from rules.
2018-10-07 19:28:11 +02:00
teinarss
e353c8c176
Changed SubCell to byte
2018-09-30 19:48:27 +01:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Chris Forbes
d4ef841678
Convert masses of HashSet<string> to BitSet<DamageType>
2018-07-28 20:12:42 +01:00
Paul Chote
ebf3ec0e90
Add some basic safeguards around RenderPlayer.set.
2018-05-31 18:54:07 +02:00
Paul Chote
ba8eac0e38
Remove deprecated Order.TargetActor and Target.FromOrder.
2018-05-30 18:06:59 +02:00
Mustafa Alperen Seki
367a7f617c
Added OwnerLostAction
...
Allows customisation of what will happen to an actor when its owner
loses.
2018-05-28 10:42:45 +01:00
reaperrr
45ee4ad4cf
Move IOccupySpace interface right above IPositionable in TraitsInterfaces
2018-05-07 19:40:07 +02:00
reaperrr
3c34330925
Skip check for ITemporaryBlocker entirely if rules don't contain any temporary blockers
...
This benefits all mods without temporary blockers like gates or energy walls.
2018-05-04 19:40:18 +02:00
reaperrr
a52e83ca49
Add Locomotor lint check
2018-05-03 10:49:21 +02:00
reaperrr
ccd070afd6
Make IRenderModifier require explicit implementation
2018-04-29 11:59:49 +01:00
reaperrr
06dbf71461
Make IStoreResources require explicit implementation
2018-04-29 11:59:49 +01:00
reaperrr
cc4c5a5492
Make IVoiced require explicit implementation
2018-04-29 11:59:49 +01:00
Paul Chote
da29250711
Move PlayerResources to Mods.Common.
2018-04-28 20:42:10 +02:00