diff -r 2f3e5c57359c -r d06e0e829828 hedgewars/uConsts.pas --- 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