[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.48,1.49

Max Horn fingolfin at users.sourceforge.net
Wed May 21 14:25:07 CEST 2003


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv1165

Modified Files:
	descumm.cpp 
Log Message:
begin/end override

Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- descumm.cpp	20 May 2003 16:14:13 -0000	1.48
+++ descumm.cpp	21 May 2003 20:55:05 -0000	1.49
@@ -2660,7 +2660,7 @@
 			d = get_byte();
 			d |= get_byte() << 8;
 			d |= get_byte() << 16;
-			sprintf(buf, "Delay(%d);", d);
+			sprintf(buf, "delay(%d)", d);
 			break;
 		}
 
@@ -2676,12 +2676,15 @@
 		do_tok(buf, "actorFollowCamera", ((opcode & 0x80) ? A1V : A1B));
 		break;
 
-	case 0x58:
-		if (!cur_pos)
-			do_tok(buf, "StopOverride", A1B | A2B | A3W);
-		else
-			do_tok(buf, "Override", A1B);
-		break;
+	case 0x58:{
+			int d;
+			d = get_byte();
+			if (d != 0)
+				sprintf(buf, "beginOverride");
+			else
+				sprintf(buf, "endOverride");
+			break;
+		}
 
 	case 0x1C:
 	case 0x9C:





More information about the Scummvm-git-logs mailing list