diff options
author | Paweł Kołodziejski | 2008-01-15 21:35:03 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2008-01-15 21:35:03 +0000 |
commit | 6bb2f4447240bf3fe5fa16a8945ecd60866f2625 (patch) | |
tree | 3de3886de535bf438e04473da9bef0999ea0daa0 /engines/scumm/imuse_digi/dimuse_track.cpp | |
parent | 8935c574d547903b0c8d760d406873a3d8a36228 (diff) | |
download | scummvm-rg350-6bb2f4447240bf3fe5fa16a8945ecd60866f2625.tar.gz scummvm-rg350-6bb2f4447240bf3fe5fa16a8945ecd60866f2625.tar.bz2 scummvm-rg350-6bb2f4447240bf3fe5fa16a8945ecd60866f2625.zip |
implement dimuse transition 12, not tested yet
svn-id: r30503
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_track.cpp')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp index 98642b7d59..9176fdc696 100644 --- a/engines/scumm/imuse_digi/dimuse_track.cpp +++ b/engines/scumm/imuse_digi/dimuse_track.cpp @@ -322,6 +322,14 @@ void IMuseDigital::setHookIdForMusic(int hookId) { } } +void IMuseDigital::setTrigger(TriggerParams *trigger) { + Common::StackLock lock(_mutex, "IMuseDigital::setTrigger()"); + debug(5, "IMuseDigital::setTrigger"); + + memcpy(&_triggerParams, trigger, sizeof(TriggerParams)); + _triggerUsed = true; +} + IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDelay) { assert(track); Track *fadeTrack; |