IsMusicVoxAvailable()
Returns whether the MUSIC.VOX file is being used by the game.
This could be useful if you have an optional MP3 download pack, and
you want to know whether the player has it or not.
Returns 1 if the MP3/OGG music files are available, 0 if not.
NOTE: This function ONLY deals with the MUSIC.VOX file. If you have
bundled MP3 files separately in the game directory, they will still be played
by the game, but this function will not return 1 if they are there.
Example:
if (IsMusicVoxAvailable()==0)
Display ("You don't have the music pack");
will display a message if the music pack is not available.
See Also: IsSpeechVoxAvailable
|