I can't figure out how I can put this in a loop. It is probably really simple but I cant think straight right now.
I tried some things with the % operator but my logic is off
the sizes of map_x, map_y and tmp are not know until runtime.Code:map_x[0] = tmp[0]; map_y[0] = tmp[1]; map_x[1] = tmp[2]; map_y[1] = tmp[3]; map_x[2] = tmp[4]; map_y[2] = tmp[5]; map_x[3] = tmp[6]; map_y[3] = tmp[7]; map_x[4] = tmp[8]; map_y[4] = tmp[9];