add support for compressed packages (zip); strip unnecessary SharpZipLib dll. req reference to WindowsBase for System.IO.Packaging support (apparently Mono has it)

This commit is contained in:
Chris Forbes
2010-07-18 17:39:07 +12:00
parent 27ef3483ec
commit a08dacc9c2
8 changed files with 87 additions and 70 deletions

View File

@@ -40,4 +40,18 @@ namespace OpenRA.Mods.RA
}
}
}
class SingleColorRemap : IPaletteRemap
{
Color c;
public SingleColorRemap(Color c)
{
this.c = c;
}
public Color GetRemappedColor(Color original, int index)
{
return original.A > 0 ? c : original;
}
}
}