Paul Chote
4aee91cd47
Remove unnecessary trait lookups when cloaking/decloaking.
2017-10-06 10:09:12 +02:00
Paul Chote
64afe4cfde
Display (attack|assault)move-blocked cursor outside map bounds.
...
This makes them consistent with the regular move order.
2017-09-30 14:33:40 +02:00
Paul Chote
e93183f0eb
Clamp out of bounds attack-move orders to the edge of the map.
2017-09-30 14:33:40 +02:00
Paul Chote
d8f53a9ccd
Fix crash when selection contains destroyed actors.
2017-09-30 14:33:40 +02:00
reaperrr
9aaf800bca
Require explicit INotifyActorDisposing
2017-09-28 13:14:08 +02:00
reaperrr
5026dfe5d3
Require explicit INotifyCreated
2017-09-28 13:14:08 +02:00
reaperrr
6f790938d0
Require explicit IGameOver
2017-09-28 13:14:08 +02:00
reaperrr
2b391d5724
Require explicit ICreatePlayers
2017-09-28 13:14:08 +02:00
reaperrr
d7c2c6afc4
Require explicit INotifySelected and INotifySelection
2017-09-28 13:14:08 +02:00
reaperrr
a8e6cd2604
Require explicit IRenderOverlay
2017-09-28 13:14:08 +02:00
Jean-Rémy Buchs
2b96c2ed78
Add RequiresCondition to ProvidesPrerequisite
2017-09-24 14:56:47 +01:00
Matthias Mailänder
0018bf3063
Add start and stop repair overlay animation support.
2017-09-24 11:43:49 +01:00
Andre Mohren
800f6adc21
Made WithSpriteTurret.TurretOffset protected virtual to be overridden by mod traits.
2017-09-22 13:29:15 +02:00
Paul Chote
48a018d994
Fix cheats reenabling OneShot support powers.
2017-09-19 17:53:53 +02:00
Matthias Mailänder
3af0b1a7a0
Remove PlayerPaletteFromCurrentTileset.
2017-09-17 16:20:38 +02:00
Paul Chote
f4c2b36778
Fix height calculations in custom terrain layers.
2017-09-17 15:35:40 +02:00
reaperrr
32df83d3c4
A few more misc explicit interface changes
...
By-products of making ITick require explicit implementation.
2017-09-16 15:51:37 +02:00
reaperrr
28e1f391e0
Make ITick require explicit implementation
2017-09-16 15:51:37 +02:00
reaperrr
83afcc3448
Some misc explicit interfaces
...
Just a by-product from a previous commit, not meant to do anything specific other than bringing us a tiny step closer to requiring explicit implementations for these interfaces too, at some point.
2017-09-16 15:51:37 +02:00
reaperrr
761a4f29ab
Make INotifyIdle and INotifyBecomingIdle require explicit implementation
2017-09-16 15:51:37 +02:00
reaperrr
ddfed13db4
Make Tick and TickIdle explicit in WithInfantryBody
2017-09-16 15:51:37 +02:00
reaperrr
dbcfb0c92e
Rename and move WithTurretedSpriteBody
...
The name wasn't in line with our implicit naming convention and ambigous on top of that.
Also, only used by RA and TD so moved to Mods.Cnc.
2017-09-15 18:10:13 +01:00
reaperrr
c611b5aeeb
Remove 'ed' from WithTurretedAttackAnimation
...
Too confusing, as people might think it requires 'WithTurretedSpriteBody', also not entirely in line with our (admittedly implicit) render trait naming convention.
2017-09-15 18:10:13 +01:00
Mustafa Alperen Seki
c0b8bb3fcf
Add Generals Pilot Logic
2017-09-14 23:26:10 +02:00
gwenzek
7721d0b328
add a "capturing" condition for ExternalCapture
2017-09-14 23:19:28 +02:00
abcdefg30
ed598d2ab4
Make it possible to disable adjacency
2017-09-13 22:13:49 +02:00
abcdefg30
71f2026b32
Remove the hardcoded cloak reference from activities
2017-09-13 21:18:21 +02:00
Paul Chote
a81749e102
Add frontend code for issuing assault move orders.
2017-09-11 19:08:33 +02:00
Paul Chote
ffee45cd76
Add AttackMove support for AssaultMove orders and condition granting.
2017-09-11 19:08:33 +02:00
Paul Chote
0f6dda3f5f
Calculate building placement offsets in screen space.
2017-09-10 18:26:54 +02:00
Forcecore
1dfba51665
Removed dead WSB from Refinery trait
2017-09-09 11:15:31 +01:00
reaperrr
024887b268
Move Contrail to Traits
...
And make interface implementations explicit while we're at it.
2017-09-06 22:07:02 +01:00
Paul Chote
898ef8fe50
Add support for queuing Guard orders.
2017-09-03 12:54:09 +02:00
Paul Chote
f4f27f8980
Add support for queuing AttackMove orders.
2017-09-03 12:54:09 +02:00
Matthias Mailänder
855f1816f4
Tweak the time until hatch opening and rocket away.
2017-09-02 15:10:35 +02:00
Matthias Mailänder
4526344eed
Add WithNukeLaunchAnimation and -Overlay traits.
2017-09-02 15:10:35 +02:00
reaperrr
2f66f83051
Remove IsPlane hack
...
The new VTOL boolean together with CanHover is enough to replace this.
2017-08-31 18:03:59 +02:00
reaperrr
3b01da737c
Introduce Aircraft VTOL boolean
...
Rather than hard-linking vertical take-off/land to the CanHover = Helicopter assumption.
2017-08-31 18:03:59 +02:00
reaperrr
c9ff362ea2
Add TakeOffOnCreation and TakeOffOnResupply to Aircraft
...
Before this, it was impossible to replicate the behavior of the original games (staying on pad/airfield after reload) without hacking around in Mods.Common.
This allows modders to disable these without meddling with code.
2017-08-31 18:03:59 +02:00
abcdefg30
5cfb5aaf2d
Rework the addition and removal of building influence
2017-08-31 17:36:22 +02:00
reaperrr
d1a4133752
Fix WithShadow
...
It *modifies* the actor rendering, so returning an empty renderable was bogus, as were the IsInWorld/IsDead checks.
2017-08-31 16:54:03 +02:00
atlimit8
fd6b2c0107
Move timers from ConditionManager to ExternalCondition
2017-08-27 12:43:27 +01:00
atlimit8
c61cd37bec
ExternalCondition: List<struct TimedToken> timedTokens
2017-08-27 12:43:27 +01:00
atlimit8
62c76b8ae9
ExternalCondition: remove timedTokensBySource
2017-08-27 12:43:27 +01:00
atlimit8
f51323daa3
ExternalCondition: remove unneeded source references
2017-08-27 12:43:27 +01:00
atlimit8
c7d3c3ec73
Changes to ExternalCondition.TryRevokeCondition
2017-08-27 12:43:27 +01:00
Zimmermann Gyula
cb36dfa532
Implement instant refineries.
...
AKA RA2 refinery logic.
2017-08-25 22:19:03 +02:00
atlimit8
43880ea7b8
Make AppearsOnRadar trait conditional
2017-08-25 15:10:28 +02:00
atlimit8
8a825f2999
Add VariableExpression.NoVariables
2017-08-25 15:10:28 +02:00
reaperrr
120d7f9976
WithHarvestAnimation style fixes
...
Make interface implementations explicit.
2017-08-23 12:34:00 +02:00