Commit Graph

539 Commits

Author SHA1 Message Date
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
Oliver Brakmann
ab8c1403a8 Fix locking an airfield that is rearming aircraft while being sold 2016-09-18 13:48:17 +02:00
Paul Chote
53f47f8ee1 Use explicit interfaces in WithBuildingPlaced(Overlay|Animation). 2016-09-04 15:25:50 +01:00
Paul Chote
a09b32b4f3 Disable WithBuildingPlacedAnimation while selling. 2016-09-04 15:25:49 +01:00
abcdefg30
8a8ab1563f Fix an inverted check in SupportPowerChargeBar 2016-09-02 19:41:22 +02:00
Oliver Brakmann
b3c4ecd7c5 Merge pull request #11881 from reaperrr/always-visible-bar
Allow keeping empty selection bars visible
2016-08-26 14:56:29 +02:00
reaperrr
39034b0de9 Allow keeping empty selection bars visible 2016-08-25 20:40:56 +02:00
Paul Chote
ed349f9086 Remove health bar rendering duplication. 2016-08-22 20:27:58 +01:00
Paul Chote
11805bb567 Rename and tweak post-render interfaces. 2016-08-22 17:40:05 +01:00
abcdefg30
e8084daad7 Cache the SupportPowerManager in SupportPowerChargeBar 2016-08-21 01:19:53 +02:00
abcdefg30
e9e49a5d02 Add a new DisplayStances field to SupportPowerChargeBarInfo
other
2016-08-21 01:19:52 +02:00
reaperrr
0ec9725c2a Merge pull request #11621 from Mailaender/text-controlgroup
Added With*ControlGroup
2016-08-18 21:25:32 +02:00
Paul Chote
a9bfa553fc Support multiple death animation variants. 2016-08-12 20:58:14 +01:00
Matthias Mailänder
fac58bd461 Replace pixel perfect offset with reference point definitions. 2016-08-12 21:54:51 +02:00
Matthias Mailänder
725a5d44eb Split SelectionDecorations control group rendering into
WithSpriteControlGroup and WithTextControlGroup
2016-08-12 21:53:16 +02:00
reaperrr
3e217c2192 Allow to customize which terrain types are considered water by WithCrateBody 2016-07-30 13:19:32 +02:00
Matthias Mailänder
5b61206ac6 Merge pull request #11513 from GraionDilach/idamage
Remove passing the warheads from DamageWarhead to AttackInfo.
2016-07-16 14:26:43 +02:00
Paul Chote
ac6b2a8f62 Support custom fully-open sequences for gates. 2016-07-13 22:22:07 +01:00
Zimmermann Gyula
cf8fff2b99 Remove passing the warheads from DamageWarhead to AttackInfo.
Added a Damage class to pass damage value and damage(types) instead.
This removes a great amount of overhead and longterm opens possibilities to have damagetypes without warheads.
2016-07-12 10:09:49 +02:00
Matthias Mailänder
c3de3a0a90 Merge pull request #11619 from pchote/fix-depot-sell
Fix service depot selling.
2016-07-09 21:17:06 +02:00
Paul Chote
b0c9d49d14 Fix INotifyRepair argument order. 2016-07-09 11:12:56 +01:00