Andre Mohren
9b22f0e11a
Support attack animation for turrets via new WithTurretedAttackAnimation trait.
2017-04-17 15:34:45 +02:00
Paul Chote
a52ea71c62
Add AttackCharges trait for TD and TS obelisks.
2017-02-11 16:19:58 +00:00
Paul Chote
a8d46adb2d
Rename tesla attack logic and move to Mods.Cnc.
2017-02-11 16:19:58 +00:00
Paul Chote
ba9927d34e
Add Condition support to WithDeathAnimation / DeathSounds.
2017-01-29 18:57:36 +00:00
reaperrr
892825aeb9
Merge pull request #12599 from RoosterDragon/allocs
...
Reduce ongoing allocations
2017-01-27 17:52:30 +01:00
Zimmermann Gyula
8e9370054d
Add a disable option to LeavesTrails->StartDelay via negative values.
2017-01-26 11:01:35 +01:00
RoosterDragon
a6af65f380
Avoid allocations in SelectionDecorations when we have nothing to draw.
...
Return an empty enumerable immediately rather than allocating a compiler generated enumerable via 'yield'. We can defer allocating these until we actually need to draw them.
Also, cache the trait lookup.
2017-01-19 20:23:48 +00:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
268ed016ab
Rename UpgradableTrait to ConditionalTrait.
2016-12-23 23:28:34 +00:00
Paul Chote
d0270ab866
Rename comments and documentation.
2016-12-23 15:17:02 +00:00
Paul Chote
dcad5c3f7c
Rename UpgradeManager to ConditionManager.
2016-12-23 14:57:56 +00:00
Paul Chote
bcb3d52eb0
Convert Parachutable to conditions.
2016-12-13 19:30:38 +00:00
reaperrr
b7f746d711
Remove WithBuildingExplosion
...
Explodes can now do the same and then some, and WBE uses a DelayedAction
which blocks savegames.
2016-12-10 13:47:51 +01:00
Paul Chote
73a0f470c8
Implement TS bridge rendering.
2016-12-10 11:52:05 +00:00
Paul Chote
842e004ec5
Add a RenderSprites.UnnormalizeSequence helper.
2016-12-10 11:52:05 +00:00
Paul Chote
6f5c4cf969
Rename TimedUpgradeBar to TimedConditionBar.
2016-12-06 17:21:12 +00:00
Paul Chote
a692c1e761
Rework timed conditions.
2016-12-06 17:21:12 +00:00
Paul Chote
3f0b33992c
Rewrite UpgradeManager implementation to suit conditions.
2016-11-20 13:55:47 +00:00
Paul Chote
05187f5828
Remove legacy UpgradeTypes consumer code.
2016-11-20 13:38:41 +00:00
Paul Chote
23f4ae5027
Replace UpgradeMinEnabledLevel checks with an EnabledByDefault shim.
2016-11-19 17:19:25 +00: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
reaperrr
e8027a6fdf
Remove hardcoded buildComplete delay in some overlays
...
There certainly was and possibly still is some issue this was trying to
work around, but unless it's a deal-breaker, we should rather try to fix that
issue directly instead of keeping some uncommented magical work-around.
2016-11-02 22:01:45 +01:00
Oliver Brakmann
3e9bf7aa4d
Turn Actor.GetCurrentActivity into a property
2016-10-31 18:46:27 +01:00
Paul Chote
6b29d70520
Merge pull request #12284 from reaperrr/interface-cleanups02
...
More explicit interface cleanups
2016-10-30 18:40:43 +00:00
reaperrr
ce52bc9d7b
Some more misc explicit interface implementations
...
'Fallout' from working on other things.
2016-10-30 19:17:41 +01:00
reaperrr
61779bf02a
Make WithSpriteTurret ITick implementation explicit
2016-10-30 19:17:39 +01:00
Paul Chote
04dbda6dcd
Merge pull request #12274 from abcdefg30/bodyPreview
...
Fully support unhardcoded sequences in the voxel render traits
2016-10-29 14:53:47 +01:00
abcdefg30
1592769419
Merge pull request #12155 from reaperrr/fix-spritebarrel-preview
...
Fixes sprite barrels ignoring turret/actor orientation in previews
2016-10-22 20:02:30 +02:00
reaperrr
77a134da91
Move INotifyDamageStateChanged to mod code and require explicit implementation
2016-10-22 18:21:52 +02:00
reaperrr
7955aeb1c3
Implement INotifyDamageStateChanged explicitly in WithSpriteBody
2016-10-22 18:21:52 +02:00
reaperrr
a6b09342bc
Make INotifyBuildComplete require explicit implementation
2016-10-22 18:21:52 +02:00
abcdefg30
713b970f24
Fully support unhardcoded sequences in the voxel render traits
2016-10-21 08:59:15 +02:00
reaperrr
61284d73dd
Make interface implementations explicit where possible in traits that implement INotifySold
2016-10-20 19:02:30 +02:00
reaperrr
22dcb1c66f
Move INotifySold to Common and require explicit implementation
2016-10-20 19:02:28 +02:00
Paul Chote
eabd881ca3
Merge pull request #12129 from reaperrr/aircraft-ismoving
...
Change Aircraft.IsMoving to be true only when moving horizontally
2016-10-15 15:07:41 +01:00
abcdefg30
da591a9030
Merge pull request #11974 from abc013/SecondWeaponAnimation
...
Add support for multiple fire animations in WithInfantryBody
2016-10-15 12:49:41 +02:00
abc013
268dcd7d41
changed AttackSequence to DefaultAttackSequence
2016-10-14 14:53:02 +02:00
Paul Chote
4ed78e1ff6
Work around an initialisation order conflict.
2016-10-04 01:13:32 +01:00
reaperrr
9458818073
Fix sprite barrels ignoring turret/actor orientation in previews
...
Affects color picker, map editor and transport via TS carryall or TD landing craft.
2016-10-02 21:19:18 +02:00
Oliver Brakmann
0d54f2994f
Merge pull request #12086 from pchote/fake-spy-infiltration
...
Fix spy infiltration cursor giving away fake buildings.
2016-10-01 20:20:44 +02:00
abc013
ebb1c45786
Added an AttackSequences property to WithInfantryBody
2016-09-30 22:18:16 +02:00
Oliver Brakmann
65b919a7ae
Merge pull request #12062 from abc013/VoxelShadows
...
Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, …
2016-09-30 16:04:30 +02:00
Paul Chote
abf837a934
Add InfiltrateForDecoration trait.
2016-09-29 22:58:00 +01:00
reaperrr
4b8700bb97
Remove work-around for aircraft from WithMoveAnimation
2016-09-29 22:55:52 +02:00
reaperrr
d762e54e2a
Merge pull request #12070 from abcdefg30/chevrons
...
Render WithDecoration above shroud
2016-09-23 21:32:50 +02:00
abcdefg30
b21cf1fdb2
Render WithDecoration above shroud
2016-09-22 14:33:35 +02:00
Paul Chote
5e974b4959
Fix control group decoration position.
2016-09-21 14:39:44 +01:00
abc013
b9d1f373fe
Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, WithVoxelTurret, WithVoxelUnloadBody and WithVoxelWalkerBody
2016-09-20 13:34:05 +02:00
Paul Chote
095b093f39
Merge pull request #12046 from obrakmann/fix11996_spy-exodus-crash
...
Fix crashing when a spy's "real" owner gets changed
2016-09-20 09:15:20 +01:00
Oliver Brakmann
d099aa0d46
Fix crashing when a spy's "real" owner gets changed
2016-09-18 14:27:18 +02:00