예제 #1
0
        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);
        }
예제 #2
0
        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);
        }