Run spell check over solution
This commit is contained in:
@@ -107,7 +107,7 @@ namespace OpenRA
|
||||
// - the triangles ACD and BCD must have opposite sense (clockwise or anticlockwise)
|
||||
// - the triangles CAB and DAB must have opposite sense
|
||||
// Segments intersect if the orientation (clockwise or anticlockwise) of the two points in each line segment are opposite with respect to the other
|
||||
// Assumes that lines are not colinear
|
||||
// Assumes that lines are not collinear
|
||||
return WindingDirectionTest(c, d, a) != WindingDirectionTest(c, d, b) && WindingDirectionTest(a, b, c) != WindingDirectionTest(a, b, d);
|
||||
}
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ namespace OpenRA.Graphics
|
||||
|
||||
if (unlockMinZoom)
|
||||
{
|
||||
// Specators and the map editor support zooming out by an extra factor of two.
|
||||
// Spectators and the map editor support zooming out by an extra factor of two.
|
||||
// TODO: Allow zooming out until the full map is visible
|
||||
// We need to improve our viewport scroll handling to center the map as we zoom out
|
||||
// before this will work well enough to enable
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace OpenRA
|
||||
|
||||
try
|
||||
{
|
||||
// HACK: If the path is inside the the support directory then we may need to create it
|
||||
// HACK: If the path is inside the support directory then we may need to create it
|
||||
// Assume that the path is a directory if there is not an existing file with the same name
|
||||
var resolved = Platform.ResolvePath(name);
|
||||
if (resolved.StartsWith(Platform.SupportDir) && !File.Exists(resolved))
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace OpenRA
|
||||
else
|
||||
Polygons = new[] { Corners };
|
||||
|
||||
// Initial value must be asigned before HeightOffset can be called
|
||||
// Initial value must be assigned before HeightOffset can be called
|
||||
CenterHeightOffset = 0;
|
||||
CenterHeightOffset = HeightOffset(0, 0);
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace OpenRA.Primitives
|
||||
public static long Mask => allBits;
|
||||
}
|
||||
|
||||
// Opitmized BitSet to be used only when guaranteed to be no more than 64 values.
|
||||
// Optimized BitSet to be used only when guaranteed to be no more than 64 values.
|
||||
public readonly struct LongBitSet<T> : IEnumerable<string>, IEquatable<LongBitSet<T>> where T : class
|
||||
{
|
||||
readonly long bits;
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace OpenRA
|
||||
[Desc("Display a graph with various profiling traces")]
|
||||
public bool PerfGraph = false;
|
||||
|
||||
[Desc("Numer of samples to average over when calculating tick and render times.")]
|
||||
[Desc("Number of samples to average over when calculating tick and render times.")]
|
||||
public int Samples = 25;
|
||||
|
||||
[Desc("Check whether a newer version is available online.")]
|
||||
|
||||
@@ -625,7 +625,7 @@ namespace OpenRA.Support
|
||||
if (lastToken.Opens != Grouping.None && token.Closes != Grouping.None)
|
||||
throw new InvalidDataException($"Empty parenthesis at index {lastToken.Index}");
|
||||
|
||||
// Exactly one of two consective tokens must take the other's sub-expression evaluation as an operand
|
||||
// Exactly one of two consecutive tokens must take the other's sub-expression evaluation as an operand
|
||||
if (lastToken.RightOperand == token.LeftOperand)
|
||||
{
|
||||
if (lastToken.RightOperand)
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace OpenRA
|
||||
{
|
||||
if (args.Length % 2 != 0)
|
||||
throw new ArgumentException("Expected a comma separated list of name, value arguments"
|
||||
+ "but the number of arguments is not a multiple of two", nameof(args));
|
||||
+ " but the number of arguments is not a multiple of two", nameof(args));
|
||||
|
||||
var argumentDictionary = new Dictionary<string, object> { { name, value } };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user