hedgewars/uIO.pas
changeset 8024 1d5baba66cb6
parent 8003 7d8bce524daf
child 8096 453917e94e55
child 8145 6408c0ba4ba1
equal deleted inserted replaced
8021:095d5ff3d39b 8024:1d5baba66cb6
   235 end;
   235 end;
   236 
   236 
   237 procedure SendIPCXY(cmd: char; X, Y: LongInt);
   237 procedure SendIPCXY(cmd: char; X, Y: LongInt);
   238 var s: shortstring;
   238 var s: shortstring;
   239 begin
   239 begin
   240 s[0]:= #5;
   240 s[0]:= #9;
   241 s[1]:= cmd;
   241 s[1]:= cmd;
   242 SDLNet_Write32(X, @s[2]);
   242 SDLNet_Write32(X, @s[2]);
   243 SDLNet_Write32(Y, @s[4]);
   243 SDLNet_Write32(Y, @s[6]);
   244 SendIPC(s)
   244 SendIPC(s)
   245 end;
   245 end;
   246 
   246 
   247 procedure IPCWaitPongEvent;
   247 procedure IPCWaitPongEvent;
   248 begin
   248 begin