update data sln; 4-wide bibs
This commit is contained in:
@@ -16,7 +16,7 @@ namespace OpenRa.Graphics
|
||||
|
||||
static string[] smudgeSpriteNames =
|
||||
{
|
||||
"bib3", "bib2", "sc1", "sc2", "sc3", "sc4", "sc5", "sc6",
|
||||
"bib3", "bib2", "bib1", "sc1", "sc2", "sc3", "sc4", "sc5", "sc6",
|
||||
"cr1", "cr2", "cr3", "cr4", "cr5", "cr6",
|
||||
};
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ namespace OpenRa
|
||||
{
|
||||
static class Smudge
|
||||
{
|
||||
const int firstScorch = 11;
|
||||
const int firstCrater = 17;
|
||||
const int firstScorch = 19;
|
||||
const int firstCrater = 25;
|
||||
const int framesPerCrater = 5;
|
||||
|
||||
public static void AddSmudge(this Map map, bool isCrater, int x, int y)
|
||||
|
||||
@@ -10,8 +10,7 @@ namespace OpenRa.Traits
|
||||
|
||||
public class RenderBuilding : RenderSimple, INotifyDamage, INotifySold
|
||||
{
|
||||
const int SmallBibStart = 1;
|
||||
const int LargeBibStart = 5;
|
||||
static readonly int[] bibStarts = { 0, 0, 1, 5, 11 };
|
||||
|
||||
public RenderBuilding(Actor self)
|
||||
: base(self)
|
||||
@@ -38,7 +37,7 @@ namespace OpenRa.Traits
|
||||
{
|
||||
var size = buildingInfo.Dimensions.X;
|
||||
var bibOffset = buildingInfo.Dimensions.Y - 1;
|
||||
var startIndex = (size == 2) ? SmallBibStart : LargeBibStart;
|
||||
var startIndex = bibStarts[size];
|
||||
|
||||
for (int i = 0; i < 2 * size; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user