abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
matjaeck
ba73842747
Allow GrantCondition to grant conditions permanently.
2019-11-08 16:37:13 +01:00
Paul Chote
5f8fa7a35a
Add UndeployOnPickup to GrantConditionOnDeploy.
2019-10-19 13:11:00 +02:00
Paul Chote
3860cd1b98
Add "Deployed" checkbox in the map editor actor properties.
2019-10-10 19:50:05 +02:00
matt barbier
97fe36af5a
Moved GrantExternalConditionToProduced into the Traits/Conditions folder
2019-09-13 22:04:35 +01:00
Paul Chote
6eaf615798
Fix conditional traits that incorrectly override INotifyCreated.
2019-07-14 00:41:59 +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
674155a8dd
Move ctor initializers to their own line.
2019-06-08 18:44:50 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
tovl
ea036d4cc0
Allow move orders to cancel DeployForGrantedCondition.
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
tovl
8e91a1ba89
Add order voice to GrantConditionOnDeploy.
2019-04-22 15:34:07 +02:00
abcdefg30
1bb319425b
Add Sound.Play overloads that play a random sound from a list
2019-04-20 01:22:30 +02:00
reaperrr
4c53599736
Adapt GrantConditionOnMovement to INotifyMoving
2019-03-30 16:24:47 +00: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
Mustafa Alperen Seki
ac7d2e00e3
Use .Trait<ConditionManager>(); on GrantConditionOnDamageState
2019-03-21 14:36:33 +01:00
Mustafa Alperen Seki
d54e4395e5
Add GrantConditionOnHealth
2019-03-21 14:36:33 +01:00
abcdefg30
0ab7e0a855
Add support for multiple (un)deploy sounds on GrantConditionOnDeploy
2019-03-11 21:31:39 +00:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26: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
abcdefg30
8689030f79
Add GrantConditionWhileAiming
2018-12-29 19:21:54 +01:00
Paul Chote
80842fd4b8
Add GrantConditionOnPlayerResources trait.
2018-11-22 22:16:56 +01:00
Andre Mohren
89051d40e8
Remove utf8 BOM.
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
ea3731a7cc
Pass the original init dict to UnitProducedByOther.
2018-11-03 17:30:05 +01:00
Andre Mohren
640078a2b1
Refactored Health usage to IHealth.
2018-09-29 18:12:40 +02:00
Mustafa Alperen Seki
b53c13dca4
Add GrantConditionOnProduction
2018-09-29 12:10:11 +01:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Paul Chote
0a507f3d33
Allow deploy orders to be queued from the command bar.
2018-09-10 19:42:24 +02:00
Chris Forbes
51e000599a
Convert crushclasses to bitset
2018-07-28 21:28:46 +01:00
Zimmermann Gyula
51a99cb43c
Special-case the player actor on GCOnBotOwner.
2018-07-28 17:59:34 +02:00
Mustafa Alperen Seki
5a780577b9
Add Desc() field to GrantConditionOnDeployInfo.
2018-07-28 16:32:37 +01:00
Zimmermann Gyula
f07460edd2
Convert GrantConditionOnDeploy to a pausableconditional trait.
...
Also remove CanUndeploy as pausing achieves the same effect.
2018-07-28 16:32:37 +01:00
Paul Chote
fd49e487ec
Fix MCV deploy erasing Iron Curtain history.
2018-07-22 13:45:37 +01:00
Paul Chote
1ac13de4b2
Remove byte order marks from C# files.
2018-07-01 11:08:32 +02:00
Michael Silber
b199f45f04
Account for custom terrain layers in GrantConditionOnTerrain.
2018-05-10 20:57:01 +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
Zimmermann Gyula
b5893d4c6d
Implement GrantExternalConditionToCrusher.
2018-04-08 19:04:05 +02:00
Pavel Penev
b620e8107f
Added GrantRandomCondition trait.
2018-03-08 18:15:54 +01:00
Mustafa Alperen Seki
491f808b75
Add GrantConditionOnFaction.
2018-02-06 21:09:38 +01:00
Paul Chote
2fccfdf1ee
Add support for disabling IIssueDeployOrders.
2018-01-28 18:06:30 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
5425a5a28e
Replace CanPowerDown with ToggleConditionOnOrder.
2017-12-27 20:18:27 +01:00
Mustafa Alperen Seki
f7de5d46be
Allow GrantConditionOnPrerequisite to work on Player:
2017-12-27 02:31:07 +01:00
reaperrr
01a88862b3
Remove IDisable for good
2017-12-17 21:18:44 +00:00
GSonderling
488cec64b8
Added support for filtering exits by production type.
2017-12-13 04:08:52 +01:00
reaperrr
786a0eb07f
Refactor PowerManager and RequiresPower to use conditions
...
Instead of Actor.IsDisabled.
Added INotifyPowerLevelChanged interface to do so as efficiently as possible.
2017-11-13 03:09:05 +02:00
Forcecore
4c78a05081
ADD GrantConditionOnAttack Trait
...
Useful for making Gattling weapons (Yuri's Revenge and C&C Generals) or
Boris (RA2) / Natasha (RA3) call for airstrike.
2017-11-04 17:18:24 +01:00
reaperrr
8533debc44
Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld
2017-10-07 10:17:11 +02:00