atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
RoosterDragon
901e604cf3
Replace arrays with sets.
...
In places where arrays were being treated as a set, just create a set directly. This reveals the intention of such collections better, and also improves performance by allowing set based methods to be used.
2015-09-03 20:09:24 +01:00
atlimit8
fadfd179cb
Cache FrozenActor ITargetable.TargetTypes union
2015-09-02 23:19:00 -05:00
atlimit8
f5c3575c5a
Support multiple ITargetable traits
2015-09-02 23:14:40 -05:00
Paul Chote
a0c256173b
Merge pull request #8851 from penev92/bleed_rename
...
Some more renaming from "race" to "faction"
2015-08-02 15:34:41 +01:00
Paul Chote
aebca2bdae
Align the footprint tiles with the building preview.
2015-07-31 23:36:40 +01:00
Pavel Penev
10c5b82ef0
Rename BuildableInfo.ForceRace
2015-07-31 05:41:19 +03:00
Pavel Penev
1e9cc50805
Clean Production.cs of "race"
2015-07-31 05:38:43 +03:00
penev92
7c1ef2231d
Rename RaceInit to FactionInit
2015-07-25 00:39:31 +03:00
penev92
bb648decc3
Rename Player.Country to Player.Faction
2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd
Rename Faction trait members
...
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
Oliver Brakmann
dd89aa1d48
Fix an NRE during building placement under rare circumstances
...
Happens when the last conyard vanishes at the same time a building
is picked up for placement.
2015-07-11 11:50:52 +02:00
penev92
070e5109f5
Issue repair orders to Repairable units via RepairOrderGenerator
2015-05-26 12:43:34 +03:00
Paul Chote
c0282bdff9
Remove Owner from ActorPreviews.
2015-05-10 00:01:43 +01:00
Paul Chote
1256ddc6a6
Account for bibs in ActorPreviews.
2015-04-26 18:12:19 +12:00
Taryn Hill
0717ca57ea
Implement DeployToUpgrade.
...
Expose some deploy-related cursors to yaml.
2015-04-13 10:04:03 -05:00
Oliver Brakmann
5e7a71edf5
Fix crash when placing buildings in TD
...
Caused by production queues being tied to buildings, not the player, in TD.
PBOG would therefore try to find the PlaceBuilding trait, which is on the player, on the conyard actor and crash.
2015-04-02 18:04:19 +02:00
Paul Chote
d1839701bb
Add Plug and Pluggable for building actor-specific upgrades.
2015-03-31 22:23:41 +01:00
Taryn Hill
c6c52eac7d
Expose and document the palette used
...
by PlaceBuildingOrderGenerator for
the structure placement overlay
2015-03-31 15:26:04 -05:00
Matthias Mailänder
762c0e12a2
Merge pull request #7522 from delftswa2014/bugfix/sellicon
...
Closes #7508
2015-03-08 19:13:34 +01:00
Paul Chote
7b27b803f9
Allow actors to force a specific race variant.
2015-03-03 18:45:44 +00:00
Paul Chote
d1ed1bf0fb
Set actor race (and icons) based on active producer.
2015-03-03 18:45:44 +00:00
Bynnar18
0abe8f9b2b
Fixes issues with support powers and adds property to all IOrderGenerator classes to determine priority over selection in the left-click order scheme.
2015-03-01 14:58:19 -06:00
pevers
97ca96f8ab
fixed sellicon bug
2015-02-22 18:14:25 +01:00
RoosterDragon
82bea961ba
Checked LINQ queries and collections for inefficiencies.
...
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
- Collection queried often via Contains use ToHashSet to speed up lookups.
- Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
- Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
reaperrr
5b8c97ae37
Move OrderGenerators to Mods.Common
2015-01-11 03:04:40 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
penev92
8504c233d9
Move everything Repair-related to Mods.Common
2015-01-08 01:49:14 +02:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
Paul Chote
ecd3809bc2
Fix a collection of whitespace-style issues in Mods.Common.
2014-12-14 17:06:43 +13:00
penev92
e64380e9df
Moved two more Orders from RA to Common
2014-10-11 11:57:05 +03:00
penev92
7e59e1bf9a
Moved DeployOrderTargeter.cs from OpenRA.Mods.RA to Common
2014-10-08 15:29:58 +03:00