diff options
author | Johannes Schickel | 2008-04-29 14:08:08 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-29 14:08:08 +0000 |
commit | a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514 (patch) | |
tree | 73ddca6e8bdd4c86dac9299b991117fa5d1fa442 /engines/kyra/sound_v1.cpp | |
parent | de1da38e901ceadc304f01b11b8b41cac077a032 (diff) | |
download | scummvm-rg350-a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514.tar.gz scummvm-rg350-a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514.tar.bz2 scummvm-rg350-a55d13e0a3ee8bbb6ee24c7d8ee017c92e58b514.zip |
- Added volume param to KyraEngine::snd_playSoundEffect (0xFF per default as in original)
- Renamed KyraEngine_v3::playSoundEffect to KyraEngine_v3::snd_playSoundEffect
- Renamed KyraEngine_v3::playMusicTrack to KyraEngine_v3::snd_playWanderScoreViaMap
- Renamed KyraEngine_v3::o3_playMusicTrack to KyraEngine_v3::o3_playWanderScoreViaMap
svn-id: r31770
Diffstat (limited to 'engines/kyra/sound_v1.cpp')
-rw-r--r-- | engines/kyra/sound_v1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_v1.cpp b/engines/kyra/sound_v1.cpp index 9cb135983d..8293eb7508 100644 --- a/engines/kyra/sound_v1.cpp +++ b/engines/kyra/sound_v1.cpp @@ -28,8 +28,8 @@ namespace Kyra { -void KyraEngine_v1::snd_playSoundEffect(int track) { - debugC(9, kDebugLevelMain | kDebugLevelSound, "KyraEngine_v1::snd_playSoundEffect(%d)", track); +void KyraEngine_v1::snd_playSoundEffect(int track, int volume) { + debugC(9, kDebugLevelMain | kDebugLevelSound, "KyraEngine_v1::snd_playSoundEffect(%d, %d)", track, volume); if ((_flags.platform == Common::kPlatformFMTowns || _flags.platform == Common::kPlatformPC98) && track == 49) { snd_playWanderScoreViaMap(56, 1); return; |