diff --git a/INSTALL.md b/INSTALL.md
index bb494f8a0e54..aeee3f5010b5 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -21,7 +21,7 @@ Linux
Mono, version 5.18 or later, is required to compile OpenRA. You can add the [upstream mono repository](https://www.mono-project.com/download/stable/#download-lin) for your distro to obtain the latest version if your system packages are not sufficient.
-To compile OpenRA, run `make` from the command line. After this one can run the game with `./launch-game.sh`. It is also possible to specify the mod you wish to run from the command line, e.g. with `./launch-game.sh Game.Mod=ts` if you wish to try the experimental Tiberian Sun mod.
+To compile OpenRA, run `make` from the command line. After this one can run the game with `./launch-game.sh`. It is also possible to specify the mod you wish to run from the command line, e.g. with `./launch-game.sh Game.Mod=ts` if you wish to try the experimental Tiberian Sun mod.
The default behaviour on the x86_64 architecture is to download several pre-compiled native libraries using the Nuget packaging manager. If you prefer to use system libraries, compile instead using `make TARGETPLATFORM=unix-generic`.
@@ -31,7 +31,7 @@ If you choose to use system libraries, or your system is not x86_64, you will ne
* [OpenAL](http://kcat.strangesoft.net/openal.html)
* [liblua 5.1](http://luabinaries.sourceforge.net/download.html)
-Type `sudo make install` for system-wide installation. Run `sudo make install-linux-shortcuts` to get startup scripts, icons and desktop files. You can then run the Red Alert by executing the `openra-ra` command, the Dune 2000 mod by running the `openra-d2k` command and Tiberian Dawn by the `openra-cnc` command. Alternatively, you can also run these mods by clicking on their desktop shortcuts if you ran `sudo make install-linux-shortcuts`.
+Type `sudo make install` for system-wide installation. Run `sudo make install-linux-shortcuts` to get startup scripts, icons and desktop files. You can then run the Red Alert by executing the `openra-ra` command, the Dune 2000 mod by running the `openra-d2k` command and Tiberian Dawn by the `openra-cnc` command. Alternatively, you can also run these mods by clicking on their desktop shortcuts if you ran `sudo make install-linux-shortcuts`.
Arch Linux
----------
@@ -89,7 +89,7 @@ sudo zypper in mono-devel openal-soft freetype2 SDL2 lua51 xdg-utils zenity
Red Hat Enterprise Linux (and rebuilds, e.g. CentOS)
----------------------------------------------------
-The EPEL repository is required in order for the following command to run properly.
+The EPEL repository is required in order for the following command to run properly.
```
sudo yum install "pkgconfig(mono)" SDL2 freetype "lua = 5.1" openal-soft xdg-utils zenity
diff --git a/Makefile b/Makefile
index 2933f3edfcd6..4f8d442251e6 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@
WHITELISTED_OPENRA_ASSEMBLIES = OpenRA.Game.exe OpenRA.Utility.exe OpenRA.Platforms.Default.dll OpenRA.Mods.Common.dll OpenRA.Mods.Cnc.dll OpenRA.Mods.D2k.dll OpenRA.Game.dll
# These are explicitly shipped alongside our core files by the packaging script
-WHITELISTED_THIRDPARTY_ASSEMBLIES = ICSharpCode.SharpZipLib.dll FuzzyLogicLibrary.dll Eluant.dll BeaconLib.dll Open.Nat.dll SDL2-CS.dll OpenAL-CS.Core.dll
+WHITELISTED_THIRDPARTY_ASSEMBLIES = ICSharpCode.SharpZipLib.dll FuzzyLogicLibrary.dll Eluant.dll BeaconLib.dll Open.Nat.dll SDL2-CS.dll OpenAL-CS.Core.dll
# These are shipped in our custom minimal mono runtime and also available in the full system-installed .NET/mono stack
# This list *must* be kept in sync with the files packaged by the AppImageSupport and OpenRALauncherOSX repositories
diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj
index 7d40c29ff223..6008c90bf5e9 100644
--- a/OpenRA.Game/OpenRA.Game.csproj
+++ b/OpenRA.Game/OpenRA.Game.csproj
@@ -55,7 +55,7 @@
-
+
diff --git a/README.md b/README.md
index 17f5476ecdbe..3142c3bf665a 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ Check our [Playing the Game](https://github.com/OpenRA/OpenRA/wiki/Playing-the-g
## License
Copyright 2007-2020 The OpenRA Developers (see [AUTHORS](https://github.com/OpenRA/OpenRA/blob/bleed/AUTHORS))
-This file is part of OpenRA, which is free software. It is made
+This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version. For more
diff --git a/glsl/combined.frag b/glsl/combined.frag
index 49c12c28f638..42341959658b 100644
--- a/glsl/combined.frag
+++ b/glsl/combined.frag
@@ -179,7 +179,7 @@ void main()
// Offset the sampling point to simulate bilinear intepolation in window coordinates instead of texture coordinates
// https://csantosbh.wordpress.com/2014/01/25/manual-texture-filtering-for-pixelated-games-in-webgl/
// https://csantosbh.wordpress.com/2014/02/05/automatically-detecting-the-texture-filter-threshold-for-pixelated-magnifications/
- // ik is defined as 1/k from the articles, set to 1/0.7 because it looks good
+ // ik is defined as 1/k from the articles, set to 1/0.7 because it looks good
float ik = 1.43;
vec2 interp = clamp(offset * ik * AntialiasPixelsPerTexel, 0.0, .5) + clamp((offset - 1.0) * ik * AntialiasPixelsPerTexel + .5, 0.0, .5);
coords = (floor(coords.st * textureSize) + interp) / textureSize;
diff --git a/glsl/combined.vert b/glsl/combined.vert
index 87ea4e781437..374f44f07929 100644
--- a/glsl/combined.vert
+++ b/glsl/combined.vert
@@ -61,7 +61,7 @@ vec4 UnpackChannelAttributes(float x)
if (x >= 32.0) { x -= 32.0; secondaryChannel += 4.0; }
if (x >= 16.0) { x -= 16.0; secondaryChannel += 2.0; }
if (x >= 8.0) { x -= 8.0; secondaryChannel += 1.0; }
-
+
float primaryChannel = 0.0;
if (x >= 4.0) { x -= 4.0; primaryChannel += 4.0; }
if (x >= 2.0) { x -= 2.0; primaryChannel += 2.0; }
@@ -115,7 +115,7 @@ void main()
gl_Position = vec4((aVertexPosition.xyz - Scroll.xyz) * r1 + r2, 1);
vTexCoord = aVertexTexCoord;
vTexMetadata = aVertexTexMetadata;
-
+
vec4 attrib = UnpackChannelAttributes(aVertexTexMetadata.t);
vChannelMask = SelectChannelMask(attrib.s);
vColorFraction = SelectColorFraction(attrib.s);
@@ -123,4 +123,4 @@ void main()
vPalettedFraction = SelectPalettedFraction(attrib.s);
vDepthMask = SelectChannelMask(attrib.t);
vTexSampler = attrib.pq;
-}
+}
diff --git a/launch-game.cmd b/launch-game.cmd
index 8aef80f57548..34ab79dd3f6c 100644
--- a/launch-game.cmd
+++ b/launch-game.cmd
@@ -5,7 +5,7 @@ for %%x in (%*) do (
)
:choosemod
-set /P mod=Select mod (ra, cnc, d2k, ts) or --exit:
+set /P mod=Select mod (ra, cnc, d2k, ts) or --exit:
if /I "%mod%" EQU "--exit" (exit /b)
if "%mod%" EQU "ra" (goto launchmod)
if "%mod%" EQU "cnc" (goto launchmod)
@@ -31,4 +31,4 @@ echo OpenRA has encountered a fatal error.
echo * Log Files are available in Documents\OpenRA\Logs
echo * FAQ is available at https://github.com/OpenRA/OpenRA/wiki/FAQ
echo ----------------------------------------
-pause
\ No newline at end of file
+pause
diff --git a/make.ps1 b/make.ps1
index 94615cb3e3a5..2bfd2e4ea835 100644
--- a/make.ps1
+++ b/make.ps1
@@ -3,7 +3,7 @@
###############################################################
########################## FUNCTIONS ##########################
###############################################################
-function All-Command
+function All-Command
{
if ((CheckForDotnet) -eq 1)
{
@@ -28,7 +28,7 @@ function All-Command
}
}
-function Clean-Command
+function Clean-Command
{
if ((CheckForDotnet) -eq 1)
{
@@ -51,7 +51,7 @@ function Clean-Command
Write-Host "Clean complete." -ForegroundColor Green
}
-function Version-Command
+function Version-Command
{
if ($command.Length -gt 1)
{
@@ -74,10 +74,10 @@ function Version-Command
}
}
else
- {
+ {
Write-Host "Unable to locate Git. The version will remain unchanged." -ForegroundColor Red
}
-
+
if ($version -ne $null)
{
$version | out-file ".\VERSION"
@@ -184,7 +184,7 @@ function CheckForUtility
function CheckForDotnet
{
- if ((Get-Command "dotnet" -ErrorAction SilentlyContinue) -eq $null)
+ if ((Get-Command "dotnet" -ErrorAction SilentlyContinue) -eq $null)
{
Write-Host "The 'dotnet' tool is required to compile OpenRA. Please install the .NET Core SDK or Visual Studio and try again. https://dotnet.microsoft.com/download" -ForegroundColor Red
return 1
@@ -255,7 +255,7 @@ switch ($execute)
Default { Write-Host ("Invalid command '{0}'" -f $command) }
}
-#In case the script was called without any parameters we keep the window open
+#In case the script was called without any parameters we keep the window open
if ($args.Length -eq 0)
{
WaitForInput
diff --git a/packaging/linux/buildpackage.sh b/packaging/linux/buildpackage.sh
index 71d1ef37b7f8..6ef8c32729de 100755
--- a/packaging/linux/buildpackage.sh
+++ b/packaging/linux/buildpackage.sh
@@ -142,7 +142,7 @@ build_appimage() {
# travis-ci doesn't support mounting FUSE filesystems so extract and run the contents manually
./appimagetool-x86_64.AppImage --appimage-extract
-
+
# Embed update metadata if (and only if) compiled on travis
if [ ! -z "${TRAVIS_REPO_SLUG}" ]; then
ARCH=x86_64 ./squashfs-root/AppRun --no-appstream -u "zsync|https://master.openra.net/appimagecheck?mod=${MOD_ID}&channel=${UPDATE_CHANNEL}" "${APPDIR}" "${OUTPUTDIR}/${APPIMAGE}"
diff --git a/packaging/linux/openra.appdata.xml.in b/packaging/linux/openra.appdata.xml.in
index 78b81543569e..4b9f65cf05e7 100644
--- a/packaging/linux/openra.appdata.xml.in
+++ b/packaging/linux/openra.appdata.xml.in
@@ -21,7 +21,7 @@
Units gain experience as they fight and improve when they earn new ranks
- OpenRA is 100% free, and comes bundled with three distinct mods. When you run a mod for the first time the game can automatically download the original game assets, or you can use the original game disks.
+ OpenRA is 100% free, and comes bundled with three distinct mods. When you run a mod for the first time the game can automatically download the original game assets, or you can use the original game disks.
diff --git a/packaging/windows/WindowsLauncher.cs.in b/packaging/windows/WindowsLauncher.cs.in
index a33d3e56a4d8..53b87e5d4273 100644
--- a/packaging/windows/WindowsLauncher.cs.in
+++ b/packaging/windows/WindowsLauncher.cs.in
@@ -43,7 +43,7 @@ namespace OpenRA
var launcherPath = Assembly.GetExecutingAssembly().Location;
var directory = Path.GetDirectoryName(launcherPath);
Directory.SetCurrentDirectory(directory);
-
+
AppDomain.CurrentDomain.UnhandledException += (_, e) => ExceptionHandler.HandleFatalError((Exception)e.ExceptionObject);
try
diff --git a/packaging/windows/buildpackage.sh b/packaging/windows/buildpackage.sh
index 88bc98dcd90d..74d032996932 100755
--- a/packaging/windows/buildpackage.sh
+++ b/packaging/windows/buildpackage.sh
@@ -35,7 +35,7 @@ function makelauncher()
if [ "$5" = "x86" ]; then
# Enable the full 4GB address space for the 32 bit game executable
- # The server and utility do not use enough memory to need this
+ # The server and utility do not use enough memory to need this
csc MakeLAA.cs -warn:4 -warnaserror -out:"MakeLAA.exe"
mono "MakeLAA.exe" "$1"
rm MakeLAA.exe
diff --git a/utility.cmd b/utility.cmd
index 6d8eba272b17..e36139c1fe40 100644
--- a/utility.cmd
+++ b/utility.cmd
@@ -5,7 +5,7 @@ echo ----------------------------------------
echo.
call OpenRA.Utility.exe
echo Enter --exit to exit
-set /P mod=Please enter a modname: OpenRA.Utility.exe
+set /P mod=Please enter a modname: OpenRA.Utility.exe
if /I "%mod%" EQU "--exit" (exit /b)
if /I "%mod%" EQU "ra" (goto help)
if /I "%mod%" EQU "cnc" (goto help)
@@ -30,7 +30,7 @@ echo --exit to exit
echo --help to view the help
echo --mod to choose a new mod
echo.
-set /P command=Please enter a command: OpenRA.Utility.exe %mod%
+set /P command=Please enter a command: OpenRA.Utility.exe %mod%
if /I "%command%" EQU "--exit" (exit /b)
if /I "%command%" EQU "--help" (goto help)
if /I "%command%" EQU "--mod" (goto choosemod)
@@ -39,4 +39,4 @@ echo ----------------------------------------
echo.
echo OpenRA.Utility.exe %mod% %command%
call OpenRA.Utility.exe %mod% %command%
-goto start
\ No newline at end of file
+goto start