commit 52d32b6e
Added new music and made it play at half volume to prevent it from being as annoying as the old music
git-svn-id: https://blockattack.svn.sourceforge.net/svnroot/blockattack/trunk@72 9d7177f8-192b-0410-8f35-a16a89829b06
Changed files
| A | Game/music/bgMusic.ogg |
| M | source/AUTH before |
| M | source/code/main.cpp before |
diff --git a/Game/music/bgMusic.ogg b/Game/music/bgMusic.ogg
new file mode 100644
index 0000000..562b4bb
Binary files /dev/null and b/Game/music/bgMusic.ogg differ
diff --git a/source/AUTH b/source/AUTH
index 0fb9546..ece7723 100644
--- a/source/AUTH
+++ b/source/AUTH
@@ -135,7 +135,8 @@ typing.ogg openarena-svn887:/sound/world/clack.wav
counter.ogg openarena-svn900:/sound/feedback/hitlo.wav
counterFinal.ogg openarena-svn900:/sound/feedback/hit.wav
-
+/music/
+bgMusic.ogg Trackballs team (http://trackballs.sourceforge.net/) v 1.2 (GPL2)
diff --git a/source/code/main.cpp b/source/code/main.cpp
index 8ae1eec..d062ed7 100644
--- a/source/code/main.cpp
+++ b/source/code/main.cpp
@@ -4766,6 +4766,7 @@ int main(int argc, char *argv[])
if ((!NoSound)&&(!Mix_PlayingMusic())&&(MusicEnabled))
{
// then starts playing it.
+ Mix_VolumeMusic(MIX_MAX_VOLUME/2);
Mix_PlayMusic(bgMusic, 0); //music loop
}