git repos / blockattack-game

commit d3dae16b

sago007 · 2020-09-15 18:13
d3dae16b4ac3cc30b76124bf2e37c753efac5b1d patch · browse files
parent 84b6e37412e6358141e442d2a92f99f88e7569a5

Auto format

Changed files

M source/code/main.cpp before
diff --git a/source/code/main.cpp b/source/code/main.cpp index 492ec6b..83dc0ba 100644 --- a/source/code/main.cpp +++ b/source/code/main.cpp
@@ -897,8 +897,8 @@ static void ParseArguments(int argc, char* argv[], globalConfig& conf) {
}
if (vm.count("help")) {
std::cout << SPrintStringF("Block Attack - Rise of the blocks %s\n\n"
- "Block Attack - Rise of the Blocks is a puzzle/blockfall game inspired by Tetris Attack for the SNES.\n\n"
- "%s\n\n", VERSION_NUMBER, "www.blockattack.net");
+ "Block Attack - Rise of the Blocks is a puzzle/blockfall game inspired by Tetris Attack for the SNES.\n\n"
+ "%s\n\n", VERSION_NUMBER, "www.blockattack.net");
std::cout << "Usage: "<< commandname << " [OPTION]..." << "\n";
std::cout << desc << "\n";
std::cout << "Examples:" << "\n";
@@ -1011,7 +1011,7 @@ int main(int argc, char* argv[]) {
//If sound has not been disabled, then load the sound system
if (Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 2048) < 0) {
std::cerr << "Warning: Couldn't set 44100 Hz 16-bit audio - Reason: " << SDL_GetError() << "\n"
- << "Sound will be disabled!" << "\n";
+ << "Sound will be disabled!" << "\n";
globalData.NoSound = true; //Tries to stop all sound from playing/loading
}
}
@@ -1020,8 +1020,8 @@ int main(int argc, char* argv[]) {
if (globalData.verboseLevel) {
//Copyright notice:
std::cout << "Block Attack - Rise of the Blocks (" << VERSION_NUMBER << ")" << "\n" << "http://www.blockattack.net" << "\n" << "Copyright 2004-2016 Poul Sander" << "\n" <<
- "A SDL2 based game (see www.libsdl.org)" << "\n" <<
- "The game is available under the GPL, see COPYING for details." << "\n";
+ "A SDL2 based game (see www.libsdl.org)" << "\n" <<
+ "The game is available under the GPL, see COPYING for details." << "\n";
std::cout << "-------------------------------------------" << "\n";
}