[Scummvm-cvs-logs] CVS: tools descumm3.cpp,1.19,1.20

Max Horn fingolfin at users.sourceforge.net
Tue Mar 18 08:34:06 CET 2003


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

Modified Files:
	descumm3.cpp 
Log Message:
some tweaks for Indy3

Index: descumm3.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm3.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- descumm3.cpp	9 Mar 2003 17:16:55 -0000	1.19
+++ descumm3.cpp	18 Mar 2003 16:33:27 -0000	1.20
@@ -563,6 +563,9 @@
 		opcode = (opcode & 0xE0) | convertTable[(opcode & 0x1F) - 1];
 
 		switch (opcode & 0x1F) {
+		case 0x00:
+			buf = do_tok(buf, "Unknown", ((opcode & 0x80) ? A1V : A1B));
+			break;
 		case 0x01:
 			buf = do_tok(buf, "Costume", ((opcode & 0x80) ? A1V : A1B));
 			break;
@@ -631,7 +634,9 @@
 		case 0x16:
 			buf = do_tok(buf, "AnimSpeed", ((opcode & 0x80) ? A1V : A1B));
 			break;
-//    case 0x17: buf=do_tok(buf, "SetAD8", ((opcode&0x80)?A1V:A1B)); break;
+		case 0x17:
+			buf=do_tok(buf, "ShadowMode", ((opcode & 0x80) ? A1V : A1B));
+			break;
 		default:
 			buf += sprintf(buf, "Unknown%.2X()", opcode);
 		}
@@ -1649,9 +1654,15 @@
 	case 0xF1:
 		do_tok(buf, "getActorCostume", AVARSTORE | ((opcode & 0x80) ? A1V : A1B));
 		break;
+
 	case 0x3B:
-		do_tok(buf, "WaitForActor", ((opcode & 0x80) ? A1V : A1B));
+	case 0xBB:
+		if (gameFlag == 1)
+			do_tok(buf, "WaitForActor", ((opcode & 0x80) ? A1V : A1B));
+		else
+			do_tok(buf, "getActorScale", AVARSTORE | ((opcode & 0x80) ? A1V : A1B));
 		break;
+
 	case 0xAE:{
 			byte opcode;
 			if (gameFlag == 1)
@@ -2116,7 +2127,7 @@
 			while (*s) {
 				switch (tolower(*s)) {
 				case '3':
-					gameFlag = 1;
+					gameFlag = 1; // Indy3
 					break;
 				case 'o':
 					AlwaysShowOffs = 1;





More information about the Scummvm-git-logs mailing list