diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-08 00:38:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-08 00:38:33 +0300 |
commit | a4c27efaf039707e29784ae8f828bdd93a5b2935 (patch) | |
tree | 5eb1e41f9d8e692ef8e0f9bdff45c3e2ef00dd69 /src/soundmanager.cpp | |
parent | 524679ca67f977ebadb143205d5c45f798827e67 (diff) | |
download | manaverse-a4c27efaf039707e29784ae8f828bdd93a5b2935.tar.gz manaverse-a4c27efaf039707e29784ae8f828bdd93a5b2935.tar.bz2 manaverse-a4c27efaf039707e29784ae8f828bdd93a5b2935.tar.xz manaverse-a4c27efaf039707e29784ae8f828bdd93a5b2935.zip |
Fix code style.
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r-- | src/soundmanager.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp index 9a3bc3185..d1a6a5d74 100644 --- a/src/soundmanager.cpp +++ b/src/soundmanager.cpp @@ -105,7 +105,8 @@ void SoundManager::init() if (SDL_InitSubSystem(SDL_INIT_AUDIO) == -1) { - logger->log1("SoundManager::init() Failed to initialize audio subsystem"); + logger->log1("SoundManager::init() Failed to " + "initialize audio subsystem"); return; } @@ -277,7 +278,8 @@ void SoundManager::fadeOutMusic(const int ms) } } -void SoundManager::fadeOutAndPlayMusic(const std::string &fileName, const int ms) +void SoundManager::fadeOutAndPlayMusic(const std::string &fileName, + const int ms) { mNextMusicFile = fileName; fadeOutMusic(ms); @@ -304,7 +306,8 @@ void SoundManager::logic() BLOCK_END("SoundManager::logic") } -void SoundManager::playSfx(const std::string &path, const int x, const int y) const +void SoundManager::playSfx(const std::string &path, + const int x, const int y) const { if (!mInstalled || path.empty() || !mPlayBattle) return; |