enhanced smudge support to do rings, etc

This commit is contained in:
Chris Forbes
2010-03-07 13:57:05 +13:00
parent ee88336060
commit 5e461d0082
3 changed files with 21 additions and 12 deletions

View File

@@ -28,6 +28,8 @@ namespace OpenRA.GameRules
public readonly bool Wood = false;
public readonly bool Ore = false;
public readonly int Explosion = 0;
public readonly SmudgeType SmudgeType = SmudgeType.None;
public readonly int[] SmudgeSize = { 0,0 };
public readonly int InfDeath = 0;
public readonly string ImpactSound = null;
public readonly string WaterImpactSound = null;
@@ -43,4 +45,11 @@ namespace OpenRA.GameRules
heavy = 3,
concrete = 4,
}
public enum SmudgeType
{
None = 0,
Crater = 1,
Scorch = 2,
}
}