Guest User

Untitled

a guest
Mar 4th, 2018
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GAMBAS 0.36 KB | None | 0 0
  1. st = global.stt;
  2. var k;
  3. k = 0;
  4. map_width = real(string_split(st,1,",")) * 256;
  5. map_width += real(string_split(st,2,","));
  6. map_height = real(string_split(st,3,",")) * 256;
  7. map_height += real(string_split(st,4,","));
  8. for (i = 0 i <= map_width-1 i += 1)
  9. {
  10. for (j = 0 j <= map_height-1 j += 1)
  11. {
  12.     map_ind[i,j] = real(string_split(st,5+k,","));
  13.     k += 1;
  14. }
  15. }
Add Comment
Please, Sign In to add comment