Rename Image -> Images.

This commit is contained in:
Paul Chote
2015-03-30 20:18:22 +01:00
parent 4be5334a0e
commit 84e85d8a5d
20 changed files with 3587 additions and 3583 deletions

View File

@@ -60,7 +60,7 @@ namespace OpenRA.Graphics
{
var variants = new List<Sprite[]>();
foreach (var i in t.Value.Image)
foreach (var i in t.Value.Images)
{
var allFrames = frameCache[i];
var frames = t.Value.Frames != null ? t.Value.Frames.Select(f => allFrames[f]).ToArray() : allFrames;
@@ -73,7 +73,7 @@ namespace OpenRA.Graphics
if (tileset.IgnoreTileSpriteOffsets)
allSprites = allSprites.Select(s => new Sprite(s.Sheet, s.Bounds, float2.Zero, s.Channel, s.BlendMode));
templates.Add(t.Value.Id, new TheaterTemplate(allSprites.ToArray(), variants.First().Count(), t.Value.Image.Length));
templates.Add(t.Value.Id, new TheaterTemplate(allSprites.ToArray(), variants.First().Count(), t.Value.Images.Length));
}
// 1x1px transparent tile