hedgewars/uMisc.pas
changeset 307 96b428ac11f2
parent 306 7b61834edcf6
child 308 806c3b55500d
equal deleted inserted replaced
306:7b61834edcf6 307:96b428ac11f2
   218 begin
   218 begin
   219 Result:= '(x: ' + inttostr(rect.x) + '; y: ' + inttostr(rect.y) + '; w: ' + inttostr(rect.w) + '; h: ' + inttostr(rect.h) + ')'
   219 Result:= '(x: ' + inttostr(rect.x) + '; y: ' + inttostr(rect.y) + '; w: ' + inttostr(rect.w) + '; h: ' + inttostr(rect.h) + ')'
   220 end;
   220 end;
   221 
   221 
   222 procedure SendStat(sit: TStatInfoType; s: shortstring);
   222 procedure SendStat(sit: TStatInfoType; s: shortstring);
   223 const stc: array [TStatInfoType] of char = 'r';
   223 const stc: array [TStatInfoType] of char = 'rDK';
   224 begin
   224 begin
   225 SendIPC('i' + stc[sit] + s)
   225 SendIPC('i' + stc[sit] + s)
   226 end;
   226 end;
   227 
   227 
   228 initialization
   228 initialization