added Highlight palette

This commit is contained in:
Chris Forbes
2010-01-07 16:26:48 +13:00
parent ae03b52d23
commit d975f611fa

View File

@@ -6,7 +6,7 @@ namespace OpenRa.Game.Graphics
public enum PaletteType
{
Gold, Blue, Red, Orange, Teal, Salmon, Green, Gray,
Shadow, Invuln, Chrome, Shroud,
Shadow, Invuln, Chrome, Shroud, Highlight,
};
class HardwarePalette : Sheet
@@ -27,6 +27,7 @@ namespace OpenRa.Game.Graphics
AddPalette(pal); // iron curtain. todo: remap!
AddPalette(pal); // chrome (it's like gold, but we're not going to hax it in palettemods)
AddPalette(new Palette(pal, new ShroudPaletteRemap()));
AddPalette(new Palette(pal, new SingleColorRemap(Color.FromArgb(128, 255, 255, 255))));
}
int AddPalette(Palette p)