Commit Graph

3250 Commits

Author SHA1 Message Date
reaperrr
7ba0c22346 Merge pull request #12096 from pchote/game-timer-tooltip
Show replay percentage as a tooltip.
2016-11-06 16:59:07 +01:00
reaperrr
162fef3da1 Fix style nit 2016-11-05 18:54:41 +01:00
reaperrr
03fd591a00 Remove some unused usings 2016-10-31 21:12: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
Paul Chote
6b29d70520 Merge pull request #12284 from reaperrr/interface-cleanups02
More explicit interface cleanups
2016-10-30 18:40:43 +00:00
reaperrr
3fca63e9a2 Make Armament implement interfaces explicitly 2016-10-30 19:17:45 +01: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
abcdefg30
89187d1557 Merge pull request #12309 from reaperrr/DelayedAction-riddance2
Get rid of DelayedAction in Beacons and PlaceBuilding
2016-10-30 18:05:46 +01:00
abcdefg30
2125799e3a Merge pull request #12308 from reaperrr/refactor-shroud-traits
Refactor Shroud and shroud-modifying traits
2016-10-30 17:55:59 +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
Paul Chote
c62870cc30 Merge pull request #12004 from reaperrr/projectile-cleanup2
More projectile property streamlining and cleanups
2016-10-29 14:21:29 +01:00
reaperrr
2d69f1104f Replace DelayedAction with Tick-based solution in PlaceBuilding 2016-10-26 20:54:51 +02:00
Oliver Brakmann
443d35f240 Merge pull request #11984 from reaperrr/upgradable-tooltip
Make Tooltip upgradable
2016-10-26 20:48:19 +02:00
reaperrr
101cc65876 Replace DelayedAction in Beacon effects with Tick-based solution 2016-10-26 20:17:24 +02:00
reaperrr
cafd50ef43 Make RevealsShroud and CreatesShroud use stances
Instead of hardcoded (!)IsAlliedWith checks.
2016-10-26 19:18:15 +02:00
reaperrr
6b5e7b8c12 Make AffectsShroud and derivatives upgradable 2016-10-25 16:09:55 +02:00
reaperrr
a7e64bd8d8 Make AffectsShroud use explicit interfaces 2016-10-25 16:09:53 +02:00
reaperrr
0aefd87485 Make Shroud object- instead of actor-based 2016-10-25 16:09:52 +02:00
reaperrr
efa6ad64f7 Remove now-redundant TooltipInfo check 2016-10-23 18:42:36 +02:00
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
00c0161513 Show internal name instead of crashing when buildable actor has no tooltip
But throw a lint error instead.
2016-10-23 14:59:22 +02:00
reaperrr
074bb78cbd Made Tooltip trait upgradable 2016-10-23 14:59:18 +02:00
Paul Chote
10b5d8a06b Show replay percentage as a tooltip. 2016-10-23 13:29:06 +01: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
reaperrr
146c07ac5c Merge pull request #12112 from abcdefg30/luaFlash
Add support for applying a target flash to actors through lua
2016-10-22 22:53:38 +02: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
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
reaperrr
d9ecba7b60 Make INotifyInfiltrated require explicit implementation 2016-10-22 18:21:52 +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
f6388c198d Sync less bullet aspects
`length` is calculated from `pos` and `target` which are both synced.
`SourceActor`, `ticks` and `smokeTicks` work no different from `Missile`, where they're not synced, either.
2016-10-22 18:00:38 +02:00
reaperrr
efd54f1c65 Add lint check for invalid projectile angles
Emits error if
- angle exceeds 255 or -255
- minimum launch angle exceeds maximum launch angle
2016-10-22 18:00:36 +02:00
reaperrr
20cd2aa4ab Rename Bullet Angle to LaunchAngle 2016-10-22 17:57:32 +02:00
reaperrr
8ba9afdb16 Cache Missile LaunchAngles in constructor
To have one central place for the info look-ups. Makes it a little easier to rename the properties or merge them into a single Angle[] property.
2016-10-22 17:57:32 +02:00
reaperrr
0b7fdc411b Cache Missile speed infos in constructor
The primary reason is to have one central location for the look-ups, so we'll only have to change up to 3 lines if we rename or merge the speed properties.
2016-10-22 17:57:32 +02:00