RoosterDragon
108f2e9b6e
Tweak some AI methods to avoid allocations.
2015-09-26 21:12:07 +01:00
RoosterDragon
d70eea5adc
Refactor occupied cells visibility checks.
...
Provide some common extension methods to reduce code duplication, and also use loops instead of LINQ to reduce allocations and provide a minor speedup.
2015-09-26 21:12:05 +01:00
atlimit8
49d351bf22
Merge pull request #9417 from clemty/topleft
...
Reduce use of Map.Topleft and Map.Bottomright
2015-09-26 14:36:22 -05:00
atlimit8
5e4e085a85
Merge pull request #9445 from RoosterDragon/activity-early-bail
...
Provide an early exit in RunActivity when there is no activity
2015-09-26 14:02:14 -05:00
RoosterDragon
e016227ddf
Merge pull request #9327 from Mailaender/bridge-render-sizes
...
Fixed bridge rendering glitches
2015-09-26 19:54:43 +01:00
Oliver Brakmann
d667271ab7
Merge pull request #9262 from RoosterDragon/frozen-unify-dict
...
Speed up FrozenUnderFog.Tick
2015-09-26 20:45:58 +02:00
reaperrr
4c41f8f656
Lint check for SpreadDamageWarhead victim scan radius bonus
2015-09-26 17:46:28 +02:00
reaperrr
33dc50d29c
Fix Bullet to consider DistanceAboveTerrain
2015-09-26 17:46:27 +02:00
abcdefg30
512faddb3e
Hide the OwnerRow of the "Oil Pump"s tooltip in campaign missions
2015-09-26 17:45:02 +02:00
RoosterDragon
285a3eab2e
Merge pull request #8760 from atlimit8/RangeMultiplier
...
Added [I]RangeMultiplier & made UpgradeMultiplierTraitInfo implement ITraitInfo
2015-09-26 16:24:17 +01:00
abcdefg30
fb97dd9481
Merge pull request #9407 from reaperrr/d2k-nsfremen
...
Added no stealth map creep fremen to d2k
2015-09-26 17:04:14 +02:00
reaperrr
5ad9eb852c
Fix massive AI base builder performance issue
...
Previously, the Refinery placement check would first collect all cells
with resources inside the MaxBaseRadius, then perform a full findPos check
for each cell until one of them would not return null. The problem was
that if all of the cells returned null (for example if there wasn't enough
space between base center and resource, or if all suitable space was
otherwise occupied), it would basically check all tiles with resources
only to fail finding a suitable position and fall back to the normal
findPos check.
Since nearbyResources already performs a shuffle, I simply made the check
use the first cell from the list and use the basic findPos fallback if
that cell is null.
Closes #4717 .
2015-09-26 16:48:03 +02:00
RoosterDragon
faaf1ea1e1
Provide an early exit in RunActivity when there is no activity.
2015-09-26 15:32:26 +01:00
reaperrr
e913fbcb3f
Enable no-stealth fremen in map importer
2015-09-26 15:17:19 +02:00
reaperrr
73a07a5e19
Add no stealth map creep fremen to d2k
2015-09-26 15:17:18 +02:00
Matthias Mailänder
64dbaf8e76
Merge pull request #9444 from atlimit8/ModChooserMetricsExtraLine
...
Remove overridden ButtonBaseLine line in mods/modchooser/metrics.yaml
2015-09-26 14:54:23 +02:00
Matthias Mailänder
3e0330ab8b
fix a crash when cloaking trains
2015-09-26 14:48:59 +02:00
atlimit8
361501c40c
Remove overridden ButtonBaseLine line in mods/modchooser/metrics.yaml
2015-09-26 07:31:54 -05:00
Matthias Mailänder
9088a58756
Merge pull request #9408 from reaperrr/d2k-debris
...
Added original D2k debris
2015-09-26 13:56:51 +02:00
Matthias Mailänder
76b53ce9d7
Merge pull request #9288 from RoosterDragon/action-queue-order
...
Fix ActionQueue ordering
2015-09-26 13:42:56 +02:00
Matthias Mailänder
3884a31550
Merge pull request #9313 from RoosterDragon/actor-eager
...
Eagerly cache traits in Actor
2015-09-26 13:18:05 +02:00
Matthias Mailänder
83a17710a1
Merge pull request #9418 from reaperrr/d2k-speed
...
Apply original D2k actor speed
2015-09-26 13:07:49 +02:00
Matthias Mailänder
7063a4a8bb
use the supplied MOUSE.R8
2015-09-26 12:42:39 +02:00
Paul Chote
9aa5828155
Merge pull request #9307 from obrakmann/fix6174_beacon-key-in-replays
...
Make some navigation keys available to spectators
2015-09-26 11:30:50 +01:00
Paul Chote
7ceb283034
Merge pull request #9263 from penev92/assetInstallation
...
Move asset installation to the ModChooser
2015-09-26 10:40:04 +01:00
Oliver Brakmann
c7cfd40f65
Merge pull request #9060 from abcdefg30/cratespawndelay
...
Add a InitialSpawnDelay to CrateSpawner
2015-09-26 01:26:41 +02:00
Oliver Brakmann
3e2102192e
Merge pull request #9437 from pchote/fix-bogus-memory-copy
...
Rewrite BlowfishKeyProvider.ProcessPredata using safe code.
2015-09-26 00:47:22 +02:00
Paul Chote
7dcb896f3d
Rewrite BlowfishKeyProvider.ProcessPredata using safe code.
...
Fixes #2441 . This error would occur when the memory
regions were allocated at particular addresses when
running a mono-compiled binary on a .net runtime.
The data would be copied to the pointer returned
from a fixed() statement, but the managed array
would *not* be updated with the new data. This
caused DecryptKey to silently return a bogus key
full of zeros, and the mix file header decryption
would subsequently fail.
2015-09-25 22:13:55 +01:00
abcdefg30
4c52d10aaf
Fix an oversight in ConvertFloatToIntPercentage
2015-09-25 17:00:08 +02:00
abcdefg30
ccf184413e
Add an upgrade rule for the float to int percentage change
2015-09-25 17:00:07 +02:00
abcdefg30
589e673aa9
Replace the float WaterChance by an integer percentage
2015-09-25 17:00:06 +02:00
abcdefg30
e7c62b070b
Add an upgrade rule for the seconds -> ticks change
...
and update the default mods
2015-09-25 17:00:06 +02:00
abcdefg30
277f9acb89
Replace seconds by ticks
2015-09-25 16:53:45 +02:00
abcdefg30
7fd3ae7db9
Adjust the dropzone maps
2015-09-25 16:53:44 +02:00
abcdefg30
10c2a897f4
Small code cleanup
2015-09-25 16:53:44 +02:00
abcdefg30
a2af88da21
Add a InitialSpawnDelay to CrateSpawner
2015-09-25 16:53:43 +02:00
Oliver Brakmann
0e9257abcf
Merge pull request #9239 from penev92/clearFootprint
...
Move actors outside of the desired footprint when placing a building
2015-09-25 15:34:38 +02:00
Pavel Penev
059769de76
Merge pull request #9346 from reaperrr/fix-silo-preview
...
Fixed silo placement preview
2015-09-25 16:26:21 +03:00
Pavel Penev
b26e622bee
Merge pull request #9284 from clemty/newtiles
...
TD: Add additional desert tiles (work originally by psydev)
2015-09-25 16:20:05 +03:00
reaperrr
74da2a2c72
Add TargetExtraSearchRadius to SpreadDamageWarhead
...
Allows to customize the victim scan radius. Necessary to ensure that actors where health radius is close enough, but CenterPosition isn't, properly receive damage.
2015-09-25 15:11:06 +02:00
abcdefg30
8a0023b40a
Merge pull request #9248 from r34ch/ra-balance-changes
...
Lower shocktrooper health
2015-09-25 14:50:39 +02:00
reaperrr
010d8e8147
Upgrade rule
2015-09-25 14:30:15 +02:00
reaperrr
59a96ab0ef
Make sure silo animation is properly updated on owner change
2015-09-25 14:26:22 +02:00
reaperrr
522e7d5d04
Add custom sequence support to WithSiloAnimation
...
Additionally add description to Stages property, and remove unnecessary var (information is only needed once anyway).
2015-09-25 14:26:21 +02:00
Pavel Penev
e67bd7cffe
Merge pull request #9425 from abcdefg30/chosecrash
...
Fix possible crashes in the MapChooserLogic
2015-09-25 12:38:57 +03:00
atlimit8
558eea0bd5
Merge pull request #9390 from reaperrr/rename-flashoverlay
...
Renamed WithMuzzleFlash to WithMuzzleOverlay
2015-09-24 20:04:13 -05:00
atlimit8
74a9dc6793
Added IRangeMultiplier
2015-09-24 16:37:43 -05:00
atlimit8
65c1d2f5c1
Add IRulesetLoaded for late binding in trait info getting all rules
2015-09-24 16:26:42 -05:00
atlimit8
a8106a9999
Made UpgradeMultiplierTraitInfo implement ITraitInfo
2015-09-24 16:17:06 -05:00
atlimit8
527675db8d
Attack activities use armaments directly through constructor
2015-09-24 16:17:06 -05:00