Commit Graph

239 Commits

Author SHA1 Message Date
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
Oliver Brakmann
23e5889a70 Merge pull request #11167 from pchote/fix-gps-satellite-palette
Fix GPS satellite palette.
2016-04-24 13:17:26 +02:00
Paul Chote
d70356b47f Fix GPS satellite palette. 2016-04-23 14:10:54 +01:00
Paul Chote
0b4a8d9a13 Only refresh tooltip/health status of revealed frozen actors. 2016-04-23 13:07:53 +01:00
reaperrr
fd5a597966 Move Render traits to Traits.Render namespace 2016-04-15 20:43:04 +02:00
reaperrr
6239aad070 Merge pull request #11017 from Mailaender/radar-refactor
Grouped the radar traits together
2016-04-12 17:07:01 +02:00
Matthias Mailänder
3a3be979f3 Merge pull request #11081 from pchote/fix-left-click-orders
Fix left click orders
2016-04-10 17:32:14 +02:00
Paul Chote
7315ffbcb7 Fix outdated file headers. 2016-04-10 09:41:12 -04:00
Paul Chote
acab6f1f4b Fix custom order generators for left-click targeting. 2016-04-09 11:59:54 -04:00
Matthias Mailänder
a78d67a60c Put radar traits into their own namespace. 2016-04-02 14:36:26 +02:00
Matthias Mailänder
8ba875476f Merge pull request #10973 from reaperrr/fp-to-int2
Getting rid of float in simulation code Part 2
2016-03-28 17:13:52 +02:00
reaperrr
ade49ba1be Migrated Minelayer.MinefieldDepth to use WDist instead of float 2016-03-28 14:44:21 +02:00
Taryn Hill
8c8ff01b10 Add an explicit YamlException to ParatroopersPower.SendParatroppers 2016-03-20 18:07:43 -05:00
Paul Chote
602acabe47 Remove World.TileSet. 2016-03-12 19:47:07 +00:00
Paul Chote
7993068c8f Remove Map.SequenceProvider. 2016-03-12 19:46:20 +00:00
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
abcdefg30
fe5754e2bd Change the parameters of ICrushable.CrushableBy 2016-02-14 18:51:59 +01:00
abcdefg30
f21d1f52e7 Make the ICrushable implementation explicit 2016-02-14 18:51:57 +01:00
abcdefg30
8b59ce4dc2 Add a new INotifyCrushed interface 2016-02-14 18:51:56 +01:00
Oliver Brakmann
a6e98620c0 Merge pull request #10650 from pchote/remove-fragile-diplomacy
Remove fragile diplomacy.
2016-02-06 22:55:55 +01:00
RoosterDragon
ddea517b19 Merge pull request #10587 from Mailaender/gps-refactor
Cleaned up the GPS code a bit
2016-02-04 18:09:25 +00:00
Paul Chote
73b3f20921 Remove fragile alliances feature. 2016-01-30 20:47:50 +00:00
DArcy Rush
eb795909da Implement player stance colors
Adds an option to display actors on radar and
support weapon timers in colors denoting the
diplomatic stance toward the player.
2016-01-30 15:46:55 +01: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
2ee7e11064 Merge pull request #10488 from obrakmann/fix10451_printing_money_with_spies
Change guaranteed amount of stolen funds to spy's value
2016-01-21 21:27:48 +01:00
Oliver Brakmann
a612ca9c5f Use proper speech notification for InfiltrateForCash 2016-01-21 20:35:28 +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
Oliver Brakmann
a04223fcd2 Merge pull request #10143 from Phrohdoh/interface-reflection
Implement a utility command to check for explicit interface implementation violations.
2016-01-18 20:23:43 +01:00
Taryn Hill
25eddb9567 Explicitly implement ISelectionBar 2016-01-17 22:33:41 -06:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
Oliver Brakmann
c40b64ad02 Fix arbitrary defaults in InfiltrateForCashInfo. 2016-01-17 22:09:04 +01:00
Oliver Brakmann
ee8323373b Add trait documentation to InfiltrateForCash 2016-01-17 22:00:55 +01:00
Oliver Brakmann
5ec11fba8f Allow falling back to infiltrator's value in InfiltrateForCash 2016-01-17 22:00:55 +01: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
RoosterDragon
a232eff7fd Replace IRemoveFrozenActor with FrozenActorLayer.Remove.
The IRemoveFrozenActor interface is replaced with a Remove method on FrozenActorLayer. IRemoveFrozenActor is a performance problem for FrozenActorLayer.Tick as it incurs a large cache miss penalty in order to load and enumerate the array of these interfaces for every frozen actor. Instead, we invert control and allow traits to remove frozen actors directly which eliminates the performance penalty.
2016-01-17 00:13:06 +00:00
Matthias Mailänder
6900e4bad3 rename DemoTruck to AttackSuicides
generalize move to add Aircraft support
give it a description
don't require Explodes as it is just a soft dependency
use a regular self kill
2016-01-16 19:38:23 +01:00
Paul Chote
1959820bc8 Implement enter behaviour for Infiltrates plus other cleanups. 2015-12-30 19:53:51 +00:00