[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.100,2.101 script_v8.cpp,2.184,2.185

Max Horn fingolfin at users.sourceforge.net
Mon Jul 14 15:22:05 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv16045

Modified Files:
	intern.h script_v8.cpp 
Log Message:
reduced duplicate code

Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.100
retrieving revision 2.101
diff -u -d -r2.100 -r2.101
--- intern.h	14 Jul 2003 19:57:44 -0000	2.100
+++ intern.h	14 Jul 2003 22:21:11 -0000	2.101
@@ -578,7 +578,6 @@
 	void o8_cameraOps();
 	void o8_verbOps();
 	
-	void o8_soundKludge();
 	void o8_system();
 	void o8_startVideo();
 	void o8_kernelSetFunctions();

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.184
retrieving revision 2.185
diff -u -d -r2.184 -r2.185
--- script_v8.cpp	14 Jul 2003 21:37:45 -0000	2.184
+++ script_v8.cpp	14 Jul 2003 22:21:11 -0000	2.185
@@ -261,7 +261,7 @@
 		/* B0 */
 		OPCODE(o6_startMusic),
 		OPCODE(o6_stopSound),
-		OPCODE(o8_soundKludge),
+		OPCODE(o6_soundKludge),
 		OPCODE(o8_system),
 		/* B4 */
 		OPCODE(o6_saveRestoreVerbs),
@@ -1232,13 +1232,6 @@
 	default:
 		error("o8_verbops: default case 0x%x", subOp);
 	}
-}
-
-void Scumm_v8::o8_soundKludge() {
-	int args[16];
-	int num = getStackList(args, ARRAYSIZE(args));
-
-	_sound->soundKludge(args, num);
 }
 
 void Scumm_v8::o8_system() {





More information about the Scummvm-git-logs mailing list