[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.115,2.116 scumm.h,1.131,1.132

James Brown ender at users.sourceforge.net
Wed Jan 15 05:30:01 CET 2003


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

Modified Files:
	script_v8.cpp scumm.h 
Log Message:
Hack to make Part III start


Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.115
retrieving revision 2.116
diff -u -d -r2.115 -r2.116
--- script_v8.cpp	14 Jan 2003 11:59:39 -0000	2.115
+++ script_v8.cpp	15 Jan 2003 13:29:00 -0000	2.116
@@ -1530,13 +1530,15 @@
 			push(0);
 		}
 		break;
+	case 0xE1:		// imGetMusicPosition
+		warning("o8_kernelGetFunctions: imGetMusicPosition(stub)\n");
+		push(0xFFFFF);
+		break;
 	case 0xE2:		// musicLipSyncWidth
 	case 0xE3:		// musicLipSyncHeight
 		// TODO - get lip sync data for the currently active music
-		// FIXME: These are needed for the song intro to Part III - the scene will freeze
-		// without them.
-		warning("o8_kernelGetFunctions: default case 0x%x (len = %d)", args[0], len);
-		push(255);
+		//warning("o8_kernelGetFunctions: musicLipSync(case 0x%x, len = %d)", args[0], len);
+		push(_rnd.getRandomNumber(255));
 		break;
 	default:
 		error("o8_kernelGetFunctions: default case 0x%x (len = %d)", args[0], len);

Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -d -r1.131 -r1.132
--- scumm.h	14 Jan 2003 10:05:41 -0000	1.131
+++ scumm.h	15 Jan 2003 13:29:00 -0000	1.132
@@ -254,7 +254,7 @@
 		byte cutSceneStackPointer;
 		ScriptSlot slot[NUM_SCRIPT_SLOT];
 		NestedScript nest[15];
-		int16 localvar[NUM_SCRIPT_SLOT][17];
+		int32 localvar[NUM_SCRIPT_SLOT][17];
 	} vm;
 
 	struct {





More information about the Scummvm-git-logs mailing list