Run spell check over solution

This commit is contained in:
RoosterDragon
2021-12-05 16:22:22 +00:00
committed by reaperrr
parent b3d290edd9
commit 727084c5fc
31 changed files with 34 additions and 34 deletions

View File

@@ -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);
}

View File

@@ -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

View File

@@ -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))

View File

@@ -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);
}

View File

@@ -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;

View File

@@ -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.")]

View File

@@ -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)

View File

@@ -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 } };