Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Oliver Brakmann
a6e98620c0
Merge pull request #10650 from pchote/remove-fragile-diplomacy
...
Remove fragile diplomacy.
2016-02-06 22:55:55 +01:00
Paul Chote
73b3f20921
Remove fragile alliances feature.
2016-01-30 20:47:50 +00:00
Matthias Mailänder
a11a183cad
GpsWatcher.Owner is not used anywhere else
2016-01-24 19:25:37 +01:00
Matthias Mailänder
91041fbea3
no need to cast this
2016-01-24 19:25:37 +01:00
Matthias Mailänder
a2398d2e00
annotate spy satellite related palettes and sprites
2016-01-24 19:25:37 +01:00
Matthias Mailänder
38625ec6f8
avoid an unneccessary abbreviation
2016-01-24 19:25:37 +01:00
Matthias Mailänder
29e6f53a78
document interdependencies
2016-01-24 16:52:37 +01:00
Matthias Mailänder
6c56ac39c6
split GpsWatcher into it's own file
2016-01-24 16:48:44 +01:00
abcdefg30
ab7907c5a1
Unhardcode the chronoshift cursor sequences
2016-01-21 17:43:41 +01:00
abcdefg30
03ed54b3fb
Merge pull request #10537 from pchote/move-util
...
Move OpenRA.Traits.Util to Mods.Common
2016-01-21 17:13:03 +01:00
Paul Chote
275be64f05
Remove Util.QuantizeFacing from support powers.
2016-01-19 23:34:13 +00:00
Matthias Mailänder
a8a1fafbc9
unhardcode ChronoShift palettes and sequences
2016-01-18 21:31:06 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Oliver Brakmann
aaeb715006
Merge pull request #10246 from penev92/terrainPalettes
...
Allow tile templates to define their own palette
2016-01-17 21:39:28 +01:00
Pavel Penev
861d1368a4
Unhardcode internal terrain palette name from all over the codebase
2016-01-17 19:02:16 +02:00
RoosterDragon
3c930c3ef9
Introduce FrozenUnderFogUpdatedByGps and IOnGpsRefreshed.
...
This trait uses the new interface to register with the GpsWatcher to get notified when the GPS state changes. It needs to register as if the actor is destroyed, the GpsWatcher can no longer query actors in the world to get the trait. This is no good as the trait needs to perform actions after the death of its parent actor.
When the GPS is enabled, the trait will track ownership changes and update the frozen actor (just like if there was only a GPS dot, it would change colour) and it will also remove frozen actors if the real actor dies or is sold.
2016-01-17 00:13:06 +00:00
Taryn Hill
5b5a45b0a4
Place constraints on ActorReferences in ParatroopersPower to improve linting
2015-12-27 11:24:16 -06:00
atlimit8
b07cd683e8
Easier actor selection in game by actor bounds center
2015-12-23 12:09:08 -06:00
RoosterDragon
62a932272c
Fix GPS refreshing for incorrect player.
...
GpsWatcher.RefreshGps was wrongly using the render player in simulation code.
2015-12-12 19:57:08 +00:00
Pavel Penev
78e2eabd17
Remove byPlayer parameter from IFogVisibilityModifier.HasFogVisibility()
2015-11-21 01:11:38 +02:00
Pavel Penev
217c3881c6
Add IFogVisibilityModifier.IsVisible(Actor)
2015-11-21 01:11:37 +02:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
reaperrr
2f69711341
Rename ActorMap *UnitsAt* occurences to *ActorsAt*
...
These enumerate actors in general, not just mobile actors (which the term 'unit' usually refers to).
2015-10-16 00:07:06 +02:00
Paul Chote
9b6dba02a8
Improve customisation of support power targeting.
2015-10-05 22:05:01 +01:00
Pavel Penev
8a44366667
Merge Plane and Helicopter into Aircraft
2015-10-01 20:15:41 +03:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
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
abcdefg30
87580d0aab
Add a GpsRemoveFrozenActor trait
2015-08-22 21:36:30 +02:00
Matthias Mailänder
413baf9d8b
rename WDist.Range to WDist.Length
2015-07-09 10:55:38 +02:00
Matthias Mailänder
7447e0bf93
rename WRange to WDist
2015-07-09 10:55:38 +02:00
Paul Chote
0677c309f3
Move Shroud.IsTargetable to Player.
2015-06-19 22:02:08 +01:00
reaperrr
a3bd007ac7
Moved SelectionDecorations to Mods.Common
...
And added more settings.
Moved SelectionBoxRenderable to Mods.Common, too.
2015-06-17 20:13:52 +02:00
Oliver Brakmann
32ed63727d
Revert "Expose Plane turn-to-attack delay to yaml."
...
This reverts commit 02da41e5c5 .
2015-04-03 23:42:35 +02:00
Oliver Brakmann
a8d7140c1a
Merge pull request #7815 from Phrohdoh/aircraft-turn-timing
...
Expose Plane turn-to-attack delay to yaml.
2015-04-03 23:15:41 +02:00
Taryn Hill
4ed53c5952
Simplify return statements.
...
Remove redundant ‘this’.
Remove unused using directives.
Simplify LINQ chains.
Add some trait property descriptions.
Add readonly where viable.
Add fullstops to some yaml descriptions.
2015-04-01 12:33:17 -05:00
Taryn Hill
02da41e5c5
Expose Plane turn-to-attack delay to yaml.
...
Require Plane in some ctors.
2015-04-01 00:12:20 -05:00
Taryn Hill
51e470e64c
Add some documentation to support powers.
2015-03-10 00:13:24 -05: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
abcdefg30
6155928678
Don't display beacons in the air
2015-02-18 22:06:28 +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
be9d37f30e
Moves SupportPowers and related Widgets to Mods.Common
2015-01-15 13:18:11 +01:00
abcdefg30
a4f051ad6b
Added a lua function for paratroopers
2015-01-13 17:48:11 +01:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
reaperrr
573c26145e
Move Render*Circle, ThrowsParticle and ParatroopersPower to appropriate locations
2015-01-04 18:12:11 +01:00
Matthias Mailänder
1b0e3a7a7f
StyleCop clean OpenRA.Mods.RA
2015-01-04 17:02:46 +01:00