RoosterDragon
91ea3532b4
Change a dictionary to an array for faster player lookup in FrozenUnderFog.
...
Deferencing an array element to get the state is cheaper than a dictionary lookup. We can do this since the players collection does not change during gameplay.
2015-11-27 15:46:32 +00:00
RoosterDragon
ab6ef9be40
Cache traits directly in FrozenUnderFog.
...
Avoid the performance impact of accessing Lazy.Value by caching the traits on the first tick and accessing the references directly when needed.
2015-11-27 15:45:50 +00:00
RoosterDragon
23a38a08f7
Refactor player setup.
...
Tweak how players in a world are created. Change the collection to be an array to more strongly imply it will not change during a game.
2015-11-27 15:15:43 +00:00
Paul Chote
373bfefc6c
Only support move orders against terrain targets.
2015-11-26 18:38:10 +00:00
atlimit8
e417ecb93f
Add map editor only tooltips
2015-11-25 17:28:29 -06:00
Paul Chote
7c69461ff2
Fix C4Demolition trait doc punctuation.
2015-11-25 21:16:15 +00:00
Paul Chote
6304d72f44
Add enter behaviour customisation to C4Demolition.
2015-11-25 21:16:15 +00:00
Paul Chote
ee1fb0f1e0
Add SelectionDecoration flag to WithDecoration.
2015-11-24 23:03:06 +00:00
Huw Pascoe
e92ccdf808
TargetLine for Rally Points
...
Also enabled allied players to see waypoints.
2015-11-23 19:30:24 +00:00
Matthias Mailänder
3727fccd1b
Merge pull request #9982 from abcdefg30/chronodesc
...
Unhardcode and document things in Chronoshiftable
2015-11-22 16:05:36 +01:00
Matthias Mailänder
1e85c73a1e
Merge pull request #9862 from atlimit8/StoresResourcesOverflowBuffer
...
Preclude StoresResources.Stored overflow
2015-11-22 15:51:17 +01:00
atlimit8
36db019823
Add DeployStateInit for pre-deployment
2015-11-21 20:25:17 -06:00
RoosterDragon
c4851a40cd
Prevent invalid cells checks in SeedsResource.
2015-11-22 00:30:27 +00:00
abcdefg30
802b6215e1
Merge pull request #10014 from penev92/fixDTU
...
Fixup DeployToUpgrade
2015-11-22 00:59:29 +01:00
Pavel Penev
7e4f0be7fb
Add support for deploy animations using a specific upgrade
...
Also ignore orders while playing a deploy/undeploy animation. Fixes 9242.
We grant a level 1 Undeployed upgrade(s) when the actor is created which enables the default behavior of the actor. When the actor receives a deploy order, the Undeployed upgrade(s) is(are) revoked, which may or may not be used to enable a trait to play a deploy animation. Once the deployment is complete, the Deployed upgrade(s) is(are) granted.
Then do the reverse when undeploying, disabling weapons and other systems first by revoking the Deployed upgrade(s), and granting the Undeployed upgrade(s) when the undeploy animation is done.
2015-11-22 01:51:08 +02:00
Paul Chote
1667dd812e
Fix a NRE when destroying SAM Sites in GDI06.
2015-11-21 21:29:31 +00:00
Oliver Brakmann
16de21d41c
Merge pull request #10018 from pchote/fix-spy-cursor
...
Restore targeting cursor when mousing over a disguised enemy spy.
2015-11-21 20:57:12 +01:00
Paul Chote
65a7f2e863
Restore earlier spy targeting behaviour.
2015-11-21 18:06:47 +00:00
Pavel Penev
d235ea3a52
Don't attack actors that you can't see
2015-11-21 19:33:10 +02:00
Matthias Mailänder
e4054ef8d0
Merge pull request #9956 from teees/radar-update-line
...
Draw radar update line for mobile sensors array (TS)
2015-11-21 14:58:34 +01:00
Oliver Brakmann
6bc3c61f23
Merge pull request #10010 from penev92/fixUAN
...
Fix UpgradeActorsNear revoking upgrades after the actor dies
2015-11-19 18:59:42 +01:00
abcdefg30
6cd8649156
Small code style fixes
2015-11-18 21:16:58 +01:00
Paul Chote
124c0ea041
Make CanTarget modifiers a ref parameter.
2015-11-16 20:38:53 +00:00
teees
2777262cb0
Draw radar update line for mobile sensors array
2015-11-16 15:38:13 +01:00
abcdefg30
a5f15f5080
Merge pull request #10009 from penev92/grantUpgradePower
...
Check if WithSpriteBody is available in GrantUpgradePower
2015-11-16 13:55:48 +01:00
Pavel Penev
4d787cbedb
Check if WithSpriteBody is available in GrantUpgradePower
2015-11-16 01:25:09 +02:00
Pavel Penev
13978b08bc
Fix UpgradeActorsNear revoking upgrades after the actor dies
...
Very hard bug to reproduce: if you can power down a stealth generator just as it is dieing you can hit a race condition that leads to ActorExited() being called to revoke the upgrades after they have already been revoked once.
2015-11-15 18:51:15 +02:00
Curtis Shmyr
f0e9b85ccc
I before E except after C
2015-11-14 22:32:37 -07:00
Paul Chote
67193b43d5
Check deploy location at the time of transform.
2015-11-14 12:49:26 +00:00
Oliver Brakmann
1b8cdfad02
Merge pull request #9854 from Arcitectus/resolve.Issue#6170
...
prevent allied units from autoattack building which is being captured…
2015-11-12 21:42:39 +01:00
abcdefg30
4a4608e1f3
Rename DeathType to DeathTypes of Explodes
2015-11-11 21:23:40 +01:00
abcdefg30
a5aff66848
Polish the documentation in Explodes.cs
2015-11-11 21:23:27 +01:00
Michael Rätzel
51bb515a4d
prevent allied units from autoattack building which is being captured. resolves #6170 .
2015-11-11 14:32:38 +01:00
Paul Chote
a081321790
Add copy/paste to the map editor.
2015-11-10 22:18:18 +00:00
Oliver Brakmann
bf3a46be93
Merge pull request #9958 from penev92/gpsAutoTarget
...
Enable AutoTarget to aquire targets under fog if GPS is present
2015-11-10 22:23:58 +01:00
Pavel Penev
ab2c5ab43d
Enable AutoTarget to aquire targets under fog if GPS is present
2015-11-10 22:50:22 +02:00
Oliver Brakmann
4bbf6ea0c7
Merge pull request #9925 from atlimit8/MultiLineMapEditorTooltips
...
Multi-line map editor tooltips
2015-11-10 21:06:57 +01:00
Matthias Mailänder
ab739c8446
Merge pull request #9415 from atlimit8/SpawnActorOnDeath_to_Common
...
Move SpawnActorOnDeath to OpenRA.Mods.Common
2015-11-08 19:07:07 +01:00
atlimit8
4c2488f9b1
Made editor actor preview tooltip easier to read
2015-11-07 16:10:13 -06:00
Oliver Brakmann
27d915046c
Fix typo in WeatherOverlayInfo
2015-11-07 19:23:22 +01:00
Oliver Brakmann
e609abf445
Merge pull request #9852 from RoosterDragon/event-handler-removals
...
Detach some event handlers
2015-11-05 22:46:42 +01:00
Oliver Brakmann
d3d8a59088
Merge pull request #9867 from GraionDilach/fix-powermultiplier-namespace
...
Fix PowerMultiplier namespace.
2015-11-05 20:21:42 +01:00
atlimit8
7352290c94
Move SpawnActorOnDeath to OpenRA.Mods.Common & fix spawned death actor teleportation
2015-11-05 00:55:29 -06:00
RoosterDragon
9f728b287b
Remove event handlers to CellEntryChanged when done.
...
Several classes would attach event handlers to the Map which would live longer then they did. Detaching them when no longer needed allows the GC to reclaim them.
2015-11-04 23:09:32 +00:00
Oliver Brakmann
177d983728
Merge pull request #9759 from atlimit8/ActorsHavingTrait
...
Add ActorsHavingTrait<TTrait>()
2015-11-04 22:26:10 +01:00
Oliver Brakmann
214945a61f
Merge pull request #9324 from atlimit8/ColorSpacePrefixes
...
Hex Color Parsing
2015-11-02 20:28:04 +01:00
Zimmermann Gyula
9ace207102
Fix PowerMultiplier namespace.
2015-11-02 14:03:37 +01:00
atlimit8
29de05cb59
Preclude StoresResources.Stored overflow
...
Closes #9857
2015-11-02 00:08:10 -06:00
Oliver Brakmann
88c20a6654
Merge pull request #9414 from atlimit8/TurretFacingsInit
...
Support loading multiple turret facings
2015-11-01 13:18:17 +01:00
Michael Rätzel
c5029e270d
reset RallyPoint Location after capture. resolves #9163 .
2015-10-31 20:31:08 +01:00