Editor - Template categories are now ordered by whats specified in the tileset yaml

This commit is contained in:
Curtis Shmyr
2012-12-09 16:01:10 -07:00
committed by Chris Forbes
parent b56125fa39
commit ac301b22e2
5 changed files with 34 additions and 16 deletions

View File

@@ -84,6 +84,7 @@ namespace OpenRA.FileFormats
public int WaterPaletteRotationBase = 0x60;
public Dictionary<string, TerrainTypeInfo> Terrain = new Dictionary<string, TerrainTypeInfo>();
public Dictionary<ushort, TileTemplate> Templates = new Dictionary<ushort, TileTemplate>();
public string[] EditorTemplateOrder;
static readonly string[] fields = {"Name", "TileSize", "Id", "Palette", "Extensions"};