From e67340f1c519103b7d1acef0f6a1a55946b37fbd Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 19 Feb 2024 15:42:10 -0700 Subject: [PATCH] Remove trailing whitespace --- doc/mainpage.hpp | 20 ++++++++++---------- tools/nuget/README.md | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/mainpage.hpp b/doc/mainpage.hpp index 358f727..6e64ead 100644 --- a/doc/mainpage.hpp +++ b/doc/mainpage.hpp @@ -14,7 +14,7 @@ /// /// #include /// #include -/// +/// /// int main() /// { /// sfVideoMode mode = {800, 600, 32}; @@ -37,7 +37,7 @@ /// return EXIT_FAILURE; /// sprite = sfSprite_create(); /// sfSprite_setTexture(sprite, texture, true); -/// +/// /// /* Create a graphical text to display */ /// font = sfFont_createFromFile("arial.ttf"); /// if (!font) @@ -46,7 +46,7 @@ /// sfText_setString(text, "Hello SFML"); /// sfText_setFont(text, font); /// sfText_setCharacterSize(text, 50); -/// +/// /// /* Load a music to play */ /// music = sfMusic_createFromFile("nice_music.ogg"); /// if (!music) @@ -54,7 +54,7 @@ /// /// /* Play the music */ /// sfMusic_play(music); -/// +/// /// /* Start the game loop */ /// while (sfRenderWindow_isOpen(window)) /// { @@ -65,20 +65,20 @@ /// if (event.type == sfEvtClosed) /// sfRenderWindow_close(window); /// } -/// +/// /// /* Clear the screen */ /// sfRenderWindow_clear(window, sfBlack); -/// +/// /// /* Draw the sprite */ /// sfRenderWindow_drawSprite(window, sprite, NULL); -/// +/// /// /* Draw the text */ /// sfRenderWindow_drawText(window, text, NULL); -/// +/// /// /* Update the window */ /// sfRenderWindow_display(window); /// } -/// +/// /// /* Cleanup resources */ /// sfMusic_destroy(music); /// sfText_destroy(text); @@ -86,7 +86,7 @@ /// sfSprite_destroy(sprite); /// sfTexture_destroy(texture); /// sfRenderWindow_destroy(window); -/// +/// /// return EXIT_SUCCESS; /// } /// \endcode diff --git a/tools/nuget/README.md b/tools/nuget/README.md index 32c1821..cc6ea9a 100644 --- a/tools/nuget/README.md +++ b/tools/nuget/README.md @@ -1,6 +1,6 @@ # CSFML NuGet Packages This directory contains all the files needed to build and package the native CSFML libraries for [SFML.Net](github.com/SFML/SFML.Net). -**All scripts must be run from the directory they are located in**. +**All scripts must be run from the directory they are located in**. That means that your current working directory (`$PWD`) must be the same where the script is. All build scripts follow the same routine: @@ -11,11 +11,11 @@ All build scripts follow the same routine: * `build.win.ps1` - * A [PowerShell](https://github.com/PowerShell/PowerShell) script to build Windows native libraries. By default, both `win-x86` and `win-x64` are built. To build only one specific Runtime Identifier, pass it to the script as a parameter (`./build.win.ps1 win-x64`) + * A [PowerShell](https://github.com/PowerShell/PowerShell) script to build Windows native libraries. By default, both `win-x86` and `win-x64` are built. To build only one specific Runtime Identifier, pass it to the script as a parameter (`./build.win.ps1 win-x64`) You must have Visual Studio 2019, cmake, and the Windows SDK 10 installed to run this script. * `build.linux.sh` - * A [Bash](https://www.gnu.org/software/bash/) script to build libraries for a generic Linux distribution. The [Runtime Identifier](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog) of the linux distribution must be specified as a parameter to the script. + * A [Bash](https://www.gnu.org/software/bash/) script to build libraries for a generic Linux distribution. The [Runtime Identifier](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog) of the linux distribution must be specified as a parameter to the script. This generic script doesn't install any of its dependencies. As such, you must have cmake and make installed, as well as all [SFML Dependencies](https://www.sfml-dev.org/tutorials/2.6/compile-with-cmake.php#installing-dependencies) available to cmake. * `build.macos.sh`