reaperrr
da8a353e65
Remove redundant code from ProductionAirdrop
...
With the updated Land code, this is now obsolete.
2019-07-05 00:03:36 +02:00
tovl
3790169db9
Make Tick return bool
2019-07-03 20:42:19 +02:00
tovl
b9c302a73a
Move ChildActivity handling into base Activity class.
2019-07-03 20:42:19 +02:00
tovl
adecd4ca87
Overhaul Land activity:
...
- Landing on an actor is no longer blocked by the underlying terrain
- Land in a nearby cell if the requested location is blocked
- Internally manages the fixed-wing landing sequence
- ProductionAirdrop transport waits until the exit is free before landing
2019-06-30 18:04:43 +02:00
Paul Chote
8f7426f579
Reduce duplication around AttackFollow's targets.
2019-06-29 23:28:23 +02:00
abcdefg30
7bbfd823d0
Fix Minelayer crashes
2019-06-27 20:22:10 +02:00
Paul Chote
674155a8dd
Move ctor initializers to their own line.
2019-06-08 18:44:50 +02:00
Paul Chote
dba1301b61
Change new BitSet<T> to default(BitSet<T>).
2019-06-08 13:19:57 +02:00
Paul Chote
3b2b093e0e
Use original RA and TD footprint artwork.
2019-05-31 15:44:09 +02:00
abcdefg30
1c965d812f
Fix WithSpriteBody crashes
2019-05-29 20:58:45 +01:00
Mustafa Alperen Seki
e007568e17
Make ClonesProducedUnits Conditional.
2019-05-25 23:19:41 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Mustafa Alperen Seki
3709380733
Implement ResourcePurifier
2019-05-22 19:41:21 +02:00
Paul Chote
3ca9d4b773
Drop targets when switching to a more restrictive stance.
2019-05-21 15:52:55 +02:00
reaperrr
0c2666b97e
Streamline Land activity
...
Removed some redundant parameters, some redundant overloads
and made Land always consider LandAltitude relative to target.
2019-05-17 18:51:21 +01:00
Paul Chote
76a8ae9f98
Set default values for BitSet<TargetableType>.
2019-05-09 20:40:08 +02:00
tovl
f16ff9eaa0
Base AttackAircraft on AttackFollow and get rid of SequenceActivities.
2019-05-04 23:40:16 +02:00
tovl
c633e07410
Make aircraft occupy cells when landed.
2019-04-22 02:56:57 +02:00
reaperrr
0eb0a5a2bd
Add WithHarvesterSpriteBody
...
And move PrefixByFullness there.
Also put it into Mods.Cnc, as RA is the only shipping mod
using this.
2019-04-14 19:09:28 +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
reaperrr
a10af382b4
Add plumbing for notifying traits of movement
...
More precisely, about start and stop of movement.
2019-03-30 16:24:47 +00:00
tovl
30de4df749
Replace SequenceActivities with ChildActivity in several activities.
2019-03-25 20:22:35 +00:00
tovl
da2e56e478
Make deploying mines queueable.
2019-03-14 00:23:47 +01:00
tovl
c096fbde96
make portable chrono queueable
...
give PortableChrono fallback movement
style fix
add chrono target line
require and cache IMove
2019-03-12 13:38:48 +01:00
tovl
a17cd0fa06
Replaced Canceled state with Canceling state.
2019-03-09 21:47:43 +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
Paul Chote
f70a452c56
Remove Order.TargetLocation from Minelayer.
2019-03-04 18:08:42 +00:00
Paul Chote
6dcd23e874
Remove Order.TargetLocation from support powers.
2019-03-04 18:08:42 +00:00
Paul Chote
f6ac32412d
Avoid resetting FrozenActor.Hidden when refreshing GPS.
2019-02-22 20:53:39 +01:00
Paul Chote
bf9d06cb12
Reuse GPSDotEffect for the lifetime of the actor.
2019-02-22 20:40:23 +01:00
Paul Chote
42068f380e
Remove ResolveFrozenActorOrder from MadTank.
2019-02-03 20:21:51 +01:00
Paul Chote
a17608a24e
Port Infiltrate to the new Enter activity.
2019-02-03 20:21:51 +01:00
Paul Chote
0bfc487999
Fix target invalidation and reacquisition in AttackFollow.
2019-01-26 22:53:46 +00:00
Paul Chote
2080c72ab9
Define plumbing to pass initial target positions to inner move activities.
2019-01-26 22:53:46 +00:00
Paul Chote
b2d960ec19
Pass target line color to inner move activities.
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
Paul Chote
0df159e73b
Cache world INotifySelection traits in Selection.
2019-01-26 21:40:31 +00:00
abcdefg30
0ff4e466ee
Refactor Leap attack logic
2018-12-29 19:21:54 +01:00
Chris Forbes
e292e88bff
Improve RenderShroudCircle configuration.
2018-12-24 01:57:11 +01:00
Paul Chote
224377f078
Track visibility modifiers on FrozenActors.
2018-12-17 22:19:26 +01:00
Paul Chote
3e490e5843
Cache FrozenActorLayer on the Player object.
...
This avoids unnecessary trait queries.
2018-12-17 22:19:26 +01:00
Paul Chote
4723e5ddb9
Expose common actor Inits in the map editor.
2018-12-08 22:53:13 +01:00
Paul Chote
f6768fe624
Remove legacy editor actor properties plumbing.
2018-12-08 22:53:13 +01:00
Paul Chote
07fc67f58d
Remove obsolete and unused PreventsTeleport method.
2018-12-08 22:34:44 +01:00
Paul Chote
38f341ac1d
Allow MadTank Detonate order to be queued.
2018-12-08 22:34:44 +01:00
Paul Chote
4b6853b433
Prevent multiple Transforms from triggering in the same tick.
...
This leads to actor duplication.
2018-12-08 11:34:49 +01:00
Paul Chote
8a95241fd5
Change mechanics to repair ally-owned husks.
...
Now uses the goldwrench cursor and keeps the
original owner.
2018-11-25 19:20:28 +01:00
Paul Chote
fac271245b
Add InfiltrateForTransform trait.
2018-11-25 19:20:28 +01:00