Formatted all files.
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
This commit is contained in:
@@ -96,7 +96,7 @@ namespace OpenRA.Mods.D2k.Activities
|
||||
{
|
||||
state = State.MoveToCarryable;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// We got cancelled
|
||||
@@ -177,7 +177,7 @@ namespace OpenRA.Mods.D2k.Activities
|
||||
c.Dropped();
|
||||
|
||||
state = State.Done;
|
||||
return Util.SequenceActivities(new Wait(10), this);
|
||||
return Util.SequenceActivities(new Wait(10), this);
|
||||
|
||||
case State.Done:
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
public readonly long Offset = 0;
|
||||
public readonly bool AllowModifiers = true;
|
||||
public readonly bool InvertColor = false;
|
||||
|
||||
|
||||
public object Create(ActorInitializer init) { return new PaletteFromR8(this); }
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
}));
|
||||
|
||||
wormsPresent++;
|
||||
|
||||
|
||||
return spawnPoint.CenterPosition;
|
||||
}
|
||||
|
||||
|
||||
@@ -293,10 +293,10 @@ namespace OpenRA.Mods.D2k.Widgets
|
||||
var size = font.Measure(tb.Second);
|
||||
if (ReadyTextStyle == ReadyTextStyleOptions.Solid || orderManager.LocalFrameNumber / 9 % 2 == 0 || tb.Second != ReadyText)
|
||||
font.DrawTextWithContrast(tb.Second, tb.First - new float2(size.X / 2, 0),
|
||||
Color.White, Color.Black, 1);
|
||||
Color.White, Color.Black, 1);
|
||||
else if (ReadyTextStyle == ReadyTextStyleOptions.AlternatingColor)
|
||||
font.DrawTextWithContrast(tb.Second, tb.First - new float2(size.X / 2, 0),
|
||||
ReadyTextAltColor, Color.Black, 1);
|
||||
ReadyTextAltColor, Color.Black, 1);
|
||||
}
|
||||
|
||||
// Tooltip
|
||||
|
||||
Reference in New Issue
Block a user