X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=gfx%2Fcolormap_palette.pl;h=dc99b649904ef88c1ba7e27ff405d114619d01a5;hb=1bfd56504a32a960cec5a7f3721dec87b8abedf5;hp=703b8b1c924c392da0048e1b730f2311d34201be;hpb=a032ed1a5b661e5e9e6c56686a687b0dd235980a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/gfx/colormap_palette.pl b/gfx/colormap_palette.pl index 703b8b1c9..dc99b6499 100644 --- a/gfx/colormap_palette.pl +++ b/gfx/colormap_palette.pl @@ -18,20 +18,20 @@ use warnings; # redmagenta my @colors = ( - 'cccccc', # white + 'ffffff', # white 'ff5500', # orange1 '00ff80', # cyangreen '00ff00', # green 'ff0000', # red - '00aaff', # cyanblue2 + '00aaff', # cyanblue1 '00ffff', # cyan '80ff00', # yellowgreen - '8000ff', # redmagenta + '8000ff', # bluemagenta 'ff00ff', # magenta - 'ff0080', # bluemagenta + 'ff0080', # redmagenta '0000ff', # blue 'ffff00', # yellow - '0055ff', # cyanblue1 + '0055ff', # cyanblue2 'ffaa00', # orange2 '000000' # unused ); @@ -42,6 +42,9 @@ my $value_max = 0xFF; my $i = 0; my $pal_colormap = ""; my $pal_scoreboard = ""; +print STDERR "\nPaste these cases into the qc colormapPaletteColor function\n\n"; + +print STDERR "\t\t// generated by gfx/colormap_palette.pl\n"; for(@colors) { /^(..)(..)(..)$/ or die "invalid color spec: $_";