hedgewars/uIO.pas
changeset 2643 2074393d4db7
parent 2630 079ef82eac75
child 2645 89aa2aa89066
equal deleted inserted replaced
2642:097e3baa1305 2643:2074393d4db7
   307 			{$IFDEF DEBUGFILE}AddFileLog('got cmd "N": time '+inttostr(hiTicks shl 16 + headcmd^.loTime)){$ENDIF}
   307 			{$IFDEF DEBUGFILE}AddFileLog('got cmd "N": time '+inttostr(hiTicks shl 16 + headcmd^.loTime)){$ENDIF}
   308 			end;
   308 			end;
   309 		'p': begin
   309 		'p': begin
   310 			TargetPoint.X:= SDLNet_Read16(@(headcmd^.X));
   310 			TargetPoint.X:= SDLNet_Read16(@(headcmd^.X));
   311 			TargetPoint.Y:= SDLNet_Read16(@(headcmd^.Y));
   311 			TargetPoint.Y:= SDLNet_Read16(@(headcmd^.Y));
   312 			ParseCommand('put', true)
   312 			doPut(TargetPoint.X, TargetPoint.Y, true)
   313 			end;
   313 			end;
   314 		'P': begin
   314 		'P': begin
   315 			// these are equations solved for CursorPoint
   315 			// these are equations solved for CursorPoint
   316 			// SDLNet_Read16(@(headcmd^.X)) == CursorPoint.X - WorldDx;
   316 			// SDLNet_Read16(@(headcmd^.X)) == CursorPoint.X - WorldDx;
   317 			// SDLNet_Read16(@(headcmd^.Y)) == cScreenHeight - CursorPoint.Y - WorldDy;
   317 			// SDLNet_Read16(@(headcmd^.Y)) == cScreenHeight - CursorPoint.Y - WorldDy;