Commit Graph

1513 Commits

Author SHA1 Message Date
Paul Chote
4777161417 Merge pull request #11886 from reaperrr/UpgradeOnMovement
Add UpgradeOnMovement trait
2016-10-23 17:12:23 +01:00
abcdefg30
f53dc80d70 Merge pull request #12292 from pchote/fix-cargo-capture
Prevent mod-code from manpulating actor owners directly.
2016-10-23 18:06:51 +02:00
reaperrr
0fcc07cb7b Add UpgradeOnMovement trait
This provides upgrades when an actor is moving. To avoid 'hiccups' for ground units, air units are considered moving as soon as they are airborne.
2016-10-23 13:23:04 +02:00
Paul Chote
635fc9e1e2 Prevent mod code from changing Actor.Owner directly. 2016-10-23 12:21:03 +01:00
Paul Chote
8d688ab5f3 Use ChangeOwner on captured cargo. 2016-10-23 12:20:25 +01:00
abcdefg30
1a99e716de Merge pull request #12258 from reaperrr/move-icon
Move production icon sequence from Tooltip to Buildable
2016-10-22 21:10:32 +02:00
reaperrr
5b5b064981 Move production icon sequence from Tooltip to Buildable 2016-10-22 20:37:09 +02: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
0f02a6ba7c Merge pull request #12268 from reaperrr/interface-cleanups01
Several internal interface cleanups
2016-10-22 18:14:55 +02:00
reaperrr
1ffb151a38 Merge pull request #12162 from abcdefg30/heliHost
Fix HeliReturnToBase not exposing an host actor parameter
2016-10-22 15:58:06 +02:00
reaperrr
0eb8def2b8 Move Cargo interfaces to TraitsInterfaces 2016-10-20 20:31:37 +02:00
reaperrr
437e142031 Reservable style fixes 2016-10-20 20:31:35 +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
reaperrr
b8c04a0887 Move INotifyBlockingMove to Common and require explicit implementation 2016-10-20 18:58:40 +02:00
Tyson Liddell
aeb1e07823 Moved production description from Tooltip to Buildable 2016-10-16 12:03:42 +11: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
reaperrr
22a90c546f Merge pull request #12161 from abcdefg30/uncloakDamage
Fix UncloakOn: Damage only working when the damage state changes
2016-10-09 16:21:21 +02:00
Paul Chote
4ed78e1ff6 Work around an initialisation order conflict. 2016-10-04 01:13:32 +01:00
abcdefg30
55143ced87 Fix HeliReturnToBase not exposing an host actor parameter 2016-10-03 14:56:52 +02:00
abcdefg30
d57c476eaa Fix UncloakOn: Damage only working when the damage state changes 2016-10-03 14:35:38 +02: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
reaperrr
16d4ee0034 Move IsMovingVertically to IMove
- avoids an Aircraft trait look-up in #11886
- potentially useful for future additional locomotors (jumpjet), custom locomotors in external mods, possibly future updates to default ground locomotor (Mobile) with regard to behavior on slopes
2016-10-02 20:27:03 +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
9cf916e8b6 Change Aircraft.IsMoving to only return true when moving horizontally
Additionally added IsMovingVertically for potential edge cases where vertical movement needs to be considered.
2016-09-29 22:16:24 +02:00
reaperrr
6571f926fb Aircraft.ReserveSpawnBuilding style fixes 2016-09-29 21:21:34 +02:00
reaperrr
888d7c638f Move Aircraft.firstTick above constructor 2016-09-29 21:16:30 +02:00
reaperrr
678f9563f6 Merge pull request #12103 from pchote/resource-tooltip
Add tooltips to map resources.
2016-09-29 18:36:00 +02:00
Paul Chote
34b10dcb77 Hack around the Lua API. 2016-09-26 17:48:25 +01:00
Paul Chote
365bd5b9bd Rename ResourceType trait fields for consistency. 2016-09-25 17:04:18 +01:00
Paul Chote
3487d6bad5 Change aircraft default to move to rally point after resupplying. 2016-09-25 15:57:18 +01:00
Paul Chote
ea65ac542e Add AbortOnResupply property to cancel aircraft activities on resupply. 2016-09-25 15:57:17 +01:00
Paul Chote
6eafaeecf6 Remove unnecessarily queued ResupplyAircraft activity. 2016-09-25 15:57:17 +01:00
Paul Chote
eeaa461311 Avoid landing-dances when issuing mixed full/empty aircraft RTB orders. 2016-09-25 15:57:16 +01:00
reaperrr
0ffde88aad Merge pull request #12094 from pchote/work-around-smudge-desync
Use CosmeticRandom for picking smudge type.
2016-09-24 20:47:55 +02:00
reaperrr
8f2657ec75 Merge pull request #11982 from obrakmann/fix11979-helicopter-reservations
Fix helicopter reservations
2016-09-24 20:24:35 +02:00
Paul Chote
cd99e78501 Use CosmeticRandom for picking smudge type. 2016-09-24 14:00:36 +01:00
reaperrr
d762e54e2a Merge pull request #12070 from abcdefg30/chevrons
Render WithDecoration above shroud
2016-09-23 21:32:50 +02:00
RoosterDragon
1993ee25b8 Merge pull request #12085 from pchote/repair-range-check
Add a range check to Repair.
2016-09-23 18:56:24 +01:00
abcdefg30
b21cf1fdb2 Render WithDecoration above shroud 2016-09-22 14:33:35 +02:00
Paul Chote
323ed98a15 Add a range check to Repair. 2016-09-21 18:25:23 +01:00
Paul Chote
5e974b4959 Fix control group decoration position. 2016-09-21 14:39:44 +01:00
Oliver Brakmann
57ceda3025 Merge pull request #11926 from abc013/JamsRadarStances
Added diplomatic stances to JamsRadar
2016-09-20 19:24:57 +02:00
abc013
b9d1f373fe Added a flag ShowShadow in WithVoxelBarrel, WithVoxelBody, WithVoxelTurret, WithVoxelUnloadBody and WithVoxelWalkerBody 2016-09-20 13:34:05 +02:00