From e5f9eb30d36768352ebd677a0809bf30572e2053 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 26 Jan 2011 19:01:42 +0000 Subject: GOB: o7_draw0x93 is o7_setVolume svn-id: r55544 --- engines/gob/inter.h | 2 +- engines/gob/inter_v7.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/gob') 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() { -- cgit v1.2.3