Added Sound and Silence music track.

Also made the first mission always play the same music.
This commit is contained in:
onpon4 2015-03-03 01:08:47 -05:00
parent 1f2ef8ac50
commit 87f67e02fa
3 changed files with 13 additions and 2 deletions

View File

@ -569,6 +569,14 @@ Changes: Amplified -1 dB with Audacity
------------------------------------------------------------------------ ------------------------------------------------------------------------
music/sound_and_silence.ogg
Author: JunglistMilitia <http://sampleswap.org/profile.php?mode=viewprofile&u=57802&sid=d08796b3d86eaf235bc1a460d5869b37>
License: CC BY-SA 3.0 <http://creativecommons.org/licenses/by-sa/3.0/>
Source: http://opengameart.org/content/sound-silence
------------------------------------------------------------------------
music/orbital_colossus.ogg music/orbital_colossus.ogg
Author: matthew.pablo <http://opengameart.org/users/matthewpablo> Author: matthew.pablo <http://opengameart.org/users/matthewpablo>

BIN
music/sound_and_silence.ogg Normal file

Binary file not shown.

View File

@ -103,14 +103,17 @@ void playRandomTrack()
if ((!engine.useMusic) || (!engine.useAudio)) if ((!engine.useMusic) || (!engine.useAudio))
return; return;
int tracks = 3; int tracks = 4;
char track[][64] = { char track[][64] = {
"music/railjet_short.ogg", "music/space_dimensions.ogg", "music/railjet_short.ogg", "music/space_dimensions.ogg",
"music/frozen_jam.ogg" "music/frozen_jam.ogg", "music/sound_and_silence.ogg"
}; };
switch(currentGame.area) switch(currentGame.area)
{ {
case 0:
loadMusic("music/railjet_short.ogg");
break;
case 5: case 5:
case 11: case 11:
case 18: case 18: