Unhardcode beacon sprites for documentation and lint testing.

This commit is contained in:
Matthias Mailänder
2016-02-14 11:31:55 +01:00
parent cc9f84f136
commit 76124b7c79
5 changed files with 14 additions and 6 deletions

View File

@@ -45,9 +45,11 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Beacons are only supported on the Airstrike and Nuke powers")]
public readonly bool DisplayBeacon = false;
public readonly string BeaconPalettePrefix = "player";
public readonly string BeaconPoster = null;
[PaletteReference(true)] public readonly string BeaconPalettePrefix = "player";
public readonly string BeaconImage = "beacon";
[SequenceReference("BeaconImage")] public readonly string BeaconPoster = null;
[PaletteReference] public readonly string BeaconPosterPalette = "chrome";
[SequenceReference("BeaconImage")] public readonly string ClockSequence = "clock";
public readonly bool DisplayRadarPing = false;