[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6he.cpp,2.103,2.104

Travis Howell kirben at users.sourceforge.net
Mon Aug 30 00:54:00 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9031/scumm

Modified Files:
	script_v6he.cpp 
Log Message:

Add some more actor code for HE 7+ games.


Index: script_v6he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6he.cpp,v
retrieving revision 2.103
retrieving revision 2.104
diff -u -d -r2.103 -r2.104
--- script_v6he.cpp	30 Aug 2004 03:32:10 -0000	2.103
+++ script_v6he.cpp	30 Aug 2004 07:52:54 -0000	2.104
@@ -565,6 +565,10 @@
 		return;
 
 	switch (b) {
+	case 21:
+		// HE 7.3 (Pajama Sam onwards)
+		k = getStackList(args, ARRAYSIZE(args));
+		break;
 	case 30:
 		// _heversion >= 70
 		l = pop();
@@ -714,10 +718,15 @@
 		a->needBgReset = true;
 		break;
 	case 225:
-		i = pop(); // talkie slot
-		resStrLen(_scriptPointer);
+		{
+		byte string[256];
+		copyScriptString(string);
+		_actorToPrintStrFor = pop();
+		_string[0].loadDefault();
+		actorTalk(string);
 		warning("o6_actorOps: stub case %d", b);
 		break;
+		}
 	default:
 		error("o6_actorOps: default case %d", b);
 	}





More information about the Scummvm-git-logs mailing list