Add MapGrid class

MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
This commit is contained in:
Pavel Penev
2015-09-14 01:55:00 +03:00
parent 699a7f8227
commit 642468ce0c
28 changed files with 164 additions and 157 deletions

View File

@@ -38,7 +38,7 @@ namespace OpenRA
public CPos ToCPos(Map map)
{
return ToCPos(map.TileShape);
return ToCPos(map.Grid.Type);
}
public CPos ToCPos(TileShape shape)