tovl
714b09ac4f
Add default for Activity-Tick
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
RoosterDragon
58dced7e05
Silence some doc errors in VS2019.
2019-06-21 21:22:12 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
ecd8dee575
Add TransformsInto* traits to trigger construction yard undeploy.
2019-06-08 02:09:30 +02:00
Paul Chote
62b5d22e53
Add INotify(Activity)StanceChanged interfaces.
2019-05-21 15:52:55 +02:00
reaperrr
da6bf1a57d
Make ActorTags display ChildActivities
2019-05-04 21:33:10 +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
Oliver Brakmann
44ca01d36c
Remove pretick argument from Activity.Queue()
...
Pre-ticking a next activity would break the assumption that activities
in a queue would be processed in sequence.
2019-03-24 15:53:13 +00:00
tovl
705795abde
Activity.Cancel returns void instead of bool.
2019-03-09 21:47:43 +00: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
tovl
69004f2b94
Prevent premature nulling of childactivities.
2019-03-09 21:47:43 +00:00
tovl
35dba74ded
remove unused CompositeActivity
2019-03-09 21:47:43 +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
9bcb754836
Add OnActorDispose plumbing to Activity
...
This allows activities to perform necessary cleanups on actor
death/disposal, for example by running OnLastRun directly,
which would otherwise be skipped when the actor dies or is disposed
through other means.
2018-09-24 22:01:22 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
dd709a2679
Revert "Have some activities count as idle activities"
...
This reverts commit ae111248f3 .
2017-08-10 12:22:28 +02:00
Oliver Brakmann
f9951f76ca
Allow cancelling an activity without aborting the entire queue
2017-04-30 19:07:50 +01:00
abcdefg30
ae111248f3
Have some activities count as idle activities
2017-03-24 18:06:10 +01:00
Oliver Brakmann
4105f9ed22
Add a debugging helper to print the activity tree
2017-01-22 20:39:43 +01:00
Oliver Brakmann
581640c4d4
Add a 'Canceled' activity state
2017-01-22 20:39:40 +01:00
Oliver Brakmann
660124156f
Add built-in support for child and composite activities
2017-01-22 20:39:17 +01:00
Oliver Brakmann
0dfbd46b1f
Let activities know when they are being run for the first or last time
2017-01-21 18:37:00 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Oliver Brakmann
2c66ee8c13
Add native support for uninterruptible activities
...
This pattern occurs a few times throughout the code, so it makes sense to bake it into the Activity class itself.
2016-10-31 18:46:27 +01:00
Oliver Brakmann
3e9bf7aa4d
Turn Actor.GetCurrentActivity into a property
2016-10-31 18:46:27 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
reaperrr
ee8e1f46c1
Move 'Activity' into its own namespace in OpenRA.Game.
2014-12-14 17:12:46 +01:00