teinarss
13581c030d
Use in parameter for Target
2020-11-06 22:02:24 +01:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
abcdefg30
4e548291ce
Treat transit-only tiles as invalid locations for minelayers
2020-04-18 13:35:06 +01:00
Paul Chote
f0a243ca10
Fix mine layer desync.
...
World.FogObscures depends on the local RenderPlayer and should not
be used from simulation code!
2020-04-12 23:06:55 +02:00
Paul Chote
d35b5070fb
Fix minelayers leaking enemy mine positions through the fog.
2020-03-28 18:49:07 +01:00
tovl
c18857f15d
Let immovable actors block individual minefield cells.
2020-02-06 22:26:15 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
1e138a9774
Drop invisible invalid targets immediately when changing stance
2019-12-14 17:17:36 +01:00
tovl
3236499fb7
Increase IMove.MoveTo call flexibility.
2019-12-13 23:51:03 +01:00
reaperrr
ee00954f2e
Replace AmmoPool lookup methods with properties
...
And gave the more suitable names while at it.
This is more in line with how we do things in
other places.
2019-11-20 15:45:41 +01:00
Paul Chote
7e4da8ea2c
Don't reload after finishing a field.
2019-08-20 19:51:12 +02:00
Paul Chote
7311ae889f
Clear placed mines queued fields too.
2019-08-20 19:51:12 +02:00
Paul Chote
9aec48aec3
Lay mines in order from start to end.
2019-08-20 19:51:12 +02:00
Hedog
2a6f2bbe0e
Update movement inside leap to show attack animation
2019-08-17 12:42:06 +02:00
tovl
58bb7fcbc0
Rework minefield visualisation.
2019-08-05 02:53:09 +01:00
tovl
b7a7b7aa7e
Revise target line colours to distinguish different attack types.
2019-08-05 02:53:09 +01:00
Turupawn
3240b1e9eb
Overhaul target line rendering:
...
- Targets are now defined by the activities
- Queued activities are shown
- Support custom attack colors
2019-08-05 02:53:09 +01: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
Paul Chote
ebf2ce32c0
Make sure braces for multi-line statements are on their own lines.
2019-06-08 19:26:53 +02:00
Paul Chote
3ca9d4b773
Drop targets when switching to a more restrictive stance.
2019-05-21 15:52:55 +02:00
reaperrr
ba4b5738d7
Merge Rearm and Repair into Resupply activity
...
Allows parallel rearming and repairing.
2019-04-29 01:40:52 +01: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
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
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00: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
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
5ef7809002
Fix target invalidation and reacquisition in LeapAttack.
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
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
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
reaperrr
8f1d8a67cc
Remove RearmBuildings from Aircraft and Minelayer
...
In favor of using Rearmable trait.
2018-11-02 22:28:08 +00:00
reaperrr
8144fca5be
Merge repair and rearm anim traits into WithResupplyAnimation
...
This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types.
The new trait will simply play a looping animation as long as the actor is resupplying in any form.
2018-09-27 16:38:08 +02:00
Paul Chote
4375dc2fc1
Kill chronoshifted actors if the return-to-origin fails.
2018-08-15 21:17:27 +01:00
Paul Chote
6f864b055d
Remove IPreventsTeleport interface.
...
MadTank is changed to use conditions instead.
This has a side-benefit of disabling the move
cursor while deployed.
2018-08-15 21:17:27 +01:00
Chris Forbes
d4ef841678
Convert masses of HashSet<string> to BitSet<DamageType>
2018-07-28 20:12:42 +01:00
Mustafa Alperen Seki
5e7e3bb011
Add DamageTypes to Kill() and make some traits use it.
2018-03-09 00:25:29 +01:00