* Fixed title music to play on html5
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1602 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
35c284b014
commit
a3aece1f5d
1 changed files with 9 additions and 0 deletions
|
@ -12,7 +12,16 @@
|
||||||
|
|
||||||
void PlayMenuMusic()
|
void PlayMenuMusic()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef PLATFORM_HTML5
|
||||||
|
//hacking this in for now, figure out how to consolidate file types between all platforms later. I mean, mp3 was a legal problem
|
||||||
|
//previously but now it's ok. But not sure if native android build can play them or not. Does the android build even use FMOD? Can't recall
|
||||||
|
GetAudioManager()->Play("dink/sound/3.mp3", true, true, true);
|
||||||
|
|
||||||
|
#else
|
||||||
GetAudioManager()->Play("dink/sound/3.ogg", true, true, true);
|
GetAudioManager()->Play("dink/sound/3.ogg", true, true, true);
|
||||||
|
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Entity * DinkQuitGame()
|
Entity * DinkQuitGame()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue