Commit Graph

1282 Commits

Author SHA1 Message Date
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
4886cca5d3 Remove System.Drawing references from mod code. 2019-03-04 18:26:42 +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
9c4231165b Remove Order.TargetLocation from beacons. 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
49621bebd0 Abort activities when we don't know how close to move to a target. 2019-02-09 19:20:10 +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
1f7b558b29 Rename Enter to LegacyEnter. 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
5ef7809002 Fix target invalidation and reacquisition in LeapAttack. 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
428155c093 Fix LeapAttack setting attack.IsAiming too early 2019-01-22 22:52:43 +00:00
Paul Chote
4d3db0d454 Fix invalid target crash if Leap target dies. 2019-01-05 23:59:25 +01:00
Paul Chote
ae38133c9f Use the CenterPosition as the starting position. 2019-01-05 19:54:38 +01:00
Paul Chote
0c7158efcd Calculate Leap state on first run instead of construct. 2019-01-05 19:54:38 +01: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
Paul Chote
66464a6164 Add cursor support to Infiltrates.
Also fixes targeting vs ally-owned actors.
2018-11-25 19:20:28 +01:00
Paul Chote
26363e5811 Remove references to buildings from infiltration Descs. 2018-11-25 19:20:28 +01:00
Paul Chote
7ddcc2e958 Remove the default notification from Infiltrates. 2018-11-25 19:20:28 +01:00
Andre Mohren
7323db1492 Unified copyright regions. 2018-11-17 17:23:22 +00:00
Andre Mohren
b1a44086a0 Removed unused using directives. 2018-11-17 17:23:22 +00:00
Paul Chote
4a4415c74b Remove unnecessary caching of ProductionAirdropInfo. 2018-11-03 17:30:05 +01:00
abcdefg30
394e33dcc2 Improve ClonesProducedUnits logic:
- Supports multiple Production trait instances
- Clones the correct faction variant, if defined
2018-11-03 17:30:05 +01:00
Paul Chote
ea3731a7cc Pass the original init dict to UnitProducedByOther. 2018-11-03 17:30:05 +01:00
Paul Chote
e77aaa1a47 Remove (INotify)BuildComplete from Attack* 2018-11-03 15:09:14 +01:00
Paul Chote
78a2d9aa23 Remove INotifyBuildComplete from ConyardChronoReturn. 2018-11-03 15:09:14 +01:00
reaperrr
8f1d8a67cc Remove RearmBuildings from Aircraft and Minelayer
In favor of using Rearmable trait.
2018-11-02 22:28:08 +00:00
Paul Chote
dee6d03626 Allow sprites to store custom metadata. 2018-10-28 20:55:40 +00:00
Paul Chote
14607f55c5 Replace INotifyBuildComplete in render traits with conditions. 2018-10-07 19:29:34 +02:00
Paul Chote
588a5d784f Add IMove.EstimatedMoveDuration. 2018-10-07 18:46:21 +02:00
reaperrr
dd3c600258 Fix WithLandingCraftAnimation compatibility with elevated terrain 2018-10-06 13:11:10 +01:00