Paul Chote
656476991f
Replace ColorRamp with HSLColor everywhere.
...
Fixes:
* Nuclear-purple color exploit.
* #3247 .
* Removes a bunch of unnecessary color conversions every frame.
Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Matthias Mailänder
25fae5d109
fixed d2k harvester dock animation
2012-07-17 22:03:30 +02:00
Matthias Mailänder
44b8630c71
support reversed remapping for d2k
2012-07-17 17:01:37 +02:00
Matthias Mailänder
f4cb798c8b
small code optimisations as suggested
2012-06-20 09:51:00 +02:00
Matthias Mailänder
84d623397b
made PaletteFormat configurable
...
as suggested in issue #2219
2012-06-19 21:36:10 +02:00
Chris Forbes
523183431b
remove some duplication and dead code
2011-12-27 14:48:10 +13:00
Chris Forbes
132c678594
add --remap cmdlet to OpenRA Utility, remaps between ra/cnc/etc palettes.
2011-12-27 11:48:22 +13:00
Chris Forbes
4c26710ccb
swap args to PlayerColorRemap
2011-10-21 22:15:51 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
3426b52247
add ColorRamp type; change everything to use it; maps not yet upgraded
2011-01-08 18:17:18 +13:00
Caleb Anderson
c568dfa486
Contrail trait
2010-10-25 08:29:54 +13:00
Chris Forbes
99d92ee095
move ColorFromHSL out of the ui code
2010-10-11 19:52:46 +13:00
Paul Chote
629e73ac29
support d2k remap range
2010-09-15 19:31:20 +12:00
Chris Forbes
a08dacc9c2
add support for compressed packages (zip); strip unnecessary SharpZipLib dll. req reference to WindowsBase for System.IO.Packaging support (apparently Mono has it)
2010-07-18 17:39:19 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Chris Forbes
48d12a55f0
no more remap files. just specify what you want in the yaml.
2010-02-28 09:52:03 +13:00
alzeih
7881deca30
Everything is now OpenRA, not OpenRa
2010-02-27 21:10:22 +13:00