Added Sound and Silence music track.
Also made the first mission always play the same music.
This commit is contained in:
parent
1f2ef8ac50
commit
87f67e02fa
8
LICENSES
8
LICENSES
|
@ -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>
|
||||||
|
|
Binary file not shown.
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue