Background "music" for Urban Runner, though only 8bit for now

svn-id: r35352
This commit is contained in:
Sven Hesse 2008-12-14 03:44:39 +00:00
parent bbe6ff006e
commit 68dcb1ffee
8 changed files with 73 additions and 30 deletions

View file

@ -686,10 +686,11 @@ void Inter_v6::o6_playVmdOrMusic() {
if (lastFrame == -1) {
close = true;
} else if (lastFrame == -5) {
warning("Urban Stub: Stopping background music \"%s\"", fileName);
_vm->_sound->bgStop();
return;
} else if (lastFrame == -9) {
warning("Urban Stub: Starting background music \"%s\"", fileName);
_vm->_sound->bgStop();
_vm->_sound->bgPlay(fileName, SOUND_WAV);
return;
} else if (lastFrame == -10) {
_vm->_vidPlayer->primaryClose();