hedgewars/uConsts.pas
changeset 2575 d06e0e829828
parent 2568 e654cbfb23ba
child 2583 f8da275981e5
equal deleted inserted replaced
2574:2f3e5c57359c 2575:d06e0e829828
  1554 			SkipTurns: 0;
  1554 			SkipTurns: 0;
  1555 			PosCount: 1;
  1555 			PosCount: 1;
  1556 			PosSprite: sprWater)
  1556 			PosSprite: sprWater)
  1557 			);
  1557 			);
  1558 
  1558 
       
  1559 
       
  1560 const convFormat: TSDL_PixelFormat = (
       
  1561 	palette: nil;
       
  1562 	BitsPerPixel : 32;
       
  1563 	BytesPerPixel: 4;
       
  1564 	Rloss : 0;
       
  1565 	Gloss : 0;
       
  1566 	Bloss : 0;
       
  1567 	Aloss : 0;
       
  1568 //if little endian -> bgra
       
  1569 	Rshift: 0;
       
  1570         Gshift: 8;
       
  1571         Bshift: 16;
       
  1572         Ashift: 24;
       
  1573 //else		   -> argb (or rgba?)
       
  1574 //	Rshift: 24;
       
  1575 //      Gshift: 16;
       
  1576 //      Bshift: 8;
       
  1577 //      Ashift: 0;
       
  1578 //endif
       
  1579 	RMask : RMask;
       
  1580 	GMask : GMask;
       
  1581 	BMask : BMask;
       
  1582 	AMask : AMask;
       
  1583 	colorkey: 0;
       
  1584 	alpha : 255
       
  1585 );
       
  1586 			
       
  1587 
  1559 var CountTexz: array[1..9] of PTexture;
  1588 var CountTexz: array[1..9] of PTexture;
  1560 
  1589 
  1561 implementation
  1590 implementation
  1562 
  1591 
  1563 end.
  1592 end.