You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GetUrlScript.txt 225 B

54 年之前
1234567
  1. var
  2. shift:integer;
  3. begin
  4. if getz < 4 then shift:=0 else shift:=round(intpower(2,getz-3))+1;
  5. ResultURL:=GetURLBase+'/'+inttostr(GetZ-2)+'/'+inttostr(GetX)+'/'+inttostr(round(intpower(2,GetZ)div 2) - GetY -shift);
  6. end.