equal
deleted
inserted
replaced
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; |