Merge pull request #10246 from penev92/terrainPalettes

Allow tile templates to define their own palette
This commit is contained in:
Oliver Brakmann
2016-01-17 21:39:28 +01:00
14 changed files with 39 additions and 21 deletions

View File

@@ -73,6 +73,7 @@ namespace OpenRA
public readonly int2 Size;
public readonly bool PickAny;
public readonly string Category;
public readonly string Palette;
readonly TerrainTileInfo[] tileInfo;
@@ -166,6 +167,8 @@ namespace OpenRA
public class TileSet
{
public const string TerrainPaletteInternalName = "terrain";
public readonly string Name;
public readonly string Id;
public readonly int SheetSize = 512;