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/script_v3.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/script_v3.cpp')
-rw-r--r-- | engines/kyra/script_v3.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/script_v3.cpp b/engines/kyra/script_v3.cpp index a2f5c28978..c15a49b89a 100644 --- a/engines/kyra/script_v3.cpp +++ b/engines/kyra/script_v3.cpp @@ -885,15 +885,15 @@ int KyraEngine_v3::o3_stopMusic(ScriptState *script) { return 0; } -int KyraEngine_v3::o3_playMusicTrack(ScriptState *script) { - debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v3::o3_playMusicTrack(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1)); - playMusicTrack(stackPos(0), stackPos(1)); +int KyraEngine_v3::o3_playWanderScoreViaMap(ScriptState *script) { + debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v3::o3_playWanderScoreViaMap(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1)); + snd_playWanderScoreViaMap(stackPos(0), stackPos(1)); return 0; } int KyraEngine_v3::o3_playSoundEffect(ScriptState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v3::o3_playSoundEffect(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1)); - playSoundEffect(stackPos(0), stackPos(1)); + snd_playSoundEffect(stackPos(0), stackPos(1)); return 0; } @@ -1552,7 +1552,7 @@ void KyraEngine_v3::setupOpcodeTable() { Opcode(o3_setMalcolmPos); Opcode(o3_stopMusic); // 0x58 - Opcode(o3_playMusicTrack); + Opcode(o3_playWanderScoreViaMap); Opcode(o3_playSoundEffect); Opcode(o3_getScore); OpcodeUnImpl(); |