Commit Graph

1658 Commits

Author SHA1 Message Date
Paul Chote
4f41b6e9ce Implement elevated bridge placeholders. 2017-01-29 18:58:34 +00:00
Paul Chote
5c77c0dc28 Implement jumpjets. 2017-01-29 18:58:34 +00:00
Paul Chote
572c1cb89f Implement subterranean units. 2017-01-29 18:58:33 +00:00
Paul Chote
41213ad2d1 Implement tunnels. 2017-01-29 18:58:33 +00:00
Paul Chote
2bd5a392d1 Add plumbing for custom movement layers. 2017-01-29 18:58:33 +00:00
Paul Chote
695a572dc3 Move ActorMap to mod code. 2017-01-29 18:57:36 +00:00
Paul Chote
ba9927d34e Add Condition support to WithDeathAnimation / DeathSounds. 2017-01-29 18:57:36 +00:00
Paul Chote
544e40ecab Fix CliffBackImpassibilityLayer trait name. 2017-01-29 18:57:35 +00:00
Matthias Mailänder
ab771f3171 Merge pull request #12645 from pchote/harvester-cost
Unhardcode harvester queue behaviour parameters.
2017-01-29 18:46:27 +01:00
Paul Chote
875d215662 Unhardcode harvester queue behaviour parameters. 2017-01-29 17:20:28 +00:00
abcdefg30
19549a9068 Fix null being passed through the INotifyAttack interface 2017-01-29 11:07:20 +01:00
reaperrr
892825aeb9 Merge pull request #12599 from RoosterDragon/allocs
Reduce ongoing allocations
2017-01-27 17:52:30 +01:00
abcdefg30
0f11926305 Merge pull request #12625 from pchote/fix-timed-conditions
Fix timed external conditions being rejected instead of reset.
2017-01-27 13:53:00 +01:00
Paul Chote
255214e77c Fix timed external conditions being rejected instead of reset. 2017-01-26 22:52:26 +00:00
abcdefg30
77663ba2d6 Merge pull request #12624 from pchote/fix-ref-sell
Only remove resources when a silo/refinery is killed.
2017-01-26 18:16:50 +01:00
Paul Chote
5377d70f92 Style fixes. 2017-01-26 17:27:13 +01:00
Zimmermann Gyula
8e9370054d Add a disable option to LeavesTrails->StartDelay via negative values. 2017-01-26 11:01:35 +01:00
Paul Chote
3b4f515e2a Only remove resources when a silo/refinery is killed. 2017-01-25 20:07:15 +00:00
RoosterDragon
6a0b993fa2 Remove attackBases member from AutoTarget.
We can use the activeAttackBases member everywhere.
2017-01-25 18:29:33 +00:00
Paul Chote
1f44e91746 Migrate ProvidesRadar to conditions and remove JamsRadar. 2017-01-21 17:24:54 +00:00
RoosterDragon
867ad0fb32 Merge pull request #12572 from GraionDilach/experience-modifiers
Implement experience multipliers.
2017-01-19 20:42:48 +00:00
RoosterDragon
2428b967bf Cache coloring delegate in AppearsOnRadar.RadarSignatureCells. 2017-01-19 20:23:53 +00:00
RoosterDragon
9c59d7e255 Avoid delegate allocation in AutoTarget.
Extract a common method for deciding if an attack should happen, and avoid LINQ inside this method.
2017-01-19 20:23:52 +00:00
RoosterDragon
d1cc546f8d Avoid delegate allocation in RotationPaletteEffect.
Use a loop to perform the same check instead.
2017-01-19 20:23:50 +00:00
RoosterDragon
2239d6c88e Cache activeAttackBases query in AutoTarget. 2017-01-19 20:23:49 +00: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
Zimmermann Gyula
4bce601db2 Implement reveal-on-fire. 2017-01-17 18:59:07 +01:00
Zimmermann Gyula
1544f24663 Implement experience multipliers. 2017-01-15 20:33:26 +01:00
reaperrr
8699d0fca3 Safeguard CashTrickler negative values
By making sure to never remove more cash than the player has.
2017-01-08 13:53:19 +01:00
reaperrr
7dcda5db30 CashTrickler style fixes and Period -> Interval rename 2017-01-08 13:53:17 +01:00
Zimmermann Gyula
bc1e2a7058 Revamp CashTrickler.
Added upgrade support.
Decoupled the capture bonus to a separate trait.
2017-01-08 13:53:16 +01:00
entropai
57e5bbb448 Stance modification for engineer repair 2017-01-02 19:36:00 +01:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
reaperrr
f6924d740e Add RevealGeneratedShroud toggle to NukePower
To give modders a choice.
2016-12-28 18:45:50 +01:00
reaperrr
ec5c3a710d NukePower description style fixes 2016-12-28 18:45:47 +01:00
reaperrr
079908d238 Make NukePower use RevealShroudEffect instead of camera actor
Additionally, remove the DelayedAction and let the beacon remove itself
instead.
2016-12-28 18:45:45 +01:00
reaperrr
aa53553cdf Add BeaconDelay to SupportPower 2016-12-27 17:13:54 +01:00
reaperrr
871576b300 Add delay and full duration support to beacons
Previously, support power beacons were hardcoded to unlimited duration and
then cleaned up directly by the support power. This is problematic if we
want the beacon to remove itself after a certain delay, though.
2016-12-27 17:13:53 +01:00
Paul Chote
2322d40395 Renamed Upgrades directory to Conditions. 2016-12-23 23:29:40 +00: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
152ae13cea Rename SelectUpgradeTarget. 2016-12-23 15:14:36 +00:00
Paul Chote
c8afbb16ba Rename prerequisite watcher key prefix. 2016-12-23 15:13:20 +00:00
Paul Chote
9e70c3f497 Rename GrantUpgradeOnValidDamageState. 2016-12-23 15:11:07 +00:00
Paul Chote
0cf60456a5 Remove upgrade shim code. 2016-12-23 15:09:08 +00:00
Paul Chote
15b465c1e2 Change DeployToUpgrade order to GrantConditionOnDeploy. 2016-12-23 15:07:35 +00:00
Paul Chote
cb9178364f Change upgradeAvailable to instancesEnabled in SupportPowerManager. 2016-12-23 15:06:22 +00:00
Paul Chote
f360c10569 Rename ConditionManager variables. 2016-12-23 15:02:52 +00:00
Paul Chote
dcad5c3f7c Rename UpgradeManager to ConditionManager. 2016-12-23 14:57:56 +00:00
Oliver Brakmann
f15a81282e Merge pull request #12477 from pchote/conditions-lint
Add a conditions lint rule + other rules fixes.
2016-12-23 14:27:22 +01:00