X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=gfx%2Fcolormap_palette.pl;h=dc99b649904ef88c1ba7e27ff405d114619d01a5;hb=1bfd56504a32a960cec5a7f3721dec87b8abedf5;hp=9cd9a0d701d457935ac2af595572e62961d447ab;hpb=006079e22f8ec05bee3644527c7b70698b173b6f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/gfx/colormap_palette.pl b/gfx/colormap_palette.pl index 9cd9a0d70..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: $_"; @@ -53,4 +56,4 @@ for(@colors) ++$i; } -print "$pal_colormap"; +print "$pal_colormap$pal_colormap$pal_colormap$pal_colormap";