Inheritance: IPaletteRemap
Exemplo n.º 1
0
        public void LoadPalettes(WorldRenderer wr)
        {
            var remap = new ScaledPaletteRemap(info.Scale, info.Offset);

            wr.AddPalette(info.Name, new ImmutablePalette(wr.Palette(info.BasePalette).Palette, remap), info.AllowModifiers);
        }
Exemplo n.º 2
0
 public void LoadPalettes(WorldRenderer wr)
 {
     var remap = new ScaledPaletteRemap(info.Scale, info.Offset);
     wr.AddPalette(info.Name, new ImmutablePalette(wr.Palette(info.BasePalette).Palette, remap), info.AllowModifiers);
 }