X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsound.h;h=e2d2054ae404fae4454885738b2fc9b4f93b9c56;hp=8eb344ef2e921dfae3d8ef554d86d77784740b04;hb=39fb4fecfb8d4647d3563bdb18ce0065f6129522;hpb=8d71e6fb8309bd90ce5f2900d84c686b17950492 diff --git a/src/libgame/sound.h b/src/libgame/sound.h index 8eb344ef..e2d2054a 100644 --- a/src/libgame/sound.h +++ b/src/libgame/sound.h @@ -60,7 +60,8 @@ #define SND_CTRL_PLAY_SOUND (SND_CTRL_NONE) #define SND_CTRL_PLAY_LOOP (SND_CTRL_LOOP) -#define SND_CTRL_PLAY_MUSIC (SND_CTRL_LOOP | SND_CTRL_MUSIC) +#define SND_CTRL_PLAY_MUSIC (SND_CTRL_MUSIC) +#define SND_CTRL_PLAY_MUSIC_LOOP (SND_CTRL_MUSIC | SND_CTRL_LOOP) #define SND_CTRL_FADE_SOUND (SND_CTRL_FADE) #define SND_CTRL_FADE_MUSIC (SND_CTRL_FADE | SND_CTRL_MUSIC) @@ -102,10 +103,12 @@ void StartMixer(void); /* sound client functions */ void PlayMusic(int); +void PlayMusicLoop(int); void PlaySound(int); void PlaySoundStereo(int, int); void PlaySoundLoop(int); void PlaySoundMusic(int); +void PlaySoundMusicLoop(int); void PlaySoundExt(int, int, int, int); void FadeMusic(void); void FadeSound(int); @@ -121,6 +124,7 @@ int getSoundListSize(); int getMusicListSize(); struct FileInfo *getSoundListEntry(int); struct FileInfo *getMusicListEntry(int); +char *getMusicInfoEntryFilename(int); char *getCurrentlyPlayingMusicFilename(); int getSoundListPropertyMappingSize(); int getMusicListPropertyMappingSize();