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
Paul Chote
443c3ee72d
Disable sound on the shell maps.
2016-12-23 11:34:23 +00:00
Paul Chote
9ddfdc45b3
Introduce SoundType enum.
2016-12-23 11:34:23 +00:00
Paul Chote
024cc3db7e
Prepare condition attributes for new lint rule.
2016-12-23 11:29:24 +00:00
Oliver Brakmann
fd03031bd3
Merge pull request #12179 from abcdefg30/startCrash
...
Log an error when no cells are available to spawn starting units
2016-12-21 21:22:25 +01:00
Oliver Brakmann
05c2081143
Merge pull request #12458 from pchote/map-top-targetability
...
Reduce aircraft not being targetable at the north edge of the map.
2016-12-21 21:14:19 +01:00
abcdefg30
deb082c91e
Log an error when no cells are available to spawn starting units
2016-12-19 22:43:45 +01:00
Paul Chote
83564ecc60
Nudge aircraft back inside the map.
2016-12-16 11:24:17 +00:00
reaperrr
ddb22ec2bd
Merge pull request #12452 from GraionDilach/ai-vs-allowmultiple-sp
...
Fix AI superweapon usage.
2016-12-16 00:32:38 +01:00
Paul Chote
39c2b76c51
Convert DisableOnUpgrade to conditions.
2016-12-13 19:30:42 +00:00
Paul Chote
736d66d2c2
Convert GainsExperience to conditions.
2016-12-13 19:30:42 +00:00
Paul Chote
f4e0b91e04
Convert DeployToUpgrade to conditions.
2016-12-13 19:30:41 +00:00