Decouple color picker palette definitions to their own trait.

This commit is contained in:
Paul Chote
2021-05-09 15:23:33 +01:00
committed by teinarss
parent 57d955ec72
commit 3bc42543fa
17 changed files with 116 additions and 50 deletions

View File

@@ -17,10 +17,10 @@
Filename: PALETTE.BIN
ShadowIndex: 1
AllowModifiers: false
PaletteFromFile@colorpicker:
ColorPickerPalette@colorpicker:
Name: colorpicker
Filename: PALETTE.BIN
ShadowIndex: 4
BasePalette: d2k
RemapIndex: 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240
AllowModifiers: false
PaletteFromEmbeddedSpritePalette@moveflash-base:
Name: moveflash-base

View File

@@ -237,7 +237,6 @@ World:
TimeLimitManager:
ColorPickerManager:
PreviewActor: carryall.colorpicker
RemapIndices: 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240
PresetHues: 0, 0.13, 0.18, 0.3, 0.475, 0.625, 0.82, 0.89, 0.97, 0.05, 0.23, 0.375, 0.525, 0.6, 0.75, 0.85
PresetSaturations: 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.5, 0.35, 0.4, 0.4, 0.5, 0.5, 0.4, 0.35