Sliders change the preview palette and update client data; Need a better algorithm for picking color2

This commit is contained in:
Paul Chote
2010-07-16 23:34:42 +12:00
parent 4fb3f67a9d
commit c4442f07da
7 changed files with 63 additions and 19 deletions

View File

@@ -70,6 +70,11 @@ namespace OpenRA.Graphics
palette.AddPalette(name, pal);
}
public void UpdatePalette(string name, Palette pal)
{
palette.UpdatePalette(name, pal);
}
void DrawSpriteList(IEnumerable<Renderable> images)
{
foreach (var image in images)