]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - gfx/colormap_palette.pl
Fix ladder temporary entity not removed in some cases
[xonotic/xonotic-data.pk3dir.git] / gfx / colormap_palette.pl
index 703b8b1c924c392da0048e1b730f2311d34201be..dc99b649904ef88c1ba7e27ff405d114619d01a5 100644 (file)
@@ -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: $_";