Replace 'target point' by 'center' in all descriptions
This commit is contained in:
@@ -30,10 +30,10 @@ namespace OpenRA.Mods.Common.HitShapes
|
|||||||
|
|
||||||
public readonly WDist Radius = new WDist(426);
|
public readonly WDist Radius = new WDist(426);
|
||||||
|
|
||||||
[Desc("Defines the top offset relative to the actor's target point.")]
|
[Desc("Defines the top offset relative to the actor's center.")]
|
||||||
public readonly int VerticalTopOffset = 0;
|
public readonly int VerticalTopOffset = 0;
|
||||||
|
|
||||||
[Desc("Defines the bottom offset relative to the actor's target point.")]
|
[Desc("Defines the bottom offset relative to the actor's center.")]
|
||||||
public readonly int VerticalBottomOffset = 0;
|
public readonly int VerticalBottomOffset = 0;
|
||||||
|
|
||||||
int2 ab;
|
int2 ab;
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ namespace OpenRA.Mods.Common.HitShapes
|
|||||||
[FieldLoader.Require]
|
[FieldLoader.Require]
|
||||||
public readonly WDist Radius = new WDist(426);
|
public readonly WDist Radius = new WDist(426);
|
||||||
|
|
||||||
[Desc("Defines the top offset relative to the actor's target point.")]
|
[Desc("Defines the top offset relative to the actor's center.")]
|
||||||
public readonly int VerticalTopOffset = 0;
|
public readonly int VerticalTopOffset = 0;
|
||||||
|
|
||||||
[Desc("Defines the bottom offset relative to the actor's target point.")]
|
[Desc("Defines the bottom offset relative to the actor's center.")]
|
||||||
public readonly int VerticalBottomOffset = 0;
|
public readonly int VerticalBottomOffset = 0;
|
||||||
|
|
||||||
public CircleShape() { }
|
public CircleShape() { }
|
||||||
|
|||||||
@@ -24,10 +24,10 @@ namespace OpenRA.Mods.Common.HitShapes
|
|||||||
[FieldLoader.Require]
|
[FieldLoader.Require]
|
||||||
public readonly int2[] Points;
|
public readonly int2[] Points;
|
||||||
|
|
||||||
[Desc("Defines the top offset relative to the actor's target point.")]
|
[Desc("Defines the top offset relative to the actor's center.")]
|
||||||
public readonly int VerticalTopOffset = 0;
|
public readonly int VerticalTopOffset = 0;
|
||||||
|
|
||||||
[Desc("Defines the bottom offset relative to the actor's target point.")]
|
[Desc("Defines the bottom offset relative to the actor's center.")]
|
||||||
public readonly int VerticalBottomOffset = 0;
|
public readonly int VerticalBottomOffset = 0;
|
||||||
|
|
||||||
[Desc("Rotates shape by an angle relative to actor facing. Mostly required for buildings on isometric terrain.",
|
[Desc("Rotates shape by an angle relative to actor facing. Mostly required for buildings on isometric terrain.",
|
||||||
|
|||||||
@@ -28,10 +28,10 @@ namespace OpenRA.Mods.Common.HitShapes
|
|||||||
[FieldLoader.Require]
|
[FieldLoader.Require]
|
||||||
public readonly int2 BottomRight;
|
public readonly int2 BottomRight;
|
||||||
|
|
||||||
[Desc("Defines the top offset relative to the actor's target point.")]
|
[Desc("Defines the top offset relative to the actor's center.")]
|
||||||
public readonly int VerticalTopOffset = 0;
|
public readonly int VerticalTopOffset = 0;
|
||||||
|
|
||||||
[Desc("Defines the bottom offset relative to the actor's target point.")]
|
[Desc("Defines the bottom offset relative to the actor's center.")]
|
||||||
public readonly int VerticalBottomOffset = 0;
|
public readonly int VerticalBottomOffset = 0;
|
||||||
|
|
||||||
[Desc("Rotates shape by an angle relative to actor facing. Mostly required for buildings on isometric terrain.",
|
[Desc("Rotates shape by an angle relative to actor facing. Mostly required for buildings on isometric terrain.",
|
||||||
|
|||||||
Reference in New Issue
Block a user