Refactored WaterPaletteRotation

Moved RotationBase from tileset definition to WaterPaletteRotation effect.
Unhardcoded rotation range and rotation rate.
Added possibility to exclude Tilesets from effect.

Fixed RA water palette rotation for actors on desert maps (#8872).
This commit is contained in:
reaperrr
2015-08-18 19:54:50 +02:00
parent 7912e3c7ff
commit ca055eb7bb
10 changed files with 42 additions and 22 deletions

View File

@@ -171,7 +171,6 @@ namespace OpenRA
public readonly int SheetSize = 512;
public readonly string Palette;
public readonly string PlayerPalette;
public readonly int WaterPaletteRotationBase = 0x60;
public readonly Color[] HeightDebugColors = new[] { Color.Red };
public readonly string[] EditorTemplateOrder;
public readonly bool IgnoreTileSpriteOffsets;