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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue