hedgewars/uMisc.pas
changeset 945 4ead9cde4e14
parent 916 1d0022336fbb
child 949 866729775535
equal deleted inserted replaced
944:9299c0ebfdbc 945:4ead9cde4e14
   115 procedure SetLittle(var r: hwFloat);
   115 procedure SetLittle(var r: hwFloat);
   116 procedure SendStat(sit: TStatInfoType; s: shortstring);
   116 procedure SendStat(sit: TStatInfoType; s: shortstring);
   117 function  Str2PChar(const s: shortstring): PChar;
   117 function  Str2PChar(const s: shortstring): PChar;
   118 function  Surface2Tex(surf: PSDL_Surface): PTexture;
   118 function  Surface2Tex(surf: PSDL_Surface): PTexture;
   119 procedure FreeTexture(tex: PTexture);
   119 procedure FreeTexture(tex: PTexture);
       
   120 function  toPowerOf2(i: Longword): Longword;
   120 
   121 
   121 var CursorPoint: TPoint;
   122 var CursorPoint: TPoint;
   122     TargetPoint: TPoint = (X: NoPointX; Y: 0);
   123     TargetPoint: TPoint = (X: NoPointX; Y: 0);
   123 
   124 
   124 implementation
   125 implementation