
This may not be the case in all systems, for D&D 3.5 diagonal movement is counted as 1 square (5') for the first diagonal movement, then 2 squares (10') for the second, 1 square for the third, 2 squares for the fourth. Essentially 1.5 squares rounded down per square moved diagonally.
A square marked as 15' away going diagonally the entire distance is actually 20' away. Perhaps a "movement calculator" and a "distance measurement" could be implemented?