[Scummvm-cvs-logs] SF.net SVN: scummvm:[55544] scummvm/trunk/engines/gob

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Wed Jan 26 20:01:44 CET 2011


Revision: 55544
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55544&view=rev
Author:   drmccoy
Date:     2011-01-26 19:01:42 +0000 (Wed, 26 Jan 2011)

Log Message:
-----------
GOB: o7_draw0x93 is o7_setVolume

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter.h
    scummvm/trunk/engines/gob/inter_v7.cpp

Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h	2011-01-26 18:40:28 UTC (rev 55543)
+++ scummvm/trunk/engines/gob/inter.h	2011-01-26 19:01:42 UTC (rev 55544)
@@ -603,7 +603,7 @@
 	void o7_findFile();
 	void o7_getSystemProperty();
 	void o7_loadLBM();
-	void o7_draw0x93();
+	void o7_setVolume();
 	void o7_zeroVar();
 	void o7_getINIValue();
 	void o7_setINIValue();

Modified: scummvm/trunk/engines/gob/inter_v7.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-26 18:40:28 UTC (rev 55543)
+++ scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-26 19:01:42 UTC (rev 55544)
@@ -55,7 +55,7 @@
 	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 @@
 			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() {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list