Commit Graph

184 Commits

Author SHA1 Message Date
Paul Chote
3e404f6ac2 Remove HSLColor. 2019-03-04 18:26:42 +00:00
Paul Chote
ab4a7e3558 Replace System.Drawing primitives with our own. 2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab Change the year number in all cs headers from 2018 to 2019 2019-01-26 23:15:21 +01:00
reaperrr
eb86160021 Remove CrateEffect in favor of using updated SpriteEffect 2018-12-05 09:04:29 +13:00
reaperrr
4de0d0fcb9 Replace LaunchEffect with updated SpriteEffect 2018-12-05 09:04:29 +13:00
reaperrr
c2d6b78b18 Add dynamic position support to SpriteEffect
This was the last missing 'puzzle piece' to replace some remaining spcial-case effects.
2018-12-05 09:04:29 +13:00
Andre Mohren
b1a44086a0 Removed unused using directives. 2018-11-17 17:23:22 +00:00
Paul Chote
0901a7d9de Simplify FlashTarget.
Now defined in terms of a flash count, interval, and delay.
Broken FlashDuration parameter removed from Demolition.
2018-11-03 15:09:14 +01:00
Andre Mohren
8c5caaf154 Fixed unnecessary crash if RallyPoint palette is not used. 2018-08-16 22:24:58 +02:00
reaperrr
384aaf14b5 Added LaunchEffect effect 2018-07-01 12:19:32 +02:00
Paul Chote
2ef6f7c0cc Replace repair indicator effect with a Decoration subclass. 2018-06-02 18:12:08 +02:00
Arular101
8a60918841 Update copyright notice year to 2018 2018-01-17 00:47:34 +01:00
reaperrr
7f5f2eac6f Don't scale RepairIndicator with zoom 2017-11-13 03:09:05 +02:00
reaperrr
6c02e3f2b7 Refactor CanPowerDown to provide a condition instead of triggering IsDisabled 2017-11-13 03:09:05 +02:00
Andre Mohren
cfeeb6563e RallyPointIndicator now optional 2017-10-26 01:21:29 +02:00
reaperrr
593e86325b Fix SpriteEffect not updating ScreenMap 2017-09-24 10:54:58 +01:00
reaperrr
9aa861eca9 Spatially partition CrateEffect 2017-09-17 12:52:04 +01:00
reaperrr
46132ed5c6 Spatially partition SpriteEffect 2017-09-17 12:52:04 +01:00
reaperrr
024887b268 Move Contrail to Traits
And make interface implementations explicit while we're at it.
2017-09-06 22:07:02 +01:00
reaperrr
d949e17b88 Perform FogObscures as late as possible
FogObscures is more expensive than simpler boolean, player or HasTraitInfo checks, so in these places it makes sense to perform the other checks first.
2017-08-07 09:42:12 +02:00
abc013
b7ca740155 Fix contrail gets rendered between loading in and loading out position 2017-03-19 09:25:39 +01:00
reaperrr
42df24a18a Introduce MapNotificationEffect 2017-01-22 17:41:55 +01:00
Taryn Hill
43317e0f5d Update copyright notice year to 2017 2016-12-31 23:46:13 -06:00
reaperrr
79add6113c Add RevealShroudEffect
This allows support powers etc. to reveal shroud for customizable amount
of ticks and after customizable delay, instead of spawning camera actors.
2016-12-28 18:45:44 +01:00
reaperrr
871576b300 Add delay and full duration support to beacons
Previously, support power beacons were hardcoded to unlimited duration and
then cleaned up directly by the support power. This is problematic if we
want the beacon to remove itself after a certain delay, though.
2016-12-27 17:13:53 +01:00
reaperrr
101cc65876 Replace DelayedAction in Beacon effects with Tick-based solution 2016-10-26 20:17:24 +02:00
abcdefg30
fbebb6d851 Fix floating text showing up beneath shroud 2016-10-01 22:36:25 +02:00
Paul Chote
cd0ba2049f Draw repair and power down indicators above the shroud. 2016-08-23 16:34:24 +01:00
Paul Chote
f357163078 Draw floating text above the shroud. 2016-08-22 22:02:33 +01:00
Paul Chote
b016638ebe Allow beacons to be placed and drawn above the shroud. 2016-08-22 20:27:58 +01:00
Paul Chote
afdb0e0829 Draw rally points above the shroud. 2016-08-22 20:27:58 +01:00
Matthias Mailänder
fa864f55bf Move IonCannon and NukeLaunch into Projectiles folders. 2016-06-13 14:35:32 +02:00
Matthias Mailänder
71743b3b4a Only sync projectiles and future synced effects. 2016-06-13 14:35:28 +02:00
Oliver Brakmann
916f2ea2ea Merge pull request #11382 from reaperrr/projectile-streamlining
Moved projectiles to their own namespace and streamlined property names
2016-06-04 15:00:08 +02:00
Matthias Mailänder
1a2851bdaf Merge pull request #11316 from obrakmann/mp-allies02
Add Scott's Allies02 multiplayer mission as "Evacuation"
2016-05-30 19:49:07 +02:00
reaperrr
fef4f3eb79 Move projectiles to their own namespace and folder
While they are (currently) technically effects, this makes the actual purpose and wiki more clear.
2016-05-28 14:42:33 +02:00
reaperrr
bdb7c80f42 Moved FlashTarget to Mods.Common
There is nothing remaining in OpenRA.Game using this.
2016-05-26 08:16:22 +02:00
reaperrr
122035c36c Remove Smoke effect and use SpriteEffect instead 2016-05-23 23:57:18 +02:00
reaperrr
555d4f4adc Remove Corpse effect and use SpriteEffect instead 2016-05-23 23:30:51 +02:00
reaperrr
51b88bfbaf Remove Explosion effect and use SpriteEffect instead 2016-05-23 23:30:49 +02:00
reaperrr
6a988fd676 Move WorldInteractionControllerWidget and SpriteEffect to Common 2016-05-23 23:30:48 +02:00
Oliver Brakmann
0192919501 Fix crash in Beacon ctor when it runs during instead of between ticks
Causes an exception like below, for example when calling the Lua API's Beacon.New() method.

``Exception of type `System.InvalidOperationException`: Collection was modified; enumeration operation may not execute.``
2016-05-19 23:08:01 +02:00
reaperrr
bd2a24af55 Merge pull request #11223 from Mailaender/missile-dead
Cleaned up logically dead Missile code.
2016-05-08 14:09:27 +02:00
Matthias Mailänder
5462097c42 Merge pull request #11205 from reaperrr/rangelimit-wdist
Refactored Missile.RangeLimit to be a WDist value
2016-05-07 15:10:49 +02:00
Matthias Mailänder
3d865d46e7 Removed logically dead code.
targetPassedBy is always true in this section
and - times - is +.
2016-05-05 10:19:38 +02:00
abcdefg30
c3c29ee7a2 Make the circle and arrow sequences of Beacon optional 2016-05-02 17:23:17 +02:00
Matthias Mailänder
59fbfbc851 Don't enforce beacons to be player palettes. 2016-05-01 12:29:38 +02:00
Matthias Mailänder
9f4cdb9843 Unhardcode player beacons for documentation and lint testing. 2016-05-01 12:27:02 +02:00
Matthias Mailänder
76124b7c79 Unhardcode beacon sprites for documentation and lint testing. 2016-05-01 12:21:13 +02:00
reaperrr
1258ddde7f Refactored Missile.RangeLimit from ticks to WDist
Changed default from 'unlimited' fuel to weapon range.
2016-04-30 16:02:15 +02:00