Merge pull request #8956 from Mailaender/simple-things

Added missing lint references
This commit is contained in:
Pavel Penev
2015-08-05 16:59:21 +03:00
5 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRA.Mods.Common.Traits
{
public class BibInfo : ITraitInfo, Requires<BuildingInfo>, IRenderActorPreviewSpritesInfo, Requires<RenderSpritesInfo>
{
public readonly string Sequence = "bib";
[SequenceReference] public readonly string Sequence = "bib";
public readonly string Palette = "terrain";
public readonly bool HasMinibib = false;

View File

@@ -39,7 +39,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly int[] SouthOffset = null;
[Desc("The name of the weapon to use when demolishing the bridge")]
public readonly string DemolishWeapon = "Demolish";
[WeaponReference] public readonly string DemolishWeapon = "Demolish";
public object Create(ActorInitializer init) { return new Bridge(init.Self, this); }

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly bool CancelWhenDisabled = false;
public readonly string IndicatorImage = "allyrepair";
public readonly string IndicatorSequence = "repair";
[SequenceReference("IndicatorImage")] public readonly string IndicatorSequence = "repair";
[Desc("Overrides the IndicatorPalettePrefix.")]
public readonly string IndicatorPalette = "";

View File

@@ -14,7 +14,7 @@ using OpenRA.Graphics;
using OpenRA.Mods.Common.Traits;
using OpenRA.Traits;
namespace OpenRA.Mods.D2k.Traits
namespace OpenRA.Mods.Common.Traits
{
[Desc("Create a palette by applying alpha transparency to another palette.")]
class PaletteFromPaletteWithAlphaInfo : ITraitInfo

View File

@@ -14,7 +14,7 @@ using OpenRA.Graphics;
using OpenRA.Mods.Common.Traits;
using OpenRA.Traits;
namespace OpenRA.Mods.D2k.Traits
namespace OpenRA.Mods.Common.Traits
{
[Desc("Create player palettes by applying alpha transparency to another player palette.")]
class PaletteFromPlayerPaletteWithAlphaInfo : ITraitInfo