Source code changes.
* Changed newlines to \n. * Removed whitespace before colons. * Fixed several alignments.
This commit is contained in:
parent
b27cbd5036
commit
f24ca9a840
268 changed files with 40227 additions and 40227 deletions
|
@ -63,12 +63,12 @@ int main(int, char const**)
|
|||
sf::Event event;
|
||||
while (window.pollEvent(event))
|
||||
{
|
||||
// Close window : exit
|
||||
// Close window: exit
|
||||
if (event.type == sf::Event::Closed) {
|
||||
window.close();
|
||||
}
|
||||
|
||||
// Escape pressed : exit
|
||||
// Escape pressed: exit
|
||||
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
|
||||
window.close();
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// This code will work only if you selected window, graphics and audio.
|
||||
//
|
||||
// In order to load the resources like cute_image.png, you have to set up
|
||||
// your target scheme :
|
||||
// your target scheme:
|
||||
//
|
||||
// - Select "Edit Scheme…" in the "Product" menu;
|
||||
// - Check the box "use custom working directory";
|
||||
|
@ -61,12 +61,12 @@ int main(int argc, char const** argv)
|
|||
sf::Event event;
|
||||
while (window.pollEvent(event))
|
||||
{
|
||||
// Close window : exit
|
||||
// Close window: exit
|
||||
if (event.type == sf::Event::Closed) {
|
||||
window.close();
|
||||
}
|
||||
|
||||
// Escape pressed : exit
|
||||
// Escape pressed: exit
|
||||
if (event.type == sf::Event::KeyPressed && event.key.code == sf::Keyboard::Escape) {
|
||||
window.close();
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ You can find more resources and information on the official web site: http://www
|
|||
Author & License
|
||||
----------------
|
||||
|
||||
The templates were written by Marco Antognini <antognini.marco@gmail.com> and are provided under the terms of the zlib/png license : http://opensource.org/licenses/zlib-license.php
|
||||
The templates were written by Marco Antognini <antognini.marco@gmail.com> and are provided under the terms of the zlib/png license: http://opensource.org/licenses/zlib-license.php
|
||||
|
||||
|
||||
|
||||
|
@ -56,7 +56,7 @@ If you are building SFML from sources you can set CMake's INSTALL_XCODE_TEMPLATE
|
|||
Usage
|
||||
-----
|
||||
|
||||
To use these templates follow these steps :
|
||||
To use these templates follow these steps:
|
||||
|
||||
1. open Xcode,
|
||||
2. select "create a new Xcode project" from the "Welcome to Xcode" window or select menus File > New > New Project,
|
||||
|
@ -64,7 +64,7 @@ To use these templates follow these steps :
|
|||
4. then select either "SFML App", if you want an application bundle, or "SFML CLT", if you prefer a classic Unix executable,
|
||||
5. fill in the requested information and you're ready to go !
|
||||
|
||||
Note : some settings are marked as "[ADVANCED]" in the wizard. If you're not sure what they are, simply keep the default settings. If you get errors later you would probably want to explore their meaning.
|
||||
Note: some settings are marked as "[ADVANCED]" in the wizard. If you're not sure what they are, simply keep the default settings. If you get errors later you would probably want to explore their meaning.
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue