[nexuiz-commits] r6977 - in trunk/data: gfx qcsrc/common

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jun 11 06:13:47 EDT 2009


Author: div0
Date: 2009-06-11 06:13:46 -0400 (Thu, 11 Jun 2009)
New Revision: 6977

Removed:
   trunk/data/gfx/colormap_palette.base
Modified:
   trunk/data/gfx/colormap_palette.lmp
   trunk/data/qcsrc/common/util.qc
Log:
make blue team color brighter to match red


Deleted: trunk/data/gfx/colormap_palette.base
===================================================================
--- trunk/data/gfx/colormap_palette.base	2009-06-11 04:27:40 UTC (rev 6976)
+++ trunk/data/gfx/colormap_palette.base	2009-06-11 10:13:46 UTC (rev 6977)
@@ -1,26 +0,0 @@
-0.800000 0.800000 0.800000
-0.600000 0.400000 0.000000
-0.000000 1.000000 0.501961
-0.000000 1.000000 0.000000
-1.000000 0.000000 0.000000
-0.000000 0.501961 1.000000
-0.000000 1.000000 1.000000
-0.501961 1.000000 0.000000
-0.501961 0.000000 1.000000
-1.000000 0.000000 1.000000
-1.000000 0.000000 0.501961
-0.600000 0.600000 0.600000
-1.000000 1.000000 0.000000
-0.000000 0.000000 1.000000
-1.000000 0.501961 0.000000
-0.000000 0.000000 0.000000
-
-processing of player colors:
-:'<,'>!perl -pe '$_ = sprintf "\%s\n", unpack "H6", pack "CCC", map { $_ * 15/16 + 255/16 } unpack "CCC", pack "H6", $_'                     
-(put 1/16 white on them so other-colored light still affects them a bit)
-
-processing of scoreboard colors:
-:'<,'>!perl -pe '$_ = sprintf "\%s\n", unpack "H6", pack "CCC", map { $_ * 0.7 + 0.5 } unpack "CCC", pack "H6", $_'
-(made them darker by 30%)
-
-red has been darkened further manually

Modified: trunk/data/gfx/colormap_palette.lmp
===================================================================
(Binary files differ)

Modified: trunk/data/qcsrc/common/util.qc
===================================================================
--- trunk/data/qcsrc/common/util.qc	2009-06-11 04:27:40 UTC (rev 6976)
+++ trunk/data/qcsrc/common/util.qc	2009-06-11 10:13:46 UTC (rev 6977)
@@ -235,7 +235,7 @@
 		case  2: return '0.000000 1.000000 0.501961';
 		case  3: return '0.000000 1.000000 0.000000';
 		case  4: return '1.000000 0.000000 0.000000';
-		case  5: return '0.000000 0.501961 1.000000';
+		case  5: return '0.000000 0.658824 1.000000';
 		case  6: return '0.000000 1.000000 1.000000';
 		case  7: return '0.501961 1.000000 0.000000';
 		case  8: return '0.501961 0.000000 1.000000';
@@ -243,7 +243,7 @@
 		case 10: return '1.000000 0.000000 0.501961';
 		case 11: return '0.600000 0.600000 0.600000';
 		case 12: return '1.000000 1.000000 0.000000';
-		case 13: return '0.000000 0.000000 1.000000';
+		case 13: return '0.000000 0.313725 1.000000';
 		case 14: return '1.000000 0.501961 0.000000';
 		case 15:
 			if(isPants)



More information about the nexuiz-commits mailing list