hedgewars/uIO.pas
changeset 784 b203147d91b5
parent 656 6d6d9d7b1054
child 883 07a568ba44e0
equal deleted inserted replaced
783:4f59db6f147d 784:b203147d91b5
   256              end;
   256              end;
   257         'P': begin
   257         'P': begin
   258              CursorPoint.X:= SmallInt(SDLNet_Read16(@(headcmd^.X)) + WorldDx);
   258              CursorPoint.X:= SmallInt(SDLNet_Read16(@(headcmd^.X)) + WorldDx);
   259              CursorPoint.Y:= SmallInt(SDLNet_Read16(@(headcmd^.Y)) + WorldDy);
   259              CursorPoint.Y:= SmallInt(SDLNet_Read16(@(headcmd^.Y)) + WorldDy);
   260              end;
   260              end;
       
   261         'w': ParseCommand('setweap ' + headcmd^.str[2], true);
   261         '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true);
   262         '1'..'5': ParseCommand('timer ' + headcmd^.cmd, true);
   262         #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true)
   263         #128..char(128 + cMaxSlotIndex): ParseCommand('slot ' + char(byte(headcmd^.cmd) - 79), true)
   263         end;
   264         end;
   264    RemoveCmd
   265    RemoveCmd
   265    end;
   266    end;