Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rescale isometric world coordinates to measure 1024 along the cell axes. #13253
On current bleed ranges are measured horizontally on the screen, so a 2c512 range gives a circle intersecting with the corners of the cells to the left/right.
This is counterintuitive because most people expect ranges to be measured down the cell axis, meaning that the above should be closer to 3c512.
This PR rescales the World ⇆ Cell coordinate transformations for RectangularIsometric mods down by a factor of sqrt(2) so that the size running down the world axes is 1024 instead.
This issue has been known for a long time (but I can't find the issue # for it), but has been blocked on a combination of lack of interest, ugly upstream code that hardcoded transforms, and downstream breakage. Most of our ugly code has now been rewritten, and downstream breakage is mitigated by decoupling mod releases from specific engine versions.
I have included upgrade rules for the
I'll deal with anything else we might have overlooked, and some fine-tuning if necessary, in a dedicated PR.