hedgewars/uConsts.pas
changeset 2575 d06e0e829828
parent 2568 e654cbfb23ba
child 2583 f8da275981e5
--- a/hedgewars/uConsts.pas	Wed Oct 21 19:41:24 2009 +0000
+++ b/hedgewars/uConsts.pas	Thu Oct 22 18:59:35 2009 +0000
@@ -1556,6 +1556,35 @@
 			PosSprite: sprWater)
 			);
 
+
+const convFormat: TSDL_PixelFormat = (
+	palette: nil;
+	BitsPerPixel : 32;
+	BytesPerPixel: 4;
+	Rloss : 0;
+	Gloss : 0;
+	Bloss : 0;
+	Aloss : 0;
+//if little endian -> bgra
+	Rshift: 0;
+        Gshift: 8;
+        Bshift: 16;
+        Ashift: 24;
+//else		   -> argb (or rgba?)
+//	Rshift: 24;
+//      Gshift: 16;
+//      Bshift: 8;
+//      Ashift: 0;
+//endif
+	RMask : RMask;
+	GMask : GMask;
+	BMask : BMask;
+	AMask : AMask;
+	colorkey: 0;
+	alpha : 255
+);
+			
+
 var CountTexz: array[1..9] of PTexture;
 
 implementation