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
clemty
d4e1b1ba48
reduce use of Map.Topleft and Map.Bottomright as requested in #8549
2015-09-24 21:03:36 +02:00
reaperrr
5b5164211e
Rename WithMuzzleFlash to WithMuzzleOverlay
2015-09-24 20:23:31 +02:00
abcdefg30
e989ce2ef2
Fix possible crashes in the MapChooserLogic
2015-09-24 16:57:03 +02:00
Pavel Penev
cdd4590ece
Merge pull request #8839 from RoosterDragon/test-sync-implementations
...
Test sync implementations
2015-09-24 15:17:33 +03:00
Pavel Penev
c41446e022
Merge pull request #9139 from Mailaender/editor-cash-counter
...
Added a total resource cash counter to the map editor
2015-09-24 15:07:15 +03:00
reaperrr
2b867c99b4
Original d2k terrain speeds
2015-09-24 13:46:07 +02:00
reaperrr
f762bcb252
Fix D2k aircraft HP and armor
...
This seems to have been overlooked or lost during rebase.
2015-09-24 13:46:06 +02:00
Pavel Penev
2c27452a44
Merge pull request #9386 from atlimit8/FinishWrappingActorInfoTraits
...
Finish wrapping ActorInfo.Traits
2015-09-24 14:40:07 +03:00
Pavel Penev
32ed7ca416
Merge pull request #9257 from reaperrr/incr-harv-radius
...
Increased harvester search radii
2015-09-24 12:32:53 +03:00
Pavel Penev
a5f1293c69
Merge pull request #9413 from abcdefg30/new_d2k_flags
...
Add new flags for d2k
2015-09-24 12:27:23 +03:00
atlimit8
1f247a0a51
Merge pull request #9220 from GraionDilach/observer-clocks
...
Add customizable properties to observer clocks.
2015-09-23 21:07:01 -05:00