diff options
author | Paul Gilbert | 2017-01-29 22:36:12 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-01-29 22:36:12 -0500 |
commit | 9059779b9d214ffd380370fc309d707d10d7440d (patch) | |
tree | 37b8a282feaaa48800056aade8cf8ad1ae35c79d /engines/titanic/sound/music_player.cpp | |
parent | 1948b62a80f056050f94c8a56f00de58f42394b2 (diff) | |
download | scummvm-rg350-9059779b9d214ffd380370fc309d707d10d7440d.tar.gz scummvm-rg350-9059779b9d214ffd380370fc309d707d10d7440d.tar.bz2 scummvm-rg350-9059779b9d214ffd380370fc309d707d10d7440d.zip |
TITANIC: Implementing initialization and trigger for CMusicWave
Diffstat (limited to 'engines/titanic/sound/music_player.cpp')
-rw-r--r-- | engines/titanic/sound/music_player.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/sound/music_player.cpp b/engines/titanic/sound/music_player.cpp index a6a791f96e..1f8a847cd2 100644 --- a/engines/titanic/sound/music_player.cpp +++ b/engines/titanic/sound/music_player.cpp @@ -130,26 +130,26 @@ bool CMusicPlayer::CreateMusicPlayerMsg(CCreateMusicPlayerMsg *msg) { CMusicWave *wave; if (musicHandler) { - wave = musicHandler->createMusicWave(0, 3); + wave = musicHandler->createMusicWave(BELLS, 3); wave->load(0, "z#490.wav", 60); wave->load(1, "z#488.wav", 62); wave->load(2, "z#489.wav", 63); - wave = musicHandler->createMusicWave(1, 5); + wave = musicHandler->createMusicWave(SNAKE, 5); wave->load(0, "z#493.wav", 22); wave->load(1, "z#495.wav", 29); wave->load(2, "z#492.wav", 34); wave->load(3, "z#494.wav", 41); wave->load(4, "z#491.wav", 46); - wave = musicHandler->createMusicWave(2, 5); + wave = musicHandler->createMusicWave(PIANO, 5); wave->load(0, "z#499.wav", 26); wave->load(1, "z#497.wav", 34); wave->load(2, "z#498.wav", 38); wave->load(3, "z#496.wav", 46); wave->load(4, "z#500.wav", 60); - wave = musicHandler->createMusicWave(3, 7); + wave = musicHandler->createMusicWave(BASS, 7); wave->load(0, "z#504.wav", 22); wave->load(1, "z#507.wav", 29); wave->load(2, "z#503.wav", 34); |