I noticed in the changelogs that xpos, ypos, and refxpos and refypos are relative to map size instead of in the same units as dist now.
Question: How do dx, sx, etc behave now? Are they in the same units as xpos/ypos, or the same units as dist?
Do we need to do dist(refxpos, 0) to convert refxpos, for instance, to normal units now? (And would that be slow?)
This affects the position and movement code in most of my bots, which generally have a fixed angle of facing that they maintain all the time, and thus have sx and dx on the same axes that xpos and ypos are on. For instance, they may set up to refypos - ypos, and sx to refxpos - xpos.
It also applies to the target-position-prediction on many of my bots, like basically all versions of Guardian.