Commit Graph

172 Commits

Author SHA1 Message Date
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
b2c3a55c12 Add IActorPreviewInitInfo interface. 2017-07-01 10:35:22 +01:00
Paul Chote
e8d6d63707 Add IIssueDeployOrder. 2017-06-06 08:53:54 -06:00
reaperrr
aa8d9f5dda Fix GrantConditionOnDeploy to support multiple sprite bodies 2017-05-14 00:22:26 -05:00
reaperrr
d92d9f86fc Add IBlocksProjectilesInfo interface 2017-05-13 11:15:38 -07:00
atlimit8
d433473249 Replace IConditionConsumer w/ variable observers for multiple variable expressions for traits. 2017-04-22 08:36:18 -05:00
atlimit8
65725efd04 Make ConditionExpression use counts. 2017-02-22 08:54:50 -06:00
Paul Chote
a8d46adb2d Rename tesla attack logic and move to Mods.Cnc. 2017-02-11 16:19:58 +00:00
Paul Chote
2bd5a392d1 Add plumbing for custom movement layers. 2017-01-29 18:58:33 +00:00
Zimmermann Gyula
1544f24663 Implement experience multipliers. 2017-01-15 20:33:26 +01:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
Paul Chote
bcb3d52eb0 Convert Parachutable to conditions. 2016-12-13 19:30:38 +00:00
reaperrr
d9d1fe2e73 Move VisibilityType enum to TraitsInterfaces
VisibilityTypes are used by several other traits as well, so it makes more sense to move it to a common, shared location.
2016-12-10 13:45:12 +01:00
Paul Chote
3f0b33992c Rewrite UpgradeManager implementation to suit conditions. 2016-11-20 13:55:47 +00:00
reaperrr
162fef3da1 Fix style nit 2016-11-05 18:54:41 +01:00
reaperrr
ad6ea52bff Make IPowerModifier require explicit implementation
Plus some 'collateral' explicit implementations on the affected traits.
2016-10-30 20:22:16 +01:00
reaperrr
2d0560dcb7 Make RangeModifier interfaces require explicit implementation 2016-10-30 20:22:16 +01:00
reaperrr
02f14f0761 Make IInaccuracyModifier require explicit implementation 2016-10-30 20:22:16 +01:00
reaperrr
80d9241bbe Make IReloadModifier require explicit implementation 2016-10-30 20:22:16 +01:00
reaperrr
fc2f006ec1 Make IFirepowerModifier require explicit implementation 2016-10-30 20:22:16 +01:00
reaperrr
4af7134115 Require explicit ISpeedModifier implementation
Plus misc "collateral" explicit interfaces.
2016-10-30 20:22:16 +01:00
reaperrr
97c2c24e8d Require explicit implementation of IDamageModifier 2016-10-30 20:22:16 +01:00
reaperrr
f8077dc113 Move combat modifier interfaces (damage, speed etc.) to mod code 2016-10-30 20:22:16 +01:00
reaperrr
9dfddaf5d9 Move IRenderInfantrySequenceModifier to mod code and require explicit...
implementation.
2016-10-30 20:22:16 +01:00
reaperrr
77a134da91 Move INotifyDamageStateChanged to mod code and require explicit implementation 2016-10-22 18:21:52 +02:00
reaperrr
a6b09342bc Make INotifyBuildComplete require explicit implementation 2016-10-22 18:21:52 +02:00
reaperrr
d9ecba7b60 Make INotifyInfiltrated require explicit implementation 2016-10-22 18:21:52 +02:00
reaperrr
72374279f0 Move interfaces that have no ties to the engine to mod code 2016-10-20 20:31:40 +02:00
reaperrr
0eb8def2b8 Move Cargo interfaces to TraitsInterfaces 2016-10-20 20:31:37 +02:00
reaperrr
22dcb1c66f Move INotifySold to Common and require explicit implementation 2016-10-20 19:02:28 +02:00
reaperrr
b8c04a0887 Move INotifyBlockingMove to Common and require explicit implementation 2016-10-20 18:58:40 +02:00
Oliver Brakmann
ab8c1403a8 Fix locking an airfield that is rearming aircraft while being sold 2016-09-18 13:48:17 +02:00
Paul Chote
1ae86f34f8 Overhaul Carryall behaviour, adding support for manual control. 2016-08-27 15:42:18 +01:00
reaperrr
3b43544e2d Add start delay functionality to attack animation traits 2016-07-02 16:02:00 +02:00
reaperrr
75c49620d1 Introduce INotifyAttack.PreparingAttack
And use it to allow triggering attack animations/overlays at a different point
than the actual weapon firing.
2016-07-02 16:02:00 +02:00
Paul Chote
eb5b50185c Add IActorPreviewInitModifier interface. 2016-06-15 20:36:25 +01:00
teees
524bc3d45f Added INotifyBurstComplete trait interface to notify when a full salvo has been fired 2016-06-04 22:33:28 +02:00
Oliver Brakmann
41388b9c63 Revert the previous InsufficientFundsWarning implementation 2016-04-11 19:06:18 +02:00
Bynnar18
a9ffe0a779 Paradrop Production 2016-03-30 02:46:19 +02:00
abcdefg30
be1080f7bd Add support for playing an InsufficientFunds warning 2016-02-23 22:16:51 +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
Paul Chote
1de1458fda Fix wall adjacency for multi-cell neighbours. 2016-01-25 09:14:00 +01:00
teees
7f2feb29cd Added IWallConnector trait interface 2016-01-25 09:14:00 +01:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Paul Chote
372bbaf7b6 Overhaul WithDecoration trait. 2015-12-26 12:38:26 +00:00
abcdefg30
72ac5240b8 Remove ISpriteBody 2015-12-20 18:44:55 +01:00
Michael Rätzel
51bb515a4d prevent allied units from autoattack building which is being captured. resolves #6170. 2015-11-11 14:32:38 +01:00
atlimit8
7352290c94 Move SpawnActorOnDeath to OpenRA.Mods.Common & fix spawned death actor teleportation 2015-11-05 00:55:29 -06:00
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00