Paul Chote
0e4cb53ada
Pass contextual information to TargetOverridesSelection.
2019-10-30 14:53:23 +01:00
abcdefg30
56726a0533
Add an ICreationActivity interface
2019-10-06 14:42:50 +01:00
tovl
4a609bbee8
Allow units to give way when path is blocked by oncoming unit.
2019-09-15 17:51:34 +01:00
Paul Chote
2b4ad71151
Remove unused OwnerLinkedProc field.
2019-08-25 17:20:38 +02:00
Paul Chote
815ea1e13b
Make LastSearchFailed local to FindAndDeliverResources.
2019-08-25 17:20:38 +02:00
Paul Chote
ab94ea9715
Discourage harvesters from wandering too far from the refinery.
2019-08-20 20:22:39 +02:00
abcdefg30
bfc3e1354b
Rename SearchFromOrderRadius to SearchFromHarvesterRadius
2019-08-11 16:40:55 +02: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
teinarss
2ddf9fa826
Using Locomotor instead of Info for pathfinding
2019-07-26 15:54:22 +02:00
tovl
d9e1a68453
Cancel carryall transport request when cancelling order.
2019-07-22 22:54:01 +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
ebe37a44ad
Require force move for all undeploy-triggering orders.
2019-06-08 02:09:30 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
Zimmermann Gyula
71acfaf014
Implement HarvesterResourceMultiplier.
2019-05-22 19:41:21 +02:00
tovl
2eaeb2097c
Refactor resource harvesting logic.
2019-04-22 16:39:47 +02:00
tovl
ea4f24d0b7
Rework harvester automation.
2019-04-04 19:22:25 +02:00
tovl
1d590ac207
Sanitize harvester search behavior.
2019-04-04 19:22:25 +02:00
tovl
8d8cade266
Remove no-op on harvester creation.
2019-04-04 19:22:25 +02:00
tovl
bc7516989e
Rework harvester unblock and idle behavior.
2019-04-04 19:22:25 +02:00
tovl
3bfa32ca33
harvester Harvest order works with queues
...
fix for autocarryable harvesters
Make use of QueueActivity's own handling of order.Queued
2019-04-04 19:22:25 +02:00
tovl
307a87cd9e
harvester Deliver order works with queues
2019-04-04 19:22:25 +02:00
Mustafa Alperen Seki
0b0b82bd43
Implement Harvester>BaleUnloadAmount
2019-03-09 12:19:02 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
Paul Chote
c7d9d9613e
Remove Order.TargetLocation from Harvester.
2019-03-04 18:08:42 +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
807a40c209
Remove IExplodeModifier interface.
2018-11-22 22:16:56 +01:00
Paul Chote
3be008f592
Add EmptyCondition to Harvester.
2018-11-22 22:16:56 +01:00
abcdefg30
db58b35856
Further untangle (and - hopefully - fix) the afterLandActivity mess
2018-11-02 22:24:56 +00:00
abcdefg30
7e20bdd7ea
Introduce a new CarryableHarvester trait
2018-11-02 22:24:56 +00:00
Zimmermann Gyula
9e3d210ee0
Change CRLF line-endings to LF in Harvester.cs.
2018-06-20 12:34:52 +02:00
Paul Chote
ae056e969f
Remove order.TargetActor from Harvester.
2018-05-30 18:06:59 +02:00
reaperrr
ff8f147955
Some Mobile and Harvester clean-ups
...
Made Harvester interface implementations explicit.
Made Mobile internal VisualMove activity private.
2018-05-07 19:40:07 +02:00
reaperrr
81343926b6
Split Locomotor trait from Mobile
...
Add GrantConditionOn*Layer traits
This allows to
- drop some booleans from Locomotor
- drop a good part of the subterranean- and jumpjet-specific code/hacks from Mobile
- grant more than 1 condition per layer type (via multiple traits)
- easily add more traits of this kind for other layers
2018-05-03 10:49:21 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Unknown
4be593123d
add me (jongleur1983) to AUTHORS
...
#14558 : MovingToRefinery takes actor instead of CPos
DeliveryOffset (previously added by the harvester) is now taken into account by the AutoCarryable
fix whitespaces
2017-12-25 03:52:44 +01:00
Peter Amrehn
73bd80ebc5
#14542 : order CarrryAll to the target's location, not to 0,0
...
(which is in order.TargetLocation
#14542 : don't use deprecated TargetActor property, replace by
Target.Actor.Location
2017-12-25 03:52:44 +01:00
reaperrr
9ad0d78cdd
Make the AI only consider harvesters 'idle' if last resource search failed
...
Otherwise the AI would consider the harvester 'idle' in too many situations.
This way, the AI now only uses its own resource search algorithm if the next resource patch is too far away for the FindResources activity to find it.
2017-12-11 01:55:18 +01:00
Paul Chote
d967c564a2
Remove TargetActor and TargetLocation from order issuing.
2017-10-15 19:07:46 +02:00
reaperrr
98b1468801
Clean up Harvester TickIdle a bit
...
Triggering UnblockRefinery each idle tick is bogus.
2017-08-17 22:58:37 +01:00
reaperrr
406f482a19
Cache INotifyHarvesterAction trait look-ups
2017-08-17 22:58:37 +01:00
reaperrr
bac8d3233a
Streamline Harvester.SetProcLines return check
2017-08-17 22:58:37 +01:00
Paul Chote
afd8b9ab86
Rework harvester resource claiming:
...
* Maintains lists of claims, and only restricts
reservations for friendly units.
* Removes OnNotifyResourceClaimLost; it's not
clear whether that is still useful, and it
prevents future necessary cleanups.
* Moves other code without changing behaviour.
This fixed stale claims from dead units and enemy
claims from preventing otherwise valid harvest
activities.
2017-07-18 01:09:19 +02:00
Paul Chote
875d215662
Unhardcode harvester queue behaviour parameters.
2017-01-29 17:20:28 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
reaperrr
f550c3b762
Merge pull request #12315 from obrakmann/activities-pt1
...
Activities re-write, part 1 (aka the boring bits)
2016-11-18 13:52:06 +01:00
Oliver Brakmann
3e9bf7aa4d
Turn Actor.GetCurrentActivity into a property
2016-10-31 18:46:27 +01:00
reaperrr
4af7134115
Require explicit ISpeedModifier implementation
...
Plus misc "collateral" explicit interfaces.
2016-10-30 20:22:16 +01:00
reaperrr
ce52bc9d7b
Some more misc explicit interface implementations
...
'Fallout' from working on other things.
2016-10-30 19:17:41 +01:00
reaperrr
a6b09342bc
Make INotifyBuildComplete require explicit implementation
2016-10-22 18:21:52 +02:00
reaperrr
b8c04a0887
Move INotifyBlockingMove to Common and require explicit implementation
2016-10-20 18:58:40 +02:00