Removed Grey Sector. Changed random music selection to always see all of them.

This commit is contained in:
onpon4 2015-02-26 22:30:26 -05:00
parent 3d28058027
commit 93d6195a31
3 changed files with 3 additions and 19 deletions

Binary file not shown.

View File

@ -7,9 +7,6 @@ through_space.ogg
http://opengameart.org/content/railjet-qubodup-short-cut-loop http://opengameart.org/content/railjet-qubodup-short-cut-loop
railjet_short.ogg railjet_short.ogg
http://opengameart.org/content/grey-sector-8-bit
grey_sector.ogg
http://opengameart.org/content/space-dimensions-8bitretro-version http://opengameart.org/content/space-dimensions-8bitretro-version
space_dimensions.ogg space_dimensions.ogg

View File

@ -101,25 +101,12 @@ void playRandomTrack()
if ((!engine.useMusic) || (!engine.useAudio)) if ((!engine.useMusic) || (!engine.useAudio))
return; return;
int tracks = 0; int tracks = 3;
char track[][64] = { char track[][64] = {
"music/railjet_short.ogg", "music/grey_sector.ogg", "music/railjet_short.ogg", "music/space_dimensions.ogg",
"music/space_dimensions.ogg", "music/frozen_jam.ogg" "music/frozen_jam.ogg"
}; };
switch(currentGame.system)
{
case 0:
case 1:
tracks = 2;
break;
case 2:
case 3:
tracks = 4;
break;
}
switch(currentGame.area) switch(currentGame.area)
{ {
case 5: case 5: