public void LoadPlayerPalettes(WorldRenderer wr, string playerName, Color color, bool replaceExisting) { var remap = new RGBRemap(info.ReorderMode); var pal = new ImmutablePalette(wr.Palette(info.BasePalette + playerName).Palette, remap); wr.AddPalette(info.BaseName + playerName, pal, info.AllowModifiers, replaceExisting); }
public void LoadPalettes(WorldRenderer wr) { var remap = new RGBRemap(info.ReorderMode); wr.AddPalette(info.Name, new ImmutablePalette(wr.Palette(info.BasePalette).Palette, remap), info.AllowModifiers); }