Contrail trait

This commit is contained in:
Caleb Anderson
2010-10-23 23:29:38 -05:00
committed by Chris Forbes
parent ff7daf8727
commit c568dfa486
6 changed files with 139 additions and 3 deletions

2
OpenRA.FileFormats/PlayerColorRemap.cs Normal file → Executable file
View File

@@ -32,7 +32,7 @@ namespace OpenRA.FileFormats
.ToDictionary(u => u.First, u => u.Second);
}
static Color ColorLerp(float t, Color c1, Color c2)
public static Color ColorLerp(float t, Color c1, Color c2)
{
return Color.FromArgb(255,
(int)(t * c2.R + (1 - t) * c1.R),