Advertisement
Andrey_Mironenko

Untitled

Dec 17th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. procedure continent;
  2. begin
  3. map[temp_w, temp_h]:=2;
  4. t_wx:= wherex;
  5. t_wy:= wherey;
  6.  
  7. for temp_r:= 1 to frq_g do
  8. begin
  9. test1_x:= temp_w+1;
  10. test1_y:= temp_h+1;
  11. if test1_x>w1 then test1_x:=temp_w
  12. else
  13. if test1_y>h1 then test1_y:=temp_h
  14. else
  15. if test1_x<0 then test1_x:=temp_w
  16. else
  17. if test1_y<0 then test1_y:=temp_h;
  18. map[test1_x, test1_y]:=2;
  19. end;
  20. end;
  21. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement