diff options
author | Sven Hesse | 2011-01-26 19:01:42 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-26 19:01:42 +0000 |
commit | e5f9eb30d36768352ebd677a0809bf30572e2053 (patch) | |
tree | 569f216a976770eecdc479dd2c67ad7222240821 /engines/gob | |
parent | b13d6026c76ff0147de44630bf5659f8d97d6ccd (diff) | |
download | scummvm-rg350-e5f9eb30d36768352ebd677a0809bf30572e2053.tar.gz scummvm-rg350-e5f9eb30d36768352ebd677a0809bf30572e2053.tar.bz2 scummvm-rg350-e5f9eb30d36768352ebd677a0809bf30572e2053.zip |
GOB: o7_draw0x93 is o7_setVolume
svn-id: r55544
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/inter.h | 2 | ||||
-rw-r--r-- | engines/gob/inter_v7.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h index 1c1bda8cd3..cafa1e1218 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -603,7 +603,7 @@ protected: void o7_findFile(); void o7_getSystemProperty(); void o7_loadLBM(); - void o7_draw0x93(); + void o7_setVolume(); void o7_zeroVar(); void o7_getINIValue(); void o7_setINIValue(); diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp index 7eafce9f81..a1b06c42ec 100644 --- a/engines/gob/inter_v7.cpp +++ b/engines/gob/inter_v7.cpp @@ -55,7 +55,7 @@ void Inter_v7::setupOpcodesDraw() { OPCODEDRAW(0x8A, o7_findFile); OPCODEDRAW(0x8C, o7_getSystemProperty); OPCODEDRAW(0x90, o7_loadLBM); - OPCODEDRAW(0x93, o7_draw0x93); + OPCODEDRAW(0x93, o7_setVolume); OPCODEDRAW(0x95, o7_zeroVar); OPCODEDRAW(0xA1, o7_getINIValue); OPCODEDRAW(0xA2, o7_setINIValue); @@ -208,10 +208,10 @@ void Inter_v7::o7_loadLBM() { file.c_str(), spriteIndex, width, height, left, top, x, y, transp); } -void Inter_v7::o7_draw0x93() { - uint32 expr0 = _vm->_game->_script->readValExpr(); +void Inter_v7::o7_setVolume() { + uint32 volume = _vm->_game->_script->readValExpr(); - warning("Addy Stub Draw 0x93: %d", expr0); + warning("Addy Stub: Set volume %d (0 - 100)", volume); } void Inter_v7::o7_zeroVar() { |