equal
deleted
inserted
replaced
62 if (music < 0) { |
62 if (music < 0) { |
63 music = openal_loadfile(QString(datadir->absolutePath() + "/Music/main theme.ogg").toLocal8Bit().constData()); |
63 music = openal_loadfile(QString(datadir->absolutePath() + "/Music/main theme.ogg").toLocal8Bit().constData()); |
64 openal_toggleloop(music); |
64 openal_toggleloop(music); |
65 } |
65 } |
66 openal_setvolume(music, 60); |
66 openal_setvolume(music, 60); |
67 openal_fadein(music, 70); |
67 openal_fadein(music, 25); |
68 } |
68 } |
69 |
69 |
70 void SDLInteraction::StopMusic() |
70 void SDLInteraction::StopMusic() |
71 { |
71 { |
72 if (music >= 0) openal_fadeout(music, 70); |
72 if (music >= 0) openal_fadeout(music, 40); |
73 } |
73 } |