hedgewars/uConsts.pas
changeset 5441 39962b855540
parent 5366 bfdd925e89a5
child 5550 50650032c251
child 5717 6d513913b7a9
--- a/hedgewars/uConsts.pas	Sat Jul 23 16:07:43 2011 -0400
+++ b/hedgewars/uConsts.pas	Sun Jul 24 00:25:35 2011 -0400
@@ -120,6 +120,16 @@
     cifAllInited = cifRandomize or cifTheme or cifMap;
 
     cTransparentColor: Longword = $00000000;
+    cGrayScale: Boolean = false;
+
+    RGB_LUMINANCE_RED    = 0.212671;
+    RGB_LUMINANCE_GREEN  = 0.715160;
+    RGB_LUMINANCE_BLUE   = 0.072169;
+(*
+    RGB_LUMINANCE_RED    = 0.3333333333;
+    RGB_LUMINANCE_GREEN  = 0.3333333333;
+    RGB_LUMINANCE_BLUE   = 0.3333333333;
+*)
 
     cMaxTeams        = 8;
     cMaxHHIndex      = 7;