Rename MapGridType.Diamond to MapGridType.RectangularIsometric

This commit is contained in:
Pavel Penev
2015-10-01 01:00:29 +03:00
parent 0e417a3cf3
commit b16ebd480b
13 changed files with 38 additions and 40 deletions

View File

@@ -46,7 +46,7 @@ namespace OpenRA
if (gridType == MapGridType.Rectangular)
return new CPos(U, V);
// Convert from rectangular map position to diamond cell position
// Convert from rectangular map position to RectangularIsometric cell position
// - The staggered rows make this fiddly (hint: draw a diagram!)
// (a) Consider the relationships:
// - +1u (even -> odd) adds (1, -1) to (x, y)