Example #1
0
//------------------------------------------------------------------------------
//goto the previous level song
void SongsGotoPrevSong ()
{
if (gameStates.sound.bRedbookPlaying) 		//get correct track
	nCurrentLevelSong = RBAGetTrackNum () - REDBOOK_FIRST_LEVEL_TRACK + 1;
if (nCurrentLevelSong > 1)
	PlayLevelSong(nCurrentLevelSong - 1, 0);
}
Example #2
0
File: songs.c Project: paud/d2x-xl
//goto the next level song
void songs_goto_next_song()
{
	if (gameStates.sound.bRedbookPlaying) 		//get correct track
		nCurrentLevelSong = RBAGetTrackNum() - REDBOOK_FIRST_LEVEL_TRACK + 1;

	PlayLevelSong(nCurrentLevelSong+1);

}
Example #3
0
//goto the next level song
void songs_goto_next_song()
{
	if (Redbook_playing) 		//get correct track
		current_song_level = RBAGetTrackNum() - REDBOOK_FIRST_LEVEL_TRACK + 1;
#ifdef USE_SDLMIXER
	else if (GameCfg.JukeboxOn)
	{
		jukebox_next();
		return;
	}
#endif
	
	songs_play_level_song(current_song_level+1);
	
}